Module context

Module context 

Source

Structsยง

AppContext
DbMetadata ๐Ÿ”’

Functionsยง

create_password ๐Ÿ”’
Loops until the user provides two matching passwords.
create_state_manager ๐Ÿ”’
get_chain_config_and_set_network ๐Ÿ”’
get_or_create_p2p_keypair_and_peer_id ๐Ÿ”’
handle_admin_token ๐Ÿ”’
Generates, prints and optionally writes to a file the administrator JWT token.
input_password_to_load_encrypted_keystore ๐Ÿ”’
Prompts for password, looping until the KeyStore is successfully loaded.
load_or_create_keystore ๐Ÿ”’
This may:
load_or_create_keystore_and_configure_jwt ๐Ÿ”’
maybe_migrate_db ๐Ÿ”’
setup_db ๐Ÿ”’
This function configures database with below steps

Type Aliasesยง

DbType