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, merkleRoot common.Uint256) mt.Message
- func NewConsensus(cp *mt.ConsensusPayload) mt.Message
- func NewConsensusDataReq(hash common.Uint256) mt.Message
- func NewHeaders(headers []*ct.RawHeader) mt.Message
- func NewHeadersReq(curHdrHash common.Uint256) mt.Message
- func NewInv(invPayload *mt.InvPayload) mt.Message
- func NewInvPayload(invType common.InventoryType, msg []common.Uint256) *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() mt.Message
- func NewVersion(n p2pnet.P2P, height uint32) mt.Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsensusDataReq ¶
consensus request package
func NewInvPayload ¶
func NewInvPayload(invType common.InventoryType, msg []common.Uint256) *mt.InvPayload
InvPayload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.