This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Merge pull request
#67
from androlo/bs_getter
getter for blockstore in Node
pull/68/head
Jae Kwon
10 years ago
parent
4ba09ecdbd
3b142b9277
commit
4dd464f239
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
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
}
}
Write
Preview
Loading…
Cancel
Save