generate_entropy_mnemonic

Function generate_entropy_mnemonic 

Source
pub fn generate_entropy_mnemonic(word_count: Option<WordCount>) -> Mnemonic
Expand description

Generates a random BIP 39 mnemonic with the specified word count.

If no word count is specified, defaults to 24 words (256-bit entropy).

The result may be used to initialize the Node entropy, i.e., can be given to Builder::set_entropy_bip39_mnemonic.