rpc: add /check_tx endpoint (#5017)

Closes #4549
This commit is contained in:
Anton Kaliaev
2020-06-19 09:25:52 +04:00
committed by GitHub
parent 95d2d136cd
commit 257a374b78
15 changed files with 164 additions and 4 deletions

View File

@@ -958,7 +958,8 @@ func (n *Node) ConfigureRPC() error {
return fmt.Errorf("can't get pubkey: %w", err)
}
rpccore.SetEnvironment(&rpccore.Environment{
ProxyAppQuery: n.proxyApp.Query(),
ProxyAppQuery: n.proxyApp.Query(),
ProxyAppMempool: n.proxyApp.Mempool(),
StateDB: n.stateDB,
BlockStore: n.blockStore,