mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Make transaction pool prune transactions only of canonical blocks (#6123)
* Make tx pool aware of retracted fork blocks * Make it compile * Update client/transaction-pool/src/lib.rs Co-authored-by: Nikolay Volf <nikvolf@gmail.com> * Fix doc test * Simplify the implementation * Send tree route as arc to prevent heavy clones * Switch to use `ExtrinsicHash` to make it more clear * Fix benchmark Co-authored-by: Nikolay Volf <nikvolf@gmail.com>
This commit is contained in:
@@ -20,6 +20,7 @@ futures = { version = "0.3.1", optional = true }
|
||||
log = { version = "0.4.8", optional = true }
|
||||
serde = { version = "1.0.101", features = ["derive"], optional = true}
|
||||
sp-api = { version = "2.0.0-rc2", default-features = false, path = "../api" }
|
||||
sp-blockchain = { version = "2.0.0-rc2", optional = true, path = "../blockchain" }
|
||||
sp-runtime = { version = "2.0.0-rc2", default-features = false, path = "../runtime" }
|
||||
sp-utils = { version = "2.0.0-rc2", default-features = false, path = "../utils" }
|
||||
|
||||
@@ -32,5 +33,6 @@ std = [
|
||||
"log",
|
||||
"serde",
|
||||
"sp-api/std",
|
||||
"sp-blockchain",
|
||||
"sp-runtime/std",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user