silly tx RPC command

This commit is contained in:
Jae Kwon
2014-12-31 22:42:37 -08:00
parent 2fd137d9e5
commit 0d075c7592
6 changed files with 69 additions and 41 deletions

17
rpc/rpc.go Normal file
View File

@ -0,0 +1,17 @@
package rpc
import (
mempool_ "github.com/tendermint/tendermint/mempool"
state_ "github.com/tendermint/tendermint/state"
)
var state *state_.State
var mempoolReactor *mempool_.MempoolReactor
func SetRPCState(state__ *state_.State) {
state = state__
}
func SetRPCMempoolReactor(mempoolReactor_ *mempool_.MempoolReactor) {
mempoolReactor = mempoolReactor_
}