Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bcc.Api.SpecialCole
Description
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
Constructors
ColeUpdateProposal | |
Fields
|
Instances
Eq ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole Methods (==) ∷ ColeUpdateProposal → ColeUpdateProposal → Bool Source # (/=) ∷ ColeUpdateProposal → ColeUpdateProposal → Bool Source # | |
Show ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole | |
HasTypeProxy ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole Associated Types data AsType ColeUpdateProposal Source # Methods proxyToAsType ∷ Proxy ColeUpdateProposal → AsType ColeUpdateProposal Source # | |
SerialiseAsRawBytes ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole | |
data AsType ColeUpdateProposal Source # | |
Defined in Bcc.Api.SpecialCole |
data ColeProtocolParametersUpdate Source #
Constructors
ColeProtocolParametersUpdate | |
Fields
|
Instances
Show ColeProtocolParametersUpdate Source # | |
Defined in Bcc.Api.SpecialCole |
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
Constructors
ColeVote | |
Fields
|
Instances
Eq ColeVote Source # | |
Show ColeVote Source # | |
HasTypeProxy ColeVote Source # | |
SerialiseAsRawBytes ColeVote Source # | |
Defined in Bcc.Api.SpecialCole Methods serialiseToRawBytes ∷ ColeVote → ByteString Source # deserialiseFromRawBytes ∷ AsType ColeVote → ByteString → Maybe ColeVote Source # | |
data AsType ColeVote Source # | |
Defined in Bcc.Api.SpecialCole |
makeColeUpdateProposal ∷ NetworkId → ProtocolVersion → SoftwareVersion → SystemTag → InstallerHash → SomeColeSigningKey → ColeProtocolParametersUpdate → ColeUpdateProposal Source #
toColeLedgertoColeVote ∷ ColeVote → GenTx ColeBlock Source #