query

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: MIT 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) *NodeView

func (*NodeView) BlockStore

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

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() ([]*consensusTypes.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() *consensusTypes.RoundState

func (*NodeView) RoundStateJSON added in v0.5.0

func (nv *NodeView) RoundStateJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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