Safe Haskell | None |
---|---|
Language | Haskell2010 |
Special Byron values that we can submit to a node to propose an update proposal or to vote on an update proposal. These are not transactions.
Synopsis
- newtype ByronUpdateProposal = ByronUpdateProposal {}
- data ByronProtocolParametersUpdate = ByronProtocolParametersUpdate {
- bPpuScriptVersion :: !(Maybe Word16)
- bPpuSlotDuration :: !(Maybe Natural)
- bPpuMaxBlockSize :: !(Maybe Natural)
- bPpuMaxHeaderSize :: !(Maybe Natural)
- bPpuMaxTxSize :: !(Maybe Natural)
- bPpuMaxProposalSize :: !(Maybe Natural)
- bPpuMpcThd :: !(Maybe LovelacePortion)
- bPpuHeavyDelThd :: !(Maybe LovelacePortion)
- bPpuUpdateVoteThd :: !(Maybe LovelacePortion)
- bPpuUpdateProposalThd :: !(Maybe LovelacePortion)
- bPpuUpdateProposalTTL :: !(Maybe SlotNumber)
- bPpuSoftforkRule :: !(Maybe SoftforkRule)
- bPpuTxFeePolicy :: !(Maybe TxFeePolicy)
- bPpuUnlockStakeEpoch :: !(Maybe EpochNumber)
- data family AsType t
- makeProtocolParametersUpdate :: ByronProtocolParametersUpdate -> ProtocolParametersUpdate
- toByronLedgerUpdateProposal :: ByronUpdateProposal -> GenTx ByronBlock
- newtype ByronVote = ByronVote {}
- makeByronUpdateProposal :: NetworkId -> ProtocolVersion -> SoftwareVersion -> SystemTag -> InstallerHash -> SomeByronSigningKey -> ByronProtocolParametersUpdate -> ByronUpdateProposal
- makeByronVote :: NetworkId -> SomeByronSigningKey -> ByronUpdateProposal -> Bool -> ByronVote
- toByronLedgertoByronVote :: ByronVote -> GenTx ByronBlock
- applicationName :: ApplicationName
- applicationVersion :: NumSoftwareVersion
- softwareVersion :: SoftwareVersion
Documentation
newtype ByronUpdateProposal Source #
Byron era update proposal
Instances
Show ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.SpecialByron | |||||
HasTypeProxy ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.SpecialByron
| |||||
SerialiseAsRawBytes ByronUpdateProposal Source # | |||||
Eq ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.SpecialByron (==) :: ByronUpdateProposal -> ByronUpdateProposal -> Bool Source # (/=) :: ByronUpdateProposal -> ByronUpdateProposal -> Bool Source # | |||||
data AsType ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.SpecialByron |
data ByronProtocolParametersUpdate Source #
ByronProtocolParametersUpdate | |
|
Instances
A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.
Values of this type are passed to deserialisation functions for example.
Instances
Byron era votes
Instances
Show ByronVote Source # | |||||
HasTypeProxy ByronVote Source # | |||||
Defined in Cardano.Api.SpecialByron
| |||||
SerialiseAsRawBytes ByronVote Source # | |||||
Eq ByronVote Source # | |||||
data AsType ByronVote Source # | |||||
Defined in Cardano.Api.SpecialByron |
makeByronUpdateProposal :: NetworkId -> ProtocolVersion -> SoftwareVersion -> SystemTag -> InstallerHash -> SomeByronSigningKey -> ByronProtocolParametersUpdate -> ByronUpdateProposal Source #
makeByronVote :: NetworkId -> SomeByronSigningKey -> ByronUpdateProposal -> Bool -> ByronVote Source #
applicationName :: ApplicationName Source #
An application name. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.
applicationVersion :: NumSoftwareVersion Source #
An application version. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.
softwareVersion :: SoftwareVersion Source #
A software version composed of applicationVersion
and applicationName
.
It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.