zebra_rpc

Module queue

source
Expand description

Transaction Queue.

All transactions that are sent from RPC methods should be added to this queue for retries. Transactions can fail to be inserted to the mempool immediately by different reasons, like having not mined utxos.

The Queue is just an IndexMap of transactions with insertion date. We use this data type because we want the transactions in the queue to be in order. The Runner component will do the processing in it’s Runner::run() method.

Structs§

  • The queue is a container of transactions that are going to be sent to the mempool again.
  • The runner will make the processing of the transactions in the queue.

Constants§