Enum ethcore_miner::pool::local_transactions::Status [−][src]
pub enum Status { Pending(Arc<Transaction>), Mined(Arc<Transaction>), Dropped(Arc<Transaction>), Replaced { old: Arc<Transaction>, new: Arc<Transaction>, }, Rejected(Arc<Transaction>, String), Invalid(Arc<Transaction>), Canceled(Arc<Transaction>), }
Status of local transaction.
Can indicate that the transaction is currently part of the queue (Pending/Future
)
or gives a reason why the transaction was removed.
Variants
Pending(Arc<Transaction>)
The transaction is currently in the transaction queue.
Mined(Arc<Transaction>)
Transaction is already mined.
Dropped(Arc<Transaction>)
Transaction is dropped because of limit
Replaced
Replaced because of higher gas price of another transaction.
Fields of Replaced
old: Arc<Transaction> | Replaced transaction |
new: Arc<Transaction> | Transaction that replaced this one. |
Rejected(Arc<Transaction>, String)
Transaction was never accepted to the queue. It means that it was too cheap to replace any transaction already in the pool.
Invalid(Arc<Transaction>)
Transaction is invalid.
Canceled(Arc<Transaction>)
Transaction was canceled.
Trait Implementations
impl Debug for Status
[src]
impl Debug for Status
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Status
[src]
impl PartialEq for Status
fn eq(&self, other: &Status) -> bool
[src]
fn eq(&self, other: &Status) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Status) -> bool
[src]
fn ne(&self, other: &Status) -> bool
This method tests for !=
.
impl Clone for Status
[src]
impl Clone for Status