André Silva
54def5f3d3
transaction-pool: drop unpropagable txs if local node cant author blocks ( #8048 )
...
* transaction-pool: drop unpropagable txs if local node cant author blocks
* fix test compilation
* transaction-pool: remove unnecessary static bound on CanAuthor
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* rpc-api: add translation for PoolError::Unactionable
* transaction-pool: add test for rejecting unactionable transactions
* basic-authorship: fix doc test
* transaction-pool: fix benchmark compilation
* transaction-pool: rename CanAuthor to IsValidator
* transaction-pool: nit in error message
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2021-02-04 20:18:44 +01:00
Bastian Köcher
e3e651f72c
Happy new year ( #7814 )
...
* Happy new year
Updates the copyright years and fixes wrong license headers.
* Fix the template
* Split HEADER into HEADER-APACHE & HEADER-GPL
2021-01-04 09:03:13 +00:00
Ashley
07facb13c2
Convert spaces to tabs ( #6799 )
2020-08-03 15:48:32 +02:00
Ashley
9220b646d2
Various small improvements to service construction. ( #6738 )
...
* Remove service components and add build_network, build_offchain_workers etc
* Improve transaction pool api
* Remove commented out line
* Add PartialComponents
* Add BuildNetworkParams, documentation
* Remove unused imports in tests
* Apply suggestions from code review
Co-authored-by: Nikolay Volf <nikvolf@gmail.com >
* Remove unused imports in node-bench
Co-authored-by: Nikolay Volf <nikvolf@gmail.com >
2020-07-28 15:21:33 +02:00
Bastian Köcher
9310f15ac2
Name all the tasks! ( #6726 )
...
* Remove any implementation of `Spawn` or `Executor` from our task executors
* Fix compilation
* Rename `SpawnBlockingExecutor`
* Update primitives/core/src/traits.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Fix tests
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2020-07-26 12:56:17 +00:00
Nikolay Volf
cb4c6abca7
Transaction pool integrated benchmarks ( #6579 )
...
* txpool benchmarks
* updated api
* Update bin/node/bench/src/txpool.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2020-07-17 17:09:18 +03:00