Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.CLI.Byron.UpdateProposal
Documentation
data ByronUpdateProposalError Source #
Constructors
Instances
Show ByronUpdateProposalError Source # | |
Defined in Cardano.CLI.Byron.UpdateProposal Methods showsPrec :: Int -> ByronUpdateProposalError -> ShowS # show :: ByronUpdateProposalError -> String # showList :: [ByronUpdateProposalError] -> ShowS # |
data ParametersToUpdate Source #
Constructors
ScriptVersion Word16 | |
SlotDuration Natural | |
MaxBlockSize Natural | |
MaxHeaderSize Natural | |
MaxTxSize Natural | |
MaxProposalSize Natural | |
MpcThd LovelacePortion | |
HeavyDelThd LovelacePortion | |
UpdateVoteThd LovelacePortion | UpdateVoteThd: This represents the minimum percentage of the total number of genesis keys that have to endorse a protocol version to be able to become adopted. |
UpdateProposalThd LovelacePortion | UpdateProposalTTL: If after the number of slots specified the proposal does not reach majority of approvals, the proposal is simply discarded. |
UpdateProposalTTL SlotNumber | |
SoftforkRuleParam SoftforkRule | |
TxFeePolicy TxFeePolicy | |
UnlockStakeEpoch EpochNumber |
Instances
Show ParametersToUpdate Source # | |
Defined in Cardano.CLI.Byron.UpdateProposal Methods showsPrec :: Int -> ParametersToUpdate -> ShowS # show :: ParametersToUpdate -> String # showList :: [ParametersToUpdate] -> ShowS # |
runProposalCreation :: NetworkId -> SigningKeyFile -> ProtocolVersion -> SoftwareVersion -> SystemTag -> InstallerHash -> FilePath -> [ParametersToUpdate] -> ExceptT ByronUpdateProposalError IO () Source #
createUpdateProposal :: NetworkId -> SigningKey -> ProtocolVersion -> SoftwareVersion -> SystemTag -> InstallerHash -> [ParametersToUpdate] -> Proposal Source #