pub trait SetupGeneration {
// Required method
fn setup_generation(&mut self, force: Option<bool>) -> bool;
}
Required Methods§
sourcefn setup_generation(&mut self, force: Option<bool>) -> bool
fn setup_generation(&mut self, force: Option<bool>) -> bool
| Sets up the key generation stuff, i.e. | generates new HD seeds and sets them | as active. | | Returns false if already setup or setup | fails, true if setup is successful | | Set force=true to make it re-setup if | already setup, used for upgrades |