Skip to main content

PAID_LIST_MAP_SIZE

Constant PAID_LIST_MAP_SIZE 

Source
pub const PAID_LIST_MAP_SIZE: usize = _ /* 1_073_741_824usize */;
Expand description

LMDB map size for the paid list: 1 GiB.

A retained record keeps the entry that authorises its repair, so entries stay until the list nears this (ADR-0028). The store’s file grows as entries do, so a node doesn’t pay for the whole map up front.