package
0.0.0-20240610110821-095633c8b6be
Repository: https://github.com/shantanu-hashcash/go.git
Documentation: pkg.go.dev
# 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:
- Runs
dump-ledger-state
. - Syncs hcnet-core to the same checkpoint:
hcnet-core catchup [ledger]/1
. - Dumps hcnet-core DB by using
dump_core_db.sh
script. - Diffs results by using
diff_test.sh
script.