codechain
codechain copied to clipboard
Need a subcommand that cleans db of the given chain
@kseo What is the meaing of the "chain"?
It means ChainType
.
pub enum ChainType {
Mainnet,
Solo,
SimplePoA,
Tendermint,
Cuckoo,
BlakePoW,
Husky,
Saluki,
Corgi,
Beagle,
Custom(String),
}
We are using the same db
path for all the ChainType
s. IMO we may have a simple command that deletes the db
directory. Could you let me know the reason why the command requires the ChainType
?