msgpack

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddrReq

func NewAddrReq() mt.Message

Peer address request package

func NewAddrs

func NewAddrs(nodeAddrs []msgCommon.PeerAddr) mt.Message

Peer address package

func NewNotFound

func NewNotFound(hash common.Uint256) mt.Message

NotFound package

func NewPingMsg

func NewPingMsg(height uint64) *mt.Ping

ping msg package

func NewPongMsg

func NewPongMsg(height uint64) *mt.Pong

pong msg package

func NewSigBlk

func NewSigBlk(bk *prototype.SignedBlock) mt.Message

func NewSigBlkIdMsg

func NewSigBlkIdMsg(bk *prototype.SignedBlock) mt.Message

block package

func NewTxn

Transaction package

func NewVerAck

func NewVerAck(isConsensus bool) mt.Message

version ack package

func NewVersion

func NewVersion(n p2p.P2P, isCons bool, height uint64) mt.Message

Version package

Types

This section is empty.

Jump to

Keyboard shortcuts

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