Module forest_filecoin::daemon
source ยท Modulesยง
Constantsยง
- GC_INTERVAL ๐
Staticsยง
- IPC_PATH ๐
Functionsยง
- asyncify ๐Run the closure on a thread where blocking is allowed
- create_password ๐Loops until the user provides two matching passwords.
- display_chain_logo ๐Displays the network logo/ASCII art if available.
- handle_admin_token ๐Generates, prints and optionally writes to a file the administrator JWT token.
- Prompts for password, looping until the
KeyStore
is successfully loaded. - This may:
- Increase the file descriptor limit to a reasonable number. This prevents the node from failing if the default soft limit is too low. Note that the value is only increased, never decreased.
- propagate_error ๐returns the first error with which any of the services end, or never returns at all
- If our current chain is below a supported height, we need a snapshot to bring it up to a supported height. If weโve not been given a snapshot by the user, get one.
- start ๐Starts daemon process