penumbra_sdk_stake/component/mod.rs
1pub mod action_handler;
2mod epoch_handler;
3pub mod metrics;
4pub mod rpc;
5pub mod stake;
6pub mod validator_handler;
7
8pub use self::{
9 metrics::register_metrics,
10 stake::{ConsensusIndexRead, SlashingData, Staking, StateReadExt, StateWriteExt},
11};
12
13// Max validator power is 1152921504606846975 (i64::MAX / 8)
14// https://github.com/tendermint/tendermint/blob/master/types/validator_set.go#L25
15pub const MAX_VOTING_POWER: u128 = 1152921504606846975;