Expand description
Reading address balances.
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:
Functionsยง
- apply_
balance_ ๐change Add the supplied finalized and non-finalized balances together, and return the result. - Returns the total transparent balance change for
addresses
in the non-finalized chain, matching the balance for thefinalized_tip
. - Returns the total transparent balance for
addresses
in the finalized chain, and the finalized tip height the balances were queried at. - Returns the total transparent balance for the supplied
transparent::Address
es.