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.