Ensure that the full tendermint commit phase has finished (including
recheckTxs) before allowing the Transactor to query transactions from
the mempool again. This ensures SequentialSigningAccount will always
retrieve the freshest sequence numbers since it will block until all
transactions in the mempool have been replayed to CheckTx after a
commit.
Signed-off-by:
Silas Davis <silas@monax.io>
Showing
- account/state/state_cache.go 0 additions, 1 deletionaccount/state/state_cache.go
- blockchain/blockchain.go 2 additions, 0 deletionsblockchain/blockchain.go
- consensus/tendermint/abci/app.go 51 additions, 23 deletionsconsensus/tendermint/abci/app.go
- consensus/tendermint/tendermint.go 2 additions, 1 deletionconsensus/tendermint/tendermint.go
- core/integration/test_wrapper.go 3 additions, 7 deletionscore/integration/test_wrapper.go
- core/kernel.go 1 addition, 1 deletioncore/kernel.go
- execution/accounts.go 3 additions, 1 deletionexecution/accounts.go
- execution/events/events.go 2 additions, 2 deletionsexecution/events/events.go
- execution/execution.go 11 additions, 5 deletionsexecution/execution.go
- execution/transactor.go 109 additions, 48 deletionsexecution/transactor.go
- rpc/service.go 14 additions, 24 deletionsrpc/service.go
- rpc/tm/methods.go 2 additions, 2 deletionsrpc/tm/methods.go
- rpc/v0/integration/v0_test.go 1 addition, 1 deletionrpc/v0/integration/v0_test.go
Loading
Please register or sign in to comment