Documentation ¶
Index ¶
- type Proposal
- func (p *Proposal) BasicCheck() error
- func (p *Proposal) Block() *block.Block
- func (p *Proposal) Hash() hash.Hash
- func (p *Proposal) Height() uint32
- func (p *Proposal) IsForBlock(hash hash.Hash) bool
- func (p *Proposal) MarshalCBOR() ([]byte, error)
- func (p *Proposal) Round() int16
- func (p *Proposal) SetSignature(sig *bls.Signature)
- func (p *Proposal) SignBytes() []byte
- func (p *Proposal) Signature() crypto.Signature
- func (p Proposal) String() string
- func (p *Proposal) UnmarshalCBOR(bs []byte) error
- func (p *Proposal) Verify(pubKey crypto.PublicKey) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proposal ¶
type Proposal struct {
// contains filtered or unexported fields
}
func (*Proposal) BasicCheck ¶ added in v0.15.0
func (*Proposal) MarshalCBOR ¶
func (*Proposal) SetSignature ¶
func (*Proposal) UnmarshalCBOR ¶
Click to show internal directories.
Click to hide internal directories.