Export the state
We are moving our documentation to the new "BitSong, the blockchain for music" website. To access the most up-to-date and complete version of our guides and articles, please visit our new bitsong documentation website. This old documentation site will no longer be maintained or updated, so we strongly recommend referring to the new bitsong documentation website for the latest information. If you can't find what you're looking for on the new site, please be patient as we are still in the process of migrating all of our content. Thank you for your understanding! Visit the new article https://bitsong.io/en/docs/blockchain/export-the-state
go-bitsong can dump the entire application state into a JSON file. This application state dump is useful for manual analysis and can also be used as the genesis file of a new network.
Export state with:
You can also export state from a particular height (at the end of processing the block of that height):
If you plan to start a new network from the exported state, export with the --for-zero-height
flag:
Last updated