Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 1d2d10e

Browse files
committed
Master.into()
2 parents 06982f6 + 279369e commit 1d2d10e

File tree

66 files changed

+387
-388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+387
-388
lines changed

Cargo.lock

+32-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ members = [
6262
"client/tracing",
6363
"client/tracing/proc-macro",
6464
"client/transaction-pool",
65-
"client/transaction-pool/graph",
65+
"client/transaction-pool/api",
6666
"frame/assets",
6767
"frame/atomic-swap",
6868
"frame/aura",

bin/node-template/node/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sc-telemetry = { version = "3.0.0", path = "../../../client/telemetry" }
2626
sc-keystore = { version = "3.0.0", path = "../../../client/keystore" }
2727
sp-inherents = { version = "3.0.0", path = "../../../primitives/inherents" }
2828
sc-transaction-pool = { version = "3.0.0", path = "../../../client/transaction-pool" }
29-
sp-transaction-pool = { version = "3.0.0", path = "../../../primitives/transaction-pool" }
29+
sc-transaction-pool-api = { version = "3.0.0", path = "../../../client/transaction-pool/api" }
3030
sc-consensus-aura = { version = "0.9.0", path = "../../../client/consensus/aura" }
3131
sp-consensus-aura = { version = "0.9.0", path = "../../../primitives/consensus/aura" }
3232
sp-consensus = { version = "0.9.0", path = "../../../primitives/consensus/common" }

bin/node-template/node/src/rpc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use sp_api::ProvideRuntimeApi;
1212
use sp_blockchain::{Error as BlockChainError, HeaderMetadata, HeaderBackend};
1313
use sp_block_builder::BlockBuilder;
1414
pub use sc_rpc_api::DenyUnsafe;
15-
use sp_transaction_pool::TransactionPool;
15+
use sc_transaction_pool_api::TransactionPool;
1616

1717

1818
/// Full client dependencies.

bin/node/bench/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ kvdb-rocksdb = "0.12.0"
2626
sp-trie = { version = "3.0.0", path = "../../../primitives/trie" }
2727
sp-core = { version = "3.0.0", path = "../../../primitives/core" }
2828
sp-consensus = { version = "0.9.0", path = "../../../primitives/consensus/common" }
29-
sp-transaction-pool = { version = "3.0.0", path = "../../../primitives/transaction-pool" }
3029
sc-basic-authorship = { version = "0.9.0", path = "../../../client/basic-authorship" }
3130
sp-inherents = { version = "3.0.0", path = "../../../primitives/inherents" }
3231
sp-timestamp = { version = "3.0.0", default-features = false, path = "../../../primitives/timestamp" }
@@ -40,4 +39,5 @@ lazy_static = "1.4.0"
4039
parity-util-mem = { version = "0.10.0", default-features = false, features = ["primitive-types"] }
4140
parity-db = { version = "0.2.4" }
4241
sc-transaction-pool = { version = "3.0.0", path = "../../../client/transaction-pool" }
42+
sc-transaction-pool-api = { version = "3.0.0", path = "../../../client/transaction-pool/api" }
4343
futures = { version = "0.3.4", features = ["thread-pool"] }

bin/node/bench/src/construct.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use sp_runtime::{
3939
traits::NumberFor,
4040
OpaqueExtrinsic,
4141
};
42-
use sp_transaction_pool::{
42+
use sc_transaction_pool_api::{
4343
ImportNotificationStream,
4444
PoolFuture,
4545
PoolStatus,
@@ -198,7 +198,7 @@ impl From<OpaqueExtrinsic> for PoolTransaction {
198198
}
199199
}
200200

201-
impl sp_transaction_pool::InPoolTransaction for PoolTransaction {
201+
impl sc_transaction_pool_api::InPoolTransaction for PoolTransaction {
202202
type Transaction = OpaqueExtrinsic;
203203
type Hash = node_primitives::Hash;
204204

@@ -224,11 +224,11 @@ impl sp_transaction_pool::InPoolTransaction for PoolTransaction {
224224
#[derive(Clone, Debug)]
225225
pub struct Transactions(Vec<Arc<PoolTransaction>>);
226226

227-
impl sp_transaction_pool::TransactionPool for Transactions {
227+
impl sc_transaction_pool_api::TransactionPool for Transactions {
228228
type Block = Block;
229229
type Hash = node_primitives::Hash;
230230
type InPoolTransaction = PoolTransaction;
231-
type Error = sp_transaction_pool::error::Error;
231+
type Error = sc_transaction_pool_api::error::Error;
232232

233233
/// Returns a future that imports a bunch of unverified transactions to the pool.
234234
fn submit_at(

0 commit comments

Comments
 (0)