Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Api.SpecialByron
Description
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 {
- unByronUpdateProposal ∷ AProposal ByteString
- 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 {
- unByronVote ∷ AVote ByteString
- makeByronUpdateProposal ∷ NetworkId → ProtocolVersion → SoftwareVersion → SystemTag → InstallerHash → SomeByronSigningKey → ByronProtocolParametersUpdate → ByronUpdateProposal
- makeByronVote ∷ NetworkId → SomeByronSigningKey → ByronUpdateProposal → Bool → ByronVote
- toByronLedgertoByronVote ∷ ByronVote → GenTx ByronBlock
Documentation
newtype ByronUpdateProposal Source #
Byron era update proposal
Constructors
ByronUpdateProposal | |
Fields
|
Instances
Show ByronUpdateProposal Source # | |
Defined in Cardano.Api.SpecialByron | |
HasTypeProxy ByronUpdateProposal Source # | |
Defined in Cardano.Api.SpecialByron Associated Types data AsType ByronUpdateProposal Source # | |
SerialiseAsRawBytes ByronUpdateProposal Source # | |
Eq ByronUpdateProposal Source # | |
Defined in Cardano.Api.SpecialByron Methods (==) ∷ ByronUpdateProposal → ByronUpdateProposal → Bool Source # (/=) ∷ ByronUpdateProposal → ByronUpdateProposal → Bool Source # | |
data AsType ByronUpdateProposal Source # | |
Defined in Cardano.Api.SpecialByron |
data ByronProtocolParametersUpdate Source #
Constructors
ByronProtocolParametersUpdate | |
Fields
|
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
makeProtocolParametersUpdate ∷ ByronProtocolParametersUpdate → ProtocolParametersUpdate Source #
toByronLedgerUpdateProposal ∷ ByronUpdateProposal → GenTx ByronBlock Source #
Byron era votes
Constructors
ByronVote | |
Fields
|
makeByronUpdateProposal ∷ NetworkId → ProtocolVersion → SoftwareVersion → SystemTag → InstallerHash → SomeByronSigningKey → ByronProtocolParametersUpdate → ByronUpdateProposal Source #
toByronLedgertoByronVote ∷ ByronVote → GenTx ByronBlock Source #