[][src]Struct godcoin::tx::tx_pool::TxPool

pub struct TxPool { /* fields omitted */ }

Methods

impl TxPool[src]

pub fn new(chain: Arc<Blockchain>) -> Self[src]

pub fn get_address_info(&self, addr: &ScriptHash) -> Option<AddressInfo>[src]

pub fn push(
    &mut self,
    data: TxPrecompData,
    skip_flags: SkipFlags
) -> Result<(), TxErr>
[src]

pub fn flush(&mut self) -> Vec<TxVariant>[src]

Auto Trait Implementations

impl !RefUnwindSafe for TxPool

impl Send for TxPool

impl Sync for TxPool

impl Unpin for TxPool

impl !UnwindSafe for TxPool

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.