tmkms 0.15.0

Tendermint Key Management System: provides isolated, optionally HSM-backed signing key management for Tendermint applications including validators, oracles, IBC relayers, and other transaction signing applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;
use std::ffi::OsString;

/// Configuration for a particular hook to invoke
#[derive(Default, Deserialize, Debug)]
#[serde(deny_unknown_fields)]
pub struct HookConfig {
    /// Command (with arguments) to invoke
    pub cmd: Vec<OsString>,

    /// Timeout (in seconds) to wait when executing the command (default 5)
    pub timeout_secs: Option<u64>,

    /// Whether or not to fail open or closed if this command fails to execute.
    /// Failing closed will prevent the KMS from starting if this command fails.
    pub fail_closed: bool,
}