p2p

package
v1.23.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

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

View Source
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

View Source
var (
	Marshal   = p2p.Marshal
	Unmarshal = p2p.Unmarshal
	Size      = p2p.Size
)

Re-export codec functions

Functions

This section is empty.

Types

type Accepted

type Accepted = p2p.Accepted

Re-export all types from ZAP implementation

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 Ancestors

type Ancestors = p2p.Ancestors

Re-export all types from ZAP implementation

type BFT

type BFT = p2p.BFT

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 BFT_Vote

type BFT_Vote = p2p.BFT_Vote

Re-export all types from ZAP implementation

type BlockProposal

type BlockProposal = p2p.BlockProposal

Re-export all types from ZAP implementation

type BloomFilter

type BloomFilter = p2p.BloomFilter

Re-export all types from ZAP implementation

type Chits

type Chits = p2p.Chits

Re-export all types from ZAP implementation

type ClaimedIpPort

type ClaimedIpPort = p2p.ClaimedIpPort

Re-export all types from ZAP implementation

type Client

type Client = p2p.Client

Re-export all types from ZAP implementation

type EmptyNotarization

type EmptyNotarization = p2p.EmptyNotarization

Re-export all types from ZAP implementation

type EmptyVote

type EmptyVote = p2p.EmptyVote

Re-export all types from ZAP implementation

type EngineType

type EngineType = p2p.EngineType

Re-export all types from ZAP implementation

type Error added in v1.22.87

type Error = p2p.Error

Re-export all types from ZAP implementation

type Get

type Get = p2p.Get

Re-export all types from ZAP implementation

type GetAccepted

type GetAccepted = p2p.GetAccepted

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 GetPeerList

type GetPeerList = p2p.GetPeerList

Re-export all types from ZAP implementation

type GetStateSummaryFrontier

type GetStateSummaryFrontier = p2p.GetStateSummaryFrontier

Re-export all types from ZAP implementation

type Gossip added in v1.22.87

type Gossip = p2p.Gossip

Re-export all types from ZAP implementation

type Handshake

type Handshake = p2p.Handshake

Re-export all types from ZAP implementation

type Message

type Message = p2p.Message

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_Get

type Message_Get = p2p.Message_Get

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_Put

type Message_Put = p2p.Message_Put

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 PeerList

type PeerList = p2p.PeerList

Re-export all types from ZAP implementation

type Ping

type Ping = p2p.Ping

Re-export all types from ZAP implementation

type Pong

type Pong = p2p.Pong

Re-export all types from ZAP implementation

type PullQuery

type PullQuery = p2p.PullQuery

Re-export all types from ZAP implementation

type PushQuery

type PushQuery = p2p.PushQuery

Re-export all types from ZAP implementation

type Put

type Put = p2p.Put

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 Request added in v1.22.87

type Request = p2p.Request

Re-export all types from ZAP implementation

type Response added in v1.22.87

type Response = p2p.Response

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

type Vote

type Vote = p2p.Vote

Re-export all types from ZAP implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL