query

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeView

type NodeView struct {
	// contains filtered or unexported fields
}

func NewNodeView

func NewNodeView(tmNode *tendermint.Node, txDecoder txs.Decoder) *NodeView

func (*NodeView) BlockStore

func (nv *NodeView) BlockStore() state.BlockStoreRPC

func (*NodeView) IsListening

func (nv *NodeView) IsListening() bool

func (*NodeView) Listeners

func (nv *NodeView) Listeners() []p2p.Listener

func (*NodeView) MempoolTransactions

func (nv *NodeView) MempoolTransactions(maxTxs int) ([]*txs.Envelope, error)

Pass -1 to get all available transactions

func (*NodeView) NodeInfo

func (nv *NodeView) NodeInfo() p2p.NodeInfo

func (*NodeView) PeerRoundStates

func (nv *NodeView) PeerRoundStates() ([]*ctypes.PeerRoundState, error)

func (*NodeView) Peers

func (nv *NodeView) Peers() p2p.IPeerSet

func (*NodeView) PrivValidatorPublicKey

func (nv *NodeView) PrivValidatorPublicKey() (crypto.PublicKey, error)

func (*NodeView) RoundState

func (nv *NodeView) RoundState() *ctypes.RoundState

Jump to

Keyboard shortcuts

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