The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/rust/agents/validator/src/settings.rs

18 lines
514 B

//! Configuration
use hyperlane_base::decl_settings;
use hyperlane_core::utils::StrOrInt;
decl_settings!(Validator {
// The name of the origin chain
originchainname: String,
/// The validator attestation signer
validator: hyperlane_base::SignerConf,
/// The checkpoint syncer configuration
checkpointsyncer: hyperlane_base::CheckpointSyncerConf,
/// The reorg_period in blocks
reorgperiod: StrOrInt,
/// How frequently to check for new checkpoints
interval: StrOrInt,
});