Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(node): store state for any # of networks
Addresses kindelia#163 Previously chain state was stored under a path such as: ~/.kindelia/state/{blocks,heaps} With this change, the data is stored at: ~/.kindelia/state/<network_id>/{blocks,heaps} This enables for example flipping back and forth between a testnet and mainnet just by changing network_id in the config, or even via cli arg.
- Loading branch information