Module transaction

Source
Expand description

Asynchronous verification of transactions.

Modules§

check
Transaction checks.

Structs§

AsyncChecks 🔒
A set of unordered asynchronous checks that should succeed.
Verifier
Asynchronous transaction verification.

Enums§

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

Constants§

MEMPOOL_OUTPUT_LOOKUP_TIMEOUT 🔒
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.
UTXO_LOOKUP_TIMEOUT 🔒
A timeout applied to UTXO lookup requests.