pub const MAX_NON_FINALIZED_CHAIN_FORKS_TEST_NETWORKS: usize = 100;Expand description
The maximum number of non-finalized chain forks Zebra will track on test networks.
Minimum-difficulty blocks can create many equal-work sibling forks at once (#11133). A fork of
coinbase-only blocks copies about 2.7 MB of indexes, so 100 of them use about 270 MB. Forks
over busy blocks are much larger, so Zebra also limits the index entries of all chains, to
MAX_NON_FINALIZED_INDEX_ENTRIES_TEST_NETWORKS on test networks.