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
KeyStoreis 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