Safe Haskell | None |
---|---|
Language | Haskell2010 |
Special Cole 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 ColeUpdateProposal = ColeUpdateProposal {
- unColeUpdateProposal ∷ AProposal ByteString
- data ColeProtocolParametersUpdate = ColeProtocolParametersUpdate {
- bPpuScriptVersion ∷ !(Maybe Word16)
- bPpuSlotDuration ∷ !(Maybe Natural)
- bPpuMaxBlockSize ∷ !(Maybe Natural)
- bPpuMaxHeaderSize ∷ !(Maybe Natural)
- bPpuMaxTxSize ∷ !(Maybe Natural)
- bPpuMaxProposalSize ∷ !(Maybe Natural)
- bPpuMpcThd ∷ !(Maybe EntropicPortion)
- bPpuHeavyDelThd ∷ !(Maybe EntropicPortion)
- bPpuUpdateVoteThd ∷ !(Maybe EntropicPortion)
- bPpuUpdateProposalThd ∷ !(Maybe EntropicPortion)
- bPpuUpdateProposalTTL ∷ !(Maybe SlotNumber)
- bPpuSoftforkRule ∷ !(Maybe SoftforkRule)
- bPpuTxFeePolicy ∷ !(Maybe TxFeePolicy)
- bPpuUnlockStakeEpoch ∷ !(Maybe EpochNumber)
- data family AsType t
- makeProtocolParametersUpdate ∷ ColeProtocolParametersUpdate → ProtocolParametersUpdate
- toColeLedgerUpdateProposal ∷ ColeUpdateProposal → GenTx ColeBlock
- newtype ColeVote = ColeVote {
- unColeVote ∷ AVote ByteString
- makeColeUpdateProposal ∷ NetworkId → ProtocolVersion → SoftwareVersion → SystemTag → InstallerHash → SomeColeSigningKey → ColeProtocolParametersUpdate → ColeUpdateProposal
- makeColeVote ∷ NetworkId → SomeColeSigningKey → ColeUpdateProposal → Bool → ColeVote
- toColeLedgertoColeVote ∷ ColeVote → GenTx ColeBlock
Documentation
newtype ColeUpdateProposal Source #
Cole era update proposal
ColeUpdateProposal | |
|
Instances
Eq ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole | |
Show ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole | |
HasTypeProxy ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole data AsType ColeUpdateProposal Source # | |
SerialiseAsRawBytes ColeUpdateProposal Source # | |
data AsType ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole |
data ColeProtocolParametersUpdate Source #
ColeProtocolParametersUpdate | |
|
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 ∷ ColeProtocolParametersUpdate → ProtocolParametersUpdate Source #
toColeLedgerUpdateProposal ∷ ColeUpdateProposal → GenTx ColeBlock Source #
Cole era votes
ColeVote | |
|
makeColeUpdateProposal ∷ NetworkId → ProtocolVersion → SoftwareVersion → SystemTag → InstallerHash → SomeColeSigningKey → ColeProtocolParametersUpdate → ColeUpdateProposal Source #
toColeLedgertoColeVote ∷ ColeVote → GenTx ColeBlock Source #