dump-ledger-state

command
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0

README

dump-ledger-state

This tool dumps the state from history archive buckets to 4 separate files:

  • accounts.csv
  • accountdata.csv
  • offers.csv
  • trustlines.csv
  • claimablebalances.csv

It's primary use is to test SingleLedgerStateReader. To run the test (run_test.sh) it:

  1. Runs dump-ledger-state.
  2. Syncs hcnet-core to the same checkpoint: hcnet-core catchup [ledger]/1.
  3. Dumps hcnet-core DB by using dump_core_db.sh script.
  4. Diffs results by using diff_test.sh script.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL