Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Static Public Member Functions | List of all members
graphene::wallet::utility Class Reference

#include <wallet.hpp>

Static Public Member Functions

static vector< brain_key_infoderive_owner_keys_from_brain_key (string brain_key, int number_of_desired_keys=1)
 
static brain_key_info suggest_brain_key ()
 

Detailed Description

Definition at line 262 of file wallet.hpp.

Member Function Documentation

◆ derive_owner_keys_from_brain_key()

vector< brain_key_info > graphene::wallet::utility::derive_owner_keys_from_brain_key ( string  brain_key,
int  number_of_desired_keys = 1 
)
static

Derive any number of possible owner keys from a given brain key.

NOTE: These keys may or may not match with the owner keys of any account. This function is merely intended to assist with account or key recovery.

See also
suggest_brain_key()
Parameters
brain_keyBrain key
number_of_desired_keysNumber of desired keys
Returns
A list of keys that are deterministically derived from the brainkey

Definition at line 2903 of file wallet.cpp.

◆ suggest_brain_key()

brain_key_info graphene::wallet::utility::suggest_brain_key ( )
static

Suggests a safe brain key to use for creating your account. create_account_with_brain_key() requires you to specify a 'brain key', a long passphrase that provides enough entropy to generate cyrptographic keys. This function will suggest a suitably random string that should be easy to write down (and, with effort, memorize).

Returns
a suggested brain_key

Definition at line 2925 of file wallet.cpp.


The documentation for this class was generated from the following files: