mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
This commit is contained in:
@ -5,7 +5,8 @@ import (
|
||||
"github.com/tendermint/tendermint/consensus"
|
||||
mempl "github.com/tendermint/tendermint/mempool"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
"github.com/tendermint/tendermint/state"
|
||||
stypes "github.com/tendermint/tendermint/state/types"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
)
|
||||
|
||||
var blockStore *bc.BlockStore
|
||||
@ -13,8 +14,8 @@ var consensusState *consensus.ConsensusState
|
||||
var consensusReactor *consensus.ConsensusReactor
|
||||
var mempoolReactor *mempl.MempoolReactor
|
||||
var p2pSwitch *p2p.Switch
|
||||
var privValidator *state.PrivValidator
|
||||
var genDoc *state.GenesisDoc // cache the genesis structure
|
||||
var privValidator *types.PrivValidator
|
||||
var genDoc *stypes.GenesisDoc // cache the genesis structure
|
||||
|
||||
func SetBlockStore(bs *bc.BlockStore) {
|
||||
blockStore = bs
|
||||
@ -36,10 +37,10 @@ func SetSwitch(sw *p2p.Switch) {
|
||||
p2pSwitch = sw
|
||||
}
|
||||
|
||||
func SetPrivValidator(pv *state.PrivValidator) {
|
||||
func SetPrivValidator(pv *types.PrivValidator) {
|
||||
privValidator = pv
|
||||
}
|
||||
|
||||
func SetGenDoc(doc *state.GenesisDoc) {
|
||||
func SetGenDoc(doc *stypes.GenesisDoc) {
|
||||
genDoc = doc
|
||||
}
|
||||
|
Reference in New Issue
Block a user