Module tx_id

Module tx_id 

Source
Expand description

Reading address transaction IDs.

In the functions in this module:

The block write task commits blocks to the finalized state before updating chain with a cached copy of the best non-finalized chain from NonFinalizedState.chain_set. Then the block commit task can commit additional blocks to the finalized state after weโ€™ve cloned the chain.

This means that some blocks can be in both:

  • the cached Chain, and
  • the shared finalized ZebraDb reference.

Functionsยง

apply_tx_id_changes ๐Ÿ”’
Returns the combined finalized and non-finalized transaction IDs.
chain_transparent_tx_id_changes ๐Ÿ”’
Returns the extra transaction IDs for addresses in the non-finalized chain query_height_range, matching or overlapping the transaction IDs for the finalized_tip_range,
finalized_transparent_tx_ids ๐Ÿ”’
Returns the transaction::Hashes for addresses in the finalized chain query_height_range, and the finalized tip heights the transaction IDs were queried at.
transparent_tx_ids
Returns the transaction IDs that sent or received funds from the supplied transparent::Addresses, within query_height_range, in chain order.