RPCResponse.Result && EventData are registered interfaces; -skip_upnp option

This commit is contained in:
Jae Kwon
2015-08-10 20:38:45 -07:00
parent 65d40a2d08
commit 1b9fd811a1
60 changed files with 1468 additions and 1398 deletions

View File

@ -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
}