Browse Source

getter for blockstore in Node

pull/67/head
Androlo 10 years ago
parent
commit
3b142b9277
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      node/node.go

+ 4
- 0
node/node.go 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
}


Loading…
Cancel
Save