getter for blockstore in Node

This commit is contained in:
Androlo
2015-05-15 16:27:22 +02:00
parent 4ba09ecdbd
commit 3b142b9277

View File

@ -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
}