pub async fn run_daemon(passphrase: Option<String>) -> BpResult<()>Expand description
Start the daemon process. This function blocks until the daemon is killed.
passphrase is forwarded to Identity::load. Pass None for
plaintext identities; pass Some(p) when the identity was created with
--passphrase. As a convenience the daemon also checks the
BP_PASSPHRASE environment variable when passphrase is None.