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

transaction-pool: expose blocking api for tx submission #6325

Merged
merged 4 commits into from
Jun 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
transaction-pool: extend docs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
  • Loading branch information
andresilva and tomusdrw committed Jun 11, 2020
commit 9946c15277cf231f85259681aa3a538038b3ef20
3 changes: 3 additions & 0 deletions primitives/transaction-pool/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ pub trait LocalTransactionPool: Send + Sync {

/// Submits the given local unverified transaction to the pool blocking the
/// current thread for any necessary pre-verification.
andresilva marked this conversation as resolved.
Show resolved Hide resolved
/// NOTE: It MUST NOT be used for transactions that originate from the
/// network or RPC, since the validation is performed with
/// `TransactionSource::Local`.
fn submit_local(
&self,
at: &BlockId<Self::Block>,
Expand Down