The migrate-zcash-conf command
Available on crate feature
zcashd-importonly.
zallet migrate-zcash-conf migrates a zcashd configuration file (zcash.conf) to an
equivalent Zallet configuration file (zallet.toml).
The command requires at least one of the following two flag:
--path: A path to azcashdconfiguration file.--zcashd-datadir: A path to azcashddatadir. If this is provided, then--pathcan be relative (or omitted, in which case the default filenamezcash.confwill be used).
For the Zallet alpha releases, the command also currently takes another required flag
--this-is-alpha-code-and-you-will-need-to-redo-the-migration-later.
When run, Zallet will parse the zcashd config file, and migrate its various options to
equivalent Zallet config options. Non-wallet options will be ignored, and wallet options
that cannot be migrated will cause a warning to be printed to stdout.