Skip to content
Snippets Groups Projects
Commit 54def5f3 authored by André Silva's avatar André Silva Committed by GitHub
Browse files

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: default avatarTomasz 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: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
parent 8e36d87c
No related merge requests found
Showing
with 161 additions and 60 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment