Module safe_network::node::state_db[][src]

Expand description

Docs

Structs

An ed25519 keypair.

An ed25519 public key.

An EdDSA secret key.

Constants

The length of an ed25519 Keypair, in bytes.

The length of an ed25519 PublicKey, in bytes.

Functions

Returns Some(KeyPair) or None if file doesn’t exist.

Returns Some(PublicKey) or None if file doesn’t exist. It assumes it’s hex-encoded.

Writes the network keypair to disk.

Writes the public and secret key (hex-encoded) to different locations at disk.