zebra_consensus

Module transaction

source
Expand description

Asynchronous verification of transactions.

Modulesยง

Structsยง

  • AsyncChecks ๐Ÿ”’
    A set of unordered asynchronous checks that should succeed.
  • Asynchronous transaction verification.

Enumsยง

  • Specifies whether a transaction should be verified as part of a block or as part of the mempool.
  • The response type for the transaction verifier service. Responses identify the transaction that was verified.

Constantsยง

  • A timeout applied to output lookup requests sent to the mempool. This is shorter than the timeout for the state UTXO lookups because a block is likely to be mined every 75 seconds after Blossom is active, changing the best chain tip and requiring re-verification of transactions in the mempool.
  • POLL_MEMPOOL_DELAY ๐Ÿ”’
    How long to wait after responding to a mempool request with a transaction that creates new transparent outputs before polling the mempool service so that it will try adding the verified transaction and responding to any potential AwaitOutput requests.
  • A timeout applied to UTXO lookup requests.