mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
d3a3e288b6
* adds finalization support to sc-transaction-pool using MaintainedTransactionPool for finalization events * adds TransactionStatus::Retracted, notify watchers of retracted blocks, finalized now finalizes, transactions for current finalized -> last finalized block * adds last_finalized to ChainApi, use generic BlockT for ChainEvent * fix tests * Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * tests * fix tests, docs, lazily dedupe pruned hashes * fix tests, Cargo.lock * Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * remove tree_route, last_finalized from ChainApi, add block hash to Finalization and Retracted events * prune finality watchers * fix tests * remove HeaderBackend bound from FullChainApi * code style nits, terminate stream in finality_timeout Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
25 lines
849 B
TOML
25 lines
849 B
TOML
[package]
|
|
name = "sc-rpc-api"
|
|
version = "0.8.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "1.0.0" }
|
|
derive_more = "0.99.2"
|
|
futures = { version = "0.3.1", features = ["compat"] }
|
|
jsonrpc-core = "14.0.3"
|
|
jsonrpc-core-client = "14.0.3"
|
|
jsonrpc-derive = "14.0.3"
|
|
jsonrpc-pubsub = "14.0.3"
|
|
log = "0.4.8"
|
|
parking_lot = "0.10.0"
|
|
sp-core = { version = "2.0.0", path = "../../primitives/core" }
|
|
sp-version = { version = "2.0.0", path = "../../primitives/version" }
|
|
sp-runtime = { path = "../../primitives/runtime" }
|
|
serde = { version = "1.0.101", features = ["derive"] }
|
|
serde_json = "1.0.41"
|
|
sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-pool" }
|
|
sp-rpc = { version = "2.0.0", path = "../../primitives/rpc" }
|