Module massa_ledger_worker::ledger_db

source ·
Expand description

Copyright (c) 2022 MASSA LABS info@massa.net Module to interact with the disk ledger

Structs§

Enums§

Functions§

  • end_prefix 🔒
    For a given start prefix (inclusive), returns the correct end prefix (non-inclusive). This assumes the key bytes are ordered in lexicographical order. Since key length is not limited, for some case we return None because there is no bounded limit (every keys in the series [], [255], [255, 255] …).