Module sn_node::state_db [−][src]
Docs
Structs
Keypair | An ed25519 keypair. |
Constants
KEYPAIR_LENGTH | The length of an ed25519 |
Functions
get_network_keypair | Returns Some(KeyPair) or None if file doesn’t exist. |
get_reward_pk | Returns Some(PublicKey) or None if file doesn’t exist. |
pk_from_bytes | |
pk_from_hex | |
pk_to_hex | |
store_network_keypair | Writes the network keypair to disk. |
store_new_reward_keypair | Writes the public and secret key to different locations at disk. |