This is supported on crate feature compact_filters
only.
Expand description
Container for unconfirmed, but valid Bitcoin transactions
It is normally shared between Peer
s with the use of Arc
, so that transactions are not
duplicated in memory.
Create a new empty mempool
Add a transaction to the mempool
Note that this doesn’t propagate the transaction to other
peers. To do that, broadcast
should be used.
Look-up a transaction in the mempool given an Inventory
request
Return whether or not the mempool contains a transaction with a given txid
Return the list of transactions contained in the mempool
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,