Module ledger_service

Source

Structs§

LedgerCtx
LedgerSyncState 🔒
StagedLedgersStorage 🔒
Indexing StagedLedger both by their “merkle root hash” and their “staged ledger hash”

Traits§

LedgerService

Functions§

dump_application_to_file 🔒
Save staged ledger and block to file, when the application fail. So we can easily reproduce the application both in Rust and OCaml, to compare them.
dump_reconstruct_to_file 🔒
Save reconstruction to file, when it fails. So we can easily reproduce the application both in Rust and OCaml, to compare them.
error_to_string 🔒
merkle_root 🔒
staged_ledger_reconstruct 🔒