Enum jormungandr_lib::interfaces::ConfigParam
source · pub enum ConfigParam {
Show 26 variants
Block0Date(SecondsSinceUnixEpoch),
Discrimination(Discrimination),
ConsensusVersion(ConsensusVersion),
SlotsPerEpoch(NumberOfSlotsPerEpoch),
SlotDuration(SlotDuration),
EpochStabilityDepth(EpochStabilityDepth),
ConsensusGenesisPraosActiveSlotsCoeff(ActiveSlotCoefficient),
BlockContentMaxSize(BlockContentMaxSize),
AddBftLeader(ConsensusLeaderId),
RemoveBftLeader(ConsensusLeaderId),
LinearFee(LinearFee),
ProposalExpiration(ProposalExpiration),
KesUpdateSpeed(KesUpdateSpeed),
TreasuryAdd(Value),
TreasuryParams(TaxType),
RewardPot(Value),
RewardParams(RewardParams),
PerCertificateFees(PerCertificateFee),
FeesInTreasury(FeesGoTo),
RewardLimitNone,
RewardLimitByAbsoluteStake(Ratio),
PoolRewardParticipationCapping(PoolParticipationCapping),
AddCommitteeId(CommitteeIdDef),
RemoveCommitteeId(CommitteeIdDef),
PerVoteCertificateFees(PerVoteCertificateFee),
TransactionMaxExpiryEpochs(u8),
}
Variants§
Block0Date(SecondsSinceUnixEpoch)
Discrimination(Discrimination)
ConsensusVersion(ConsensusVersion)
SlotsPerEpoch(NumberOfSlotsPerEpoch)
SlotDuration(SlotDuration)
EpochStabilityDepth(EpochStabilityDepth)
ConsensusGenesisPraosActiveSlotsCoeff(ActiveSlotCoefficient)
BlockContentMaxSize(BlockContentMaxSize)
AddBftLeader(ConsensusLeaderId)
RemoveBftLeader(ConsensusLeaderId)
LinearFee(LinearFee)
ProposalExpiration(ProposalExpiration)
KesUpdateSpeed(KesUpdateSpeed)
TreasuryAdd(Value)
TreasuryParams(TaxType)
RewardPot(Value)
RewardParams(RewardParams)
PerCertificateFees(PerCertificateFee)
FeesInTreasury(FeesGoTo)
RewardLimitNone
RewardLimitByAbsoluteStake(Ratio)
PoolRewardParticipationCapping(PoolParticipationCapping)
AddCommitteeId(CommitteeIdDef)
RemoveCommitteeId(CommitteeIdDef)
PerVoteCertificateFees(PerVoteCertificateFee)
TransactionMaxExpiryEpochs(u8)
Trait Implementations§
source§impl Clone for ConfigParam
impl Clone for ConfigParam
source§fn clone(&self) -> ConfigParam
fn clone(&self) -> ConfigParam
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConfigParam
impl Debug for ConfigParam
source§impl<'de> Deserialize<'de> for ConfigParam
impl<'de> Deserialize<'de> for ConfigParam
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ConfigParam> for ConfigParam
impl From<ConfigParam> for ConfigParam
source§fn from(config: ConfigParam) -> Self
fn from(config: ConfigParam) -> Self
Converts to this type from the input type.
source§impl PartialEq<ConfigParam> for ConfigParam
impl PartialEq<ConfigParam> for ConfigParam
source§fn eq(&self, other: &ConfigParam) -> bool
fn eq(&self, other: &ConfigParam) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigParam
impl Serialize for ConfigParam
source§impl TryFrom<ConfigParam> for ConfigParam
impl TryFrom<ConfigParam> for ConfigParam
impl Eq for ConfigParam
impl StructuralEq for ConfigParam
impl StructuralPartialEq for ConfigParam
Auto Trait Implementations§
impl RefUnwindSafe for ConfigParam
impl Send for ConfigParam
impl Sync for ConfigParam
impl Unpin for ConfigParam
impl UnwindSafe for ConfigParam
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more