Add a name
field to NetworkParameters
to be used at the end of the cache dir path
#8327
Closed
Labels
A-network
Area: Network protocol updates or fixes
A-state
Area: State / database changes
C-testing
Category: These are tests
I-usability
Zebra is hard to understand or use
Motivation
We want to ensure that the cached state matches the consensus rules for a network when adding
Regtest
or custom testnets.Some users may want to use part of the Testnet chain for custom testnets, this could be done with the
CopyState
command:zebrad copy-state --max-source-height 1200000 --target-config-path path/to/custom-testnet-config
. This won't work forRegtest
because the db format is different.Design
cache_dir
path to store the Regtest state separately from theTestnet
state. The chainstate is stored in aregtest
directory inzcashd
.The text was updated successfully, but these errors were encountered: