Documentation ¶
Index ¶
- type NodeView
- func (nv *NodeView) BlockStore() state.BlockStoreRPC
- func (nv *NodeView) MempoolTransactions(maxTxs int) ([]*txs.Envelope, error)
- func (nv *NodeView) NodeInfo() p2p.NodeInfo
- func (nv *NodeView) PeerRoundStates() ([]*consensusTypes.PeerRoundState, error)
- func (nv *NodeView) Peers() p2p.IPeerSet
- func (nv *NodeView) PrivValidatorPublicKey() (crypto.PublicKey, error)
- func (nv *NodeView) RoundState() *consensusTypes.RoundState
- func (nv *NodeView) RoundStateJSON() ([]byte, error)
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 ¶
Pass -1 to get all available transactions
func (*NodeView) PeerRoundStates ¶
func (nv *NodeView) PeerRoundStates() ([]*consensusTypes.PeerRoundState, error)
func (*NodeView) PrivValidatorPublicKey ¶
func (*NodeView) RoundState ¶
func (nv *NodeView) RoundState() *consensusTypes.RoundState
func (*NodeView) RoundStateJSON ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.