SetRPC/Pipe => core.Set...

This commit is contained in:
Ethan Buchman
2015-03-29 18:06:55 -07:00
parent bddd29ef56
commit 19a50c1229
2 changed files with 8 additions and 8 deletions

View File

@@ -12,18 +12,18 @@ var consensusState *consensus.ConsensusState
var mempoolReactor *mempl.MempoolReactor
var p2pSwitch *p2p.Switch
func SetRPCBlockStore(bs *bc.BlockStore) {
func SetBlockStore(bs *bc.BlockStore) {
blockStore = bs
}
func SetPipeConsensusState(cs *consensus.ConsensusState) {
func SetConsensusState(cs *consensus.ConsensusState) {
consensusState = cs
}
func SetPipeMempoolReactor(mr *mempl.MempoolReactor) {
func SetMempoolReactor(mr *mempl.MempoolReactor) {
mempoolReactor = mr
}
func SetPipeSwitch(sw *p2p.Switch) {
func SetSwitch(sw *p2p.Switch) {
p2pSwitch = sw
}