package
0.0.7
Repository: https://github.com/meterio/supernova.git
Documentation: pkg.go.dev

# Functions

GetBlockByID query block from remote peer by given block ID.
GetBlockIDByNumber query block ID from remote peer by given number.
GetBlocksFromNumber get a batch of blocks starts with num from remote peer.
GetStatus get status of remote peer.
GetTxs get txs from remote peer.
MsgName convert msg code to string.
NotifyNewBlock notify new block to remote peer.
NotifyNewBlockID notify new block ID to remote peer.
NotifyNewTx notify new tx to remote peer.

# Constants

Constants.
max size 2M bytes.
Protocol messages of supernova.
Protocol messages of supernova.
fetch blocks from given number (including given number).
Protocol messages of supernova.
Protocol messages of supernova.
Protocol messages of supernova.
Protocol messages of supernova.
Protocol messages of supernova.
Constants.
Constants.

# Structs

No description provided by the author

# Interfaces

RPC defines RPC interface.