The set of 0x-prefixed hex nullifier strings.
The underlying set of cached nullifiers.
Number of nullifiers in the cache.
The cache size.
Highest block number loaded into the cache, or -1n if empty.
The last block number ingested into the cache.
Whether the cache has been initialized at least once.
True once the cache has been populated from storage.
Create a new empty cache.
Load all nullifiers from chain storage into the cache.
Chain storage instance.
Incrementally update the cache with nullifiers added since the last loaded block.
Chain storage instance.
Number of new nullifiers added to the cache.
Clear and reload the cache after a chain reorganization.
Call this after rollbackChain has been applied to storage.
Chain storage instance.
Add a hex nullifier directly to the cache without a storage query. Used by syncNullifiers to keep cache in sync with writes.
The 0x-prefixed hex nullifier string.
The block number of this nullifier.
In-memory cache for nullifier hex strings with block-tracked incremental updates. One instance per chain. The caller manages lifecycle.