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