Constantsยง
- Client configuration file
- Client connection string file
- Server consensus-only configurable file
- Database file name
- Server locally configurable file
- Plain-text stored password, used to restart the server without having to send a password in via the API
- Server encrypted private keys 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_
json_ ๐read Reads a plaintext json file into a struct - plaintext_
json_ ๐write Writes struct into a plaintext json file - Reads the server from the local, private, and consensus cfg files
- Writes the server into configuration files (private keys encrypted)