Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Give peers session key with cryptographic proof #212

Closed
joepetrowski opened this issue Apr 6, 2019 · 1 comment
Closed

Give peers session key with cryptographic proof #212

joepetrowski opened this issue Apr 6, 2019 · 1 comment

Comments

@joepetrowski
Copy link
Contributor

// Polkadot-specific messages.
#[derive(Debug, Encode, Decode)]
pub enum Message {
	/// As a validator, tell the peer your current session key.
	// TODO: do this with a cryptographic proof of some kind
	SessionKey(SessionKey),
	/// Requesting parachain block data by (relay_parent, candidate_hash).
	RequestBlockData(RequestId, Hash, Hash),
	/// Provide block data by candidate hash or nothing if unknown.
	BlockData(RequestId, Option<BlockData>),
	/// Tell a collator their role.
	CollatorRole(Role),
	/// A collation provided by a peer. Relay parent and collation.
	Collation(Hash, Collation),
}
@rphmeier
Copy link
Contributor

rphmeier commented Apr 7, 2019

Duplicate of #47

@rphmeier rphmeier marked this as a duplicate of #47 Apr 7, 2019
@rphmeier rphmeier closed this as completed Apr 7, 2019
imstar15 pushed a commit to imstar15/polkadot that referenced this issue Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants