Function sn_node::state_db::store_new_reward_keypair [−][src]
pub async fn store_new_reward_keypair(
root_dir: &Path,
secret: &SecretKey,
public: &PublicKey
) -> Result<()>
Writes the public and secret key to different locations at disk.