Function polkadot_node_network_protocol::v1::declare_signature_payload[][src]

pub fn declare_signature_payload(peer_id: &PeerId) -> Vec<u8>
Expand description

Get the payload that should be signed and included in a Declare message.

The payload is the local peer id of the node, which serves to prove that it controls the collator key it is declaring an intention to collate under.