Module accounts_data_meter

Source
Expand description

The accounts data space has a maximum size it is permitted to grow to. This module contains the constants and types for tracking and metering the accounts data space during program runtime.

Structs§

AccountsDataMeter
Meter and track the amount of available accounts data space

Constants§

MAX_ACCOUNTS_DATA_LEN
The maximum allowed size, in bytes, of the accounts data 128 GB was chosen because it is the RAM amount listed under Hardware Recommendations on Validator Requirements, and validators often put the ledger on a RAM disk (i.e. tmpfs).