pub trait RequestMempoolTransactions {
    fn request_mempool_transactions(
        &mut self,
        notifications: Rc<RefCell<dyn ChainNotifications>>
    ); }

Required Methods§

| Synchronously send | transactionAddedToMempool notifications | about all current mempool transactions to | the specified handler and return after the | last one is sent. These notifications | aren’t coordinated with async | notifications sent by handleNotifications, | so out of date async notifications from | handleNotifications can arrive during and | after synchronous notifications from | requestMempoolTransactions. Clients need | to be prepared to handle this by ignoring | notifications about unknown removed | transactions and already added new | transactions.

Implementors§