Closed dan-da closed 1 year ago
Addresses #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.
notes:
--network_id
kindelia node
kindelia node start
node clean
You probably wanted to merge this into dev and not into master
dev
master
@developedby yeah I just changed it to dev, thx.
Addresses #163
Previously chain state was stored under a path such as:
With this change, the data is stored at:
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.
notes:
--network_id
is now akindelia node
param rather thankindelia node start
. This is because it also applies tonode clean
.