Documentation ¶
Index ¶
- func NewAddrReq() mt.Message
- func NewAddrs(nodeAddrs []msgCommon.PeerAddr) mt.Message
- func NewBlkDataReq(hash common.Uint256) mt.Message
- func NewBlock(bk *ct.Block) mt.Message
- func NewConsensus(cp *mt.ConsensusPayload) mt.Message
- func NewConsensusDataReq(hash common.Uint256) mt.Message
- func NewHeaders(headers []*ct.Header) mt.Message
- func NewHeadersReq(curHdrHash common.Uint256) mt.Message
- func NewInv(invPayload *mt.InvPayload) mt.Message
- func NewInvPayload(invType common.InventoryType, count uint32, msg []byte) *mt.InvPayload
- func NewNotFound(hash common.Uint256) mt.Message
- func NewPingMsg(height uint64) *mt.Ping
- func NewPongMsg(height uint64) *mt.Pong
- func NewTxn(txn *ct.Transaction) mt.Message
- func NewTxnDataReq(hash common.Uint256) mt.Message
- func NewVerAck(isConsensus bool) mt.Message
- func NewVersion(vpl mt.VersionPayload, pk keypair.PublicKey) mt.Message
- func NewVersionPayload(n p2pnet.P2P, isCons bool, height uint32) mt.VersionPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsensusDataReq ¶
consensus request package
func NewInvPayload ¶
func NewInvPayload(invType common.InventoryType, count uint32, msg []byte) *mt.InvPayload
InvPayload
func NewVersion ¶
version msg package
func NewVersionPayload ¶
VersionPayload package
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.