Module sn_messaging::node [−][src]
Structs
DkgFailureSigned | |
DkgFailureSignedSet | |
DkgKey | Unique identified of a DKG session. |
ElderCandidates | The information about elder candidates in a DKG round. |
JoinRequest | Request to join a section |
MemberInfo | Information about a member of our section. |
Network | Container for storing information about other sections in the network. |
OtherSection | |
Peer | Network p2p peer identity.
When a node knows another p2p_node as a |
PlainMessage | Section-source message without signature and proof. |
PrefixMap | Container that acts as a map whose keys are prefixes. |
Proven | A value together with the signed that it was agreed on by the majority of the section elders. |
RelocateDetails | Details of a relocation: which node to relocate, where to relocate it to and what age it should get once relocated. |
RelocatePayload | |
RelocatePromise | |
ResourceProofResponse | Joining peer’s proof of resolvement of given resource proofing challenge. |
RoutingMsg | Routing message sent over the network. |
Section | |
SectionPeers | Container for storing information about members of our section. |
SignatureAggregator | Aggregator for signature shares for arbitrary payloads. |
Signed | Signed that a quorum of the section elders has agreed on something. |
SignedRelocateDetails | RoutingMsg with Variant::Relocate in a convenient wrapper. |
SignedShare | Single share of |
Enums
Error | Error returned from SignatureAggregator::add. |
JoinRejectionReason | Reason of a join request being rejected |
JoinResponse | Response to a request to join a section |
NodeCmd | |
NodeCmdError | |
NodeDataError | |
NodeDataQueryResponse | |
NodeEvent | |
NodeMsg | |
NodeQuery | |
NodeQueryResponse | |
NodeRewardQuery | Reward query that is sent between sections. |
NodeSystemCmd | Cmds related to the running of a node. |
NodeSystemQuery | |
NodeSystemQueryResponse | |
NodeTransferCmd | |
NodeTransferError | |
NodeTransferQuery | |
NodeTransferQueryResponse | |
PeerState | |
Proposal | |
SrcAuthority | Source authority of a message. Src of message and authority to send it. Authority is validated by the signature. Messages do not need to sign this field as it is all verifiable (i.e. if the sig validates agains the pub key and we know th epub key then we are good. If the proof is not recognised we ask for a longer chain that can be recognised). Therefore we don’t need to sign this field. |
Variant | Message variant |