Struct ethcore_miner::pool::VerifiedTransaction [−][src]
pub struct VerifiedTransaction { /* fields omitted */ }
Verified transaction stored in the pool.
Methods
impl VerifiedTransaction
[src]
impl VerifiedTransaction
pub fn from_pending_block_transaction(tx: SignedTransaction) -> Self
[src]
pub fn from_pending_block_transaction(tx: SignedTransaction) -> Self
Create VerifiedTransaction
directly from SignedTransaction
.
This method should be used only:
- for tests
- In case we are converting pending block transactions that are already in the queue to match the function signature.
pub fn signed(&self) -> &SignedTransaction
[src]
pub fn signed(&self) -> &SignedTransaction
Gets wrapped SignedTransaction
pub fn pending(&self) -> &PendingTransaction
[src]
pub fn pending(&self) -> &PendingTransaction
Gets wrapped PendingTransaction
Trait Implementations
impl Listener<Transaction> for LocalTransactionsList
[src]
impl Listener<Transaction> for LocalTransactionsList
fn added(&mut self, tx: &Arc<Transaction>, old: Option<&Arc<Transaction>>)
[src]
fn added(&mut self, tx: &Arc<Transaction>, old: Option<&Arc<Transaction>>)
The transaction has been successfuly added to the pool. If second argument is Some
the transaction has took place of some other transaction which was already in pool. NOTE: You won't be notified about drop of old
transaction separately. Read more
fn rejected(&mut self, tx: &Arc<Transaction>, reason: &ErrorKind)
[src]
fn rejected(&mut self, tx: &Arc<Transaction>, reason: &ErrorKind)
The transaction was rejected from the pool. It means that it was too cheap to replace any transaction already in the pool. Read more
fn dropped(&mut self, tx: &Arc<Transaction>, new: Option<&Transaction>)
[src]
fn dropped(&mut self, tx: &Arc<Transaction>, new: Option<&Transaction>)
The transaction was pushed out from the pool because of the limit.
fn invalid(&mut self, tx: &Arc<Transaction>)
[src]
fn invalid(&mut self, tx: &Arc<Transaction>)
The transaction was marked as invalid by executor.
fn canceled(&mut self, tx: &Arc<Transaction>)
[src]
fn canceled(&mut self, tx: &Arc<Transaction>)
The transaction has been canceled.
fn mined(&mut self, tx: &Arc<Transaction>)
[src]
fn mined(&mut self, tx: &Arc<Transaction>)
The transaction has been mined.
impl Debug for VerifiedTransaction
[src]
impl Debug for VerifiedTransaction
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 VerifiedTransaction
[src]
impl PartialEq for VerifiedTransaction
fn eq(&self, other: &VerifiedTransaction) -> bool
[src]
fn eq(&self, other: &VerifiedTransaction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VerifiedTransaction) -> bool
[src]
fn ne(&self, other: &VerifiedTransaction) -> bool
This method tests for !=
.
impl Eq for VerifiedTransaction
[src]
impl Eq for VerifiedTransaction
impl VerifiedTransaction for VerifiedTransaction
[src]
impl VerifiedTransaction for VerifiedTransaction
Auto Trait Implementations
impl Send for VerifiedTransaction
impl Send for VerifiedTransaction
impl Sync for VerifiedTransaction
impl Sync for VerifiedTransaction