cardano-ledger-byron-0.1.0.0: The blockchain layer of Cardano during the Byron era
Safe Haskell None
Language Haskell2010

Cardano.Chain.Update.Proposal

Synopsis

Proposal

data AProposal a Source #

Proposal for software update

Instances

Instances details
Functor AProposal Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

ToCBOR Proposal Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

FromCBOR Proposal Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Eq a => Eq ( AProposal a) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Show a => Show ( AProposal a) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Generic ( AProposal a) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Associated Types

type Rep ( AProposal a) :: Type -> Type Source #

NFData a => NFData ( AProposal a) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

ToJSON a => ToJSON ( AProposal a) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Decoded ( AProposal ByteString ) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

FromCBOR ( AProposal ByteSpan ) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Buildable ( AProposal ()) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Buildable ( Proposal , [ Vote ]) Source #
Instance details

Defined in Cardano.Chain.Update.Vote

type Rep ( AProposal a) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

type BaseType ( AProposal ByteString ) Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

type UpId = Hash Proposal Source #

ID of software update proposal

Proposal Constructors

signProposal :: ProtocolMagicId -> ProposalBody -> SafeSigner -> Proposal Source #

Create an update Proposal , signing it with the provided safe signer.

Proposal Accessors

Proposal Formatting

ProposalBody

data ProposalBody Source #

Instances

Instances details
Eq ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Show ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

Generic ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

NFData ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

ToJSON ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

ToCBOR ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

FromCBOR ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

type Rep ProposalBody Source #
Instance details

Defined in Cardano.Chain.Update.Proposal

ProposalBody Binary Serialization

recoverProposalSignedBytes :: Annotated ProposalBody ByteString -> Annotated ProposalBody ByteString Source #

Prepend byte corresponding to `encodeListLen 5`, which was used during signing