Module massa_ledger_worker::ledger

source ·
Expand description

This file defines the final ledger associating addresses to their balances, bytecode and data.

Structs§

  • Represents a final ledger associating addresses to their balances, bytecode and data. The final ledger is part of the final state which is attached to a final slot, can be bootstrapped and allows others to bootstrap. The ledger size can be very high: it can exceed 1 terabyte. To allow for storage on disk, the ledger uses trees and has O(log(N)) access, insertion and deletion complexity.