Merge pull request #67 from androlo/bs_getter
getter for blockstore in Node
This commit is contained in:
commit
4dd464f239
|
@ -200,6 +200,10 @@ func (n *Node) Switch() *p2p.Switch {
|
||||||
return n.sw
|
return n.sw
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (n *Node) BlockStore() *bc.BlockStore {
|
||||||
|
return n.blockStore
|
||||||
|
}
|
||||||
|
|
||||||
func (n *Node) ConsensusState() *consensus.ConsensusState {
|
func (n *Node) ConsensusState() *consensus.ConsensusState {
|
||||||
return n.consensusState
|
return n.consensusState
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue