Struct vapcore_miner::pool::VerifiedTransaction [−][src]
Verified transaction stored in the pool.
Implementations
impl VerifiedTransaction
[src]
pub fn from_pending_block_transaction(tx: SignedTransaction) -> Self
[src]
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]
Gets wrapped SignedTransaction
pub fn pending(&self) -> &PendingTransaction
[src]
Gets wrapped PendingTransaction
Trait Implementations
impl Clone for VerifiedTransaction
[src]
fn clone(&self) -> VerifiedTransaction
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VerifiedTransaction
[src]
impl Eq for VerifiedTransaction
[src]
impl Listener<VerifiedTransaction> for LocalTransactionsList
[src]
fn added(&mut self, tx: &Arc<Transaction>, old: Option<&Arc<Transaction>>)
[src]
fn rejected<H: Debug + LowerHex>(
&mut self,
tx: &Arc<Transaction>,
reason: &Error<H>
)
[src]
&mut self,
tx: &Arc<Transaction>,
reason: &Error<H>
)
fn dropped(&mut self, tx: &Arc<Transaction>, new: Option<&Transaction>)
[src]
fn invalid(&mut self, tx: &Arc<Transaction>)
[src]
fn canceled(&mut self, tx: &Arc<Transaction>)
[src]
fn culled(&mut self, tx: &Arc<Transaction>)
[src]
impl PartialEq<VerifiedTransaction> for VerifiedTransaction
[src]
fn eq(&self, other: &VerifiedTransaction) -> bool
[src]
fn ne(&self, other: &VerifiedTransaction) -> bool
[src]
impl ScoredTransaction for VerifiedTransaction
[src]
fn priority(&self) -> Priority
[src]
fn gas_price(&self) -> &U256
[src]
Gets transaction gas price.
fn nonce(&self) -> U256
[src]
Gets transaction nonce.
impl StructuralEq for VerifiedTransaction
[src]
impl StructuralPartialEq for VerifiedTransaction
[src]
impl VerifiedTransaction for VerifiedTransaction
[src]
Auto Trait Implementations
impl RefUnwindSafe for VerifiedTransaction
impl Send for VerifiedTransaction
impl Sync for VerifiedTransaction
impl Unpin for VerifiedTransaction
impl UnwindSafe for VerifiedTransaction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,