Module constants

Source
Expand description

Constants shared by some Zebra node services.

Constants§

MAX_CHECKPOINT_BYTE_COUNT
We limit the memory usage and download contention for each checkpoint, based on the cumulative size of the serialized blocks in the chain.
MAX_CHECKPOINT_HEIGHT_GAP
We limit the maximum number of blocks in each checkpoint. Each block uses a constant amount of memory for the supporting data structures and futures.