Produce block always on updated transaction pool state (#5227)
* make sure return ready iterator once state is updated * update sc_basic_authorship tests * update node tests * fix manual seal * actually fix service test * add tests * Update client/basic-authorship/src/basic_authorship.rs Co-Authored-By:Tomasz Drwięga <tomusdrw@users.noreply.github.com> * helper function * review suggestions * warning and continue * add debug log * use futures::chennel::oneshot * use declaration bound * no option for updated_at * no allocation * ready_at / ready * Update client/transaction-pool/src/lib.rs Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/transaction-pool/src/lib.rs Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/transaction-pool/src/lib.rs Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/transaction-pool/src/lib.rs Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/transaction-pool/src/lib.rs Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/transaction-pool/src/lib.rs Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
Showing
- substrate/Cargo.lock 2 additions, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node/cli/src/service.rs 30 additions, 1 deletionsubstrate/bin/node/cli/src/service.rs
- substrate/client/basic-authorship/Cargo.toml 1 addition, 0 deletionssubstrate/client/basic-authorship/Cargo.toml
- substrate/client/basic-authorship/src/basic_authorship.rs 62 additions, 9 deletionssubstrate/client/basic-authorship/src/basic_authorship.rs
- substrate/client/consensus/manual-seal/Cargo.toml 1 addition, 0 deletionssubstrate/client/consensus/manual-seal/Cargo.toml
- substrate/client/consensus/manual-seal/src/lib.rs 13 additions, 3 deletionssubstrate/client/consensus/manual-seal/src/lib.rs
- substrate/client/service/test/src/lib.rs 5 additions, 1 deletionsubstrate/client/service/test/src/lib.rs
- substrate/client/transaction-pool/graph/src/validated_pool.rs 1 addition, 1 deletion...trate/client/transaction-pool/graph/src/validated_pool.rs
- substrate/client/transaction-pool/src/lib.rs 77 additions, 6 deletionssubstrate/client/transaction-pool/src/lib.rs
- substrate/client/transaction-pool/src/testing/pool.rs 52 additions, 0 deletionssubstrate/client/transaction-pool/src/testing/pool.rs
- substrate/primitives/blockchain/src/error.rs 2 additions, 0 deletionssubstrate/primitives/blockchain/src/error.rs
- substrate/primitives/transaction-pool/src/pool.rs 10 additions, 3 deletionssubstrate/primitives/transaction-pool/src/pool.rs
Please register or sign in to comment