mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
getter for blockstore in Node
This commit is contained in:
@ -200,6 +200,10 @@ func (n *Node) Switch() *p2p.Switch {
|
||||
return n.sw
|
||||
}
|
||||
|
||||
func (n *Node) BlockStore() *bc.BlockStore {
|
||||
return n.blockStore
|
||||
}
|
||||
|
||||
func (n *Node) ConsensusState() *consensus.ConsensusState {
|
||||
return n.consensusState
|
||||
}
|
||||
|
Reference in New Issue
Block a user