Allow tx pool to be Send (#9315)
This commit is contained in:
parent
8814195122
commit
62fdfb937a
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
description = "Generic transaction pool."
|
||||
name = "transaction-pool"
|
||||
version = "1.12.1"
|
||||
version = "1.12.2"
|
||||
license = "GPL-3.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
|
@ -111,7 +111,7 @@ pub trait VerifiedTransaction: fmt::Debug {
|
||||
type Hash: fmt::Debug + fmt::LowerHex + Eq + Clone + Hash;
|
||||
|
||||
/// Transaction sender type.
|
||||
type Sender: fmt::Debug + Eq + Clone + Hash;
|
||||
type Sender: fmt::Debug + Eq + Clone + Hash + Send;
|
||||
|
||||
/// Transaction hash
|
||||
fn hash(&self) -> &Self::Hash;
|
||||
|
@ -83,7 +83,7 @@ pub enum Change<T = ()> {
|
||||
///
|
||||
pub trait Scoring<T>: fmt::Debug {
|
||||
/// A score of a transaction.
|
||||
type Score: cmp::Ord + Clone + Default + fmt::Debug;
|
||||
type Score: cmp::Ord + Clone + Default + fmt::Debug + Send;
|
||||
/// Custom scoring update event type.
|
||||
type Event: fmt::Debug;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user