Struct bitcoinnode_txrelay::NodeTxRelay
source · pub struct NodeTxRelay {
pub cs_filter: Arc<Mutex<NodeTxRelayFilter>>,
pub cs_tx_inventory: Arc<Mutex<NodeTxRelayTxInventory>>,
pub set_inventory_tx_to_send: Arc<Mutex<HashSet<u256>>>,
pub last_mempool_req: Atomic<Option<OffsetDateTime>>,
pub n_next_inv_send: Arc<Mutex<Option<OffsetDateTime>>>,
pub min_fee_filter: Atomic<Amount>,
pub last_sent_fee_filter: Amount,
pub next_send_feefilter: Option<OffsetDateTime>,
}
Fields§
§cs_filter: Arc<Mutex<NodeTxRelayFilter>>
§cs_tx_inventory: Arc<Mutex<NodeTxRelayTxInventory>>
§set_inventory_tx_to_send: Arc<Mutex<HashSet<u256>>>
| Set of transaction ids we still have | to announce. | | They are sorted by the mempool before | relay, so the order is not important. |
last_mempool_req: Atomic<Option<OffsetDateTime>>
| Last time a “MEMPOOL” request was serviced. |
n_next_inv_send: Arc<Mutex<Option<OffsetDateTime>>>
§min_fee_filter: Atomic<Amount>
| Minimum fee rate with which to filter | inv’s to this node |
last_sent_fee_filter: Amount
§next_send_feefilter: Option<OffsetDateTime>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NodeTxRelay
impl Send for NodeTxRelay
impl Sync for NodeTxRelay
impl Unpin for NodeTxRelay
impl !UnwindSafe for NodeTxRelay
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more