Documentation
¶
Overview ¶
Package p2p re-exports P2P types from the appropriate wire format implementation. Without grpc tag: uses ZAP wire format (zero protobuf) With grpc tag: uses protobuf wire format
Index ¶
- Constants
- Variables
- type Accepted
- type AcceptedFrontier
- type AcceptedStateSummary
- type Ancestors
- type BFT
- type BFT_BlockProposal
- type BFT_EmptyNotarization
- type BFT_EmptyVote
- type BFT_Finalization
- type BFT_FinalizeVote
- type BFT_Notarization
- type BFT_ReplicationRequest
- type BFT_ReplicationResponse
- type BFT_Vote
- type BlockProposal
- type BloomFilter
- type Chits
- type ClaimedIpPort
- type Client
- type EmptyNotarization
- type EmptyVote
- type EngineType
- type Error
- type Get
- type GetAccepted
- type GetAcceptedFrontier
- type GetAcceptedStateSummary
- type GetAncestors
- type GetPeerList
- type GetStateSummaryFrontier
- type Gossip
- type Handshake
- type Message
- type Message_AcceptedFrontier_
- type Message_AcceptedStateSummary_
- type Message_Accepted_
- type Message_Ancestors_
- type Message_BFT
- type Message_Chits
- type Message_CompressedZstd
- type Message_Error
- type Message_Get
- type Message_GetAccepted
- type Message_GetAcceptedFrontier
- type Message_GetAcceptedStateSummary
- type Message_GetAncestors
- type Message_GetPeerList
- type Message_GetStateSummaryFrontier
- type Message_Gossip
- type Message_Handshake
- type Message_PeerList_
- type Message_Ping
- type Message_Pong
- type Message_PullQuery
- type Message_PushQuery
- type Message_Put
- type Message_Request
- type Message_Response
- type Message_StateSummaryFrontier_
- type PeerList
- type Ping
- type Pong
- type PullQuery
- type PushQuery
- type Put
- type QuorumCertificate
- type ReplicationRequest
- type ReplicationResponse
- type Request
- type Response
- type StateSummaryFrontier
- type SubnetUptime
- type Vote
Constants ¶
const ( EngineType_ENGINE_TYPE_UNSPECIFIED = p2p.EngineType_ENGINE_TYPE_UNSPECIFIED EngineType_ENGINE_TYPE_CHAIN = p2p.EngineType_ENGINE_TYPE_CHAIN EngineType_ENGINE_TYPE_DAG = p2p.EngineType_ENGINE_TYPE_DAG )
Re-export constants
Variables ¶
Re-export codec functions
Functions ¶
This section is empty.
Types ¶
type AcceptedFrontier ¶
type AcceptedFrontier = p2p.AcceptedFrontier
Re-export all types from ZAP implementation
type AcceptedStateSummary ¶
type AcceptedStateSummary = p2p.AcceptedStateSummary
Re-export all types from ZAP implementation
type BFT_BlockProposal ¶
type BFT_BlockProposal = p2p.BFT_BlockProposal
Re-export all types from ZAP implementation
type BFT_EmptyNotarization ¶
type BFT_EmptyNotarization = p2p.BFT_EmptyNotarization
Re-export all types from ZAP implementation
type BFT_EmptyVote ¶
type BFT_EmptyVote = p2p.BFT_EmptyVote
Re-export all types from ZAP implementation
type BFT_Finalization ¶
type BFT_Finalization = p2p.BFT_Finalization
Re-export all types from ZAP implementation
type BFT_FinalizeVote ¶
type BFT_FinalizeVote = p2p.BFT_FinalizeVote
Re-export all types from ZAP implementation
type BFT_Notarization ¶
type BFT_Notarization = p2p.BFT_Notarization
Re-export all types from ZAP implementation
type BFT_ReplicationRequest ¶
type BFT_ReplicationRequest = p2p.BFT_ReplicationRequest
Re-export all types from ZAP implementation
type BFT_ReplicationResponse ¶
type BFT_ReplicationResponse = p2p.BFT_ReplicationResponse
Re-export all types from ZAP implementation
type BlockProposal ¶
type BlockProposal = p2p.BlockProposal
Re-export all types from ZAP implementation
type ClaimedIpPort ¶
type ClaimedIpPort = p2p.ClaimedIpPort
Re-export all types from ZAP implementation
type EmptyNotarization ¶
type EmptyNotarization = p2p.EmptyNotarization
Re-export all types from ZAP implementation
type GetAcceptedFrontier ¶
type GetAcceptedFrontier = p2p.GetAcceptedFrontier
Re-export all types from ZAP implementation
type GetAcceptedStateSummary ¶
type GetAcceptedStateSummary = p2p.GetAcceptedStateSummary
Re-export all types from ZAP implementation
type GetAncestors ¶
type GetAncestors = p2p.GetAncestors
Re-export all types from ZAP implementation
type GetStateSummaryFrontier ¶
type GetStateSummaryFrontier = p2p.GetStateSummaryFrontier
Re-export all types from ZAP implementation
type Message_AcceptedFrontier_ ¶
type Message_AcceptedFrontier_ = p2p.Message_AcceptedFrontier_
Re-export all types from ZAP implementation
type Message_AcceptedStateSummary_ ¶
type Message_AcceptedStateSummary_ = p2p.Message_AcceptedStateSummary_
Re-export all types from ZAP implementation
type Message_Accepted_ ¶
type Message_Accepted_ = p2p.Message_Accepted_
Re-export all types from ZAP implementation
type Message_Ancestors_ ¶
type Message_Ancestors_ = p2p.Message_Ancestors_
Re-export all types from ZAP implementation
type Message_BFT ¶ added in v1.23.4
type Message_BFT = p2p.Message_BFT
Re-export all types from ZAP implementation
type Message_Chits ¶
type Message_Chits = p2p.Message_Chits
Re-export all types from ZAP implementation
type Message_CompressedZstd ¶
type Message_CompressedZstd = p2p.Message_CompressedZstd
Re-export all types from ZAP implementation
type Message_Error ¶ added in v1.22.87
type Message_Error = p2p.Message_Error
Re-export all types from ZAP implementation
type Message_GetAccepted ¶
type Message_GetAccepted = p2p.Message_GetAccepted
Re-export all types from ZAP implementation
type Message_GetAcceptedFrontier ¶
type Message_GetAcceptedFrontier = p2p.Message_GetAcceptedFrontier
Re-export all types from ZAP implementation
type Message_GetAcceptedStateSummary ¶
type Message_GetAcceptedStateSummary = p2p.Message_GetAcceptedStateSummary
Re-export all types from ZAP implementation
type Message_GetAncestors ¶
type Message_GetAncestors = p2p.Message_GetAncestors
Re-export all types from ZAP implementation
type Message_GetPeerList ¶
type Message_GetPeerList = p2p.Message_GetPeerList
Re-export all types from ZAP implementation
type Message_GetStateSummaryFrontier ¶
type Message_GetStateSummaryFrontier = p2p.Message_GetStateSummaryFrontier
Re-export all types from ZAP implementation
type Message_Gossip ¶ added in v1.22.87
type Message_Gossip = p2p.Message_Gossip
Re-export all types from ZAP implementation
type Message_Handshake ¶
type Message_Handshake = p2p.Message_Handshake
Re-export all types from ZAP implementation
type Message_PeerList_ ¶
type Message_PeerList_ = p2p.Message_PeerList_
Re-export all types from ZAP implementation
type Message_Ping ¶
type Message_Ping = p2p.Message_Ping
Re-export all types from ZAP implementation
type Message_Pong ¶
type Message_Pong = p2p.Message_Pong
Re-export all types from ZAP implementation
type Message_PullQuery ¶
type Message_PullQuery = p2p.Message_PullQuery
Re-export all types from ZAP implementation
type Message_PushQuery ¶
type Message_PushQuery = p2p.Message_PushQuery
Re-export all types from ZAP implementation
type Message_Request ¶ added in v1.22.87
type Message_Request = p2p.Message_Request
Re-export all types from ZAP implementation
type Message_Response ¶ added in v1.22.87
type Message_Response = p2p.Message_Response
Re-export all types from ZAP implementation
type Message_StateSummaryFrontier_ ¶
type Message_StateSummaryFrontier_ = p2p.Message_StateSummaryFrontier_
Re-export all types from ZAP implementation
type QuorumCertificate ¶
type QuorumCertificate = p2p.QuorumCertificate
Re-export all types from ZAP implementation
type ReplicationRequest ¶
type ReplicationRequest = p2p.ReplicationRequest
Re-export all types from ZAP implementation
type ReplicationResponse ¶
type ReplicationResponse = p2p.ReplicationResponse
Re-export all types from ZAP implementation
type StateSummaryFrontier ¶
type StateSummaryFrontier = p2p.StateSummaryFrontier
Re-export all types from ZAP implementation
type SubnetUptime ¶
type SubnetUptime = p2p.SubnetUptime
Re-export all types from ZAP implementation