Constantsยง
- CLIENT_
CONFIG - Client configuration file
- CLIENT_
INVITE_ CODE_ FILE - Client connection string file
- CONSENSUS_
CONFIG - Server consensus-only configurable file
- DB_FILE
- Database file name
- ENCRYPTED_
EXT - JSON_
EXT - LOCAL_
CONFIG - Server locally configurable file
- PLAINTEXT_
PASSWORD - Plain-text stored password, used to restart the server without having to send a password in via the API
- PRIVATE_
CONFIG - Server encrypted private keys file
- SALT_
FILE - Salt backup for combining with the private key
Functionsยง
- encrypted_
json_ ๐read - Reads an encrypted json file into a struct
- encrypted_
json_ ๐write - Writes struct into an encrypted json file
- plaintext_
display_ ๐write - plaintext_
json_ ๐read - Reads a plaintext json file into a struct
- plaintext_
json_ ๐write - Writes struct into a plaintext json file
- read_
server_ config - Reads the server from the local, private, and consensus cfg files
- write_
server_ config - Writes the server into configuration files (private keys encrypted)