Struct tendermint::config::NodeKey[][src]

pub struct NodeKey {
    pub priv_key: PrivateKey,
}
Expand description

P2P node private keys

Fields

priv_key: PrivateKey

Private key

Implementations

Parse node_key.json

Load node_key.json from a file

Get the public key for this keypair

Get node ID for this keypair

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.