You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
476 B

package rpc
import (
block_ "github.com/tendermint/tendermint/block"
mempool_ "github.com/tendermint/tendermint/mempool"
state_ "github.com/tendermint/tendermint/state"
)
var blockStore *block_.BlockStore
var state *state_.State
var mempoolReactor *mempool_.MempoolReactor
func SetRPCBlockStore(bs *block_.BlockStore) {
blockStore = bs
}
func SetRPCState(s *state_.State) {
state = s
}
func SetRPCMempoolReactor(mr *mempool_.MempoolReactor) {
mempoolReactor = mr
}