Documentation ¶
Index ¶
- Constants
- Variables
- type BClaims
- func (s BClaims) ChainID() uint32
- func (s BClaims) HasHeaderRoot() bool
- func (s BClaims) HasPrevBlock() bool
- func (s BClaims) HasStateRoot() bool
- func (s BClaims) HasTxRoot() bool
- func (s BClaims) HeaderRoot() []byte
- func (s BClaims) Height() uint32
- func (s BClaims) PrevBlock() []byte
- func (s BClaims) SetChainID(v uint32)
- func (s BClaims) SetHeaderRoot(v []byte) error
- func (s BClaims) SetHeight(v uint32)
- func (s BClaims) SetPrevBlock(v []byte) error
- func (s BClaims) SetStateRoot(v []byte) error
- func (s BClaims) SetTxCount(v uint32)
- func (s BClaims) SetTxRoot(v []byte) error
- func (s BClaims) StateRoot() []byte
- func (s BClaims) String() string
- func (s BClaims) TxCount() uint32
- func (s BClaims) TxRoot() []byte
- type BClaims_List
- type BClaims_Promise
- type BlockHeader
- func (s BlockHeader) BClaims() BClaims
- func (s BlockHeader) HasBClaims() bool
- func (s BlockHeader) HasSigGroup() bool
- func (s BlockHeader) HasTxHshLst() bool
- func (s BlockHeader) NewBClaims() (BClaims, error)
- func (s BlockHeader) SetBClaims(v BClaims) error
- func (s BlockHeader) SetSigGroup(v []byte) error
- func (s BlockHeader) SetTxHshLst(v []byte) error
- func (s BlockHeader) SigGroup() []byte
- func (s BlockHeader) String() string
- func (s BlockHeader) TxHshLst() []byte
- type BlockHeader_List
- type BlockHeader_Promise
- type EncryptedStore
- func (s EncryptedStore) CypherText() []byte
- func (s EncryptedStore) HasCypherText() bool
- func (s EncryptedStore) HasKid() bool
- func (s EncryptedStore) HasName() bool
- func (s EncryptedStore) HasNonce() bool
- func (s EncryptedStore) Kid() []byte
- func (s EncryptedStore) Name() []byte
- func (s EncryptedStore) Nonce() []byte
- func (s EncryptedStore) SetCypherText(v []byte) error
- func (s EncryptedStore) SetKid(v []byte) error
- func (s EncryptedStore) SetName(v []byte) error
- func (s EncryptedStore) SetNonce(v []byte) error
- func (s EncryptedStore) String() string
- type EncryptedStore_List
- type EncryptedStore_Promise
- type NHClaims
- func (s NHClaims) HasProposal() bool
- func (s NHClaims) HasSigShare() bool
- func (s NHClaims) NewProposal() (Proposal, error)
- func (s NHClaims) Proposal() Proposal
- func (s NHClaims) SetProposal(v Proposal) error
- func (s NHClaims) SetSigShare(v []byte) error
- func (s NHClaims) SigShare() []byte
- func (s NHClaims) String() string
- type NHClaims_List
- type NHClaims_Promise
- type NRClaims
- func (s NRClaims) HasRCert() bool
- func (s NRClaims) HasRClaims() bool
- func (s NRClaims) HasSigShare() bool
- func (s NRClaims) NewRCert() (RCert, error)
- func (s NRClaims) NewRClaims() (RClaims, error)
- func (s NRClaims) RCert() RCert
- func (s NRClaims) RClaims() RClaims
- func (s NRClaims) SetRCert(v RCert) error
- func (s NRClaims) SetRClaims(v RClaims) error
- func (s NRClaims) SetSigShare(v []byte) error
- func (s NRClaims) SigShare() []byte
- func (s NRClaims) String() string
- type NRClaims_List
- type NRClaims_Promise
- type NextHeight
- func (s NextHeight) HasNHClaims() bool
- func (s NextHeight) HasPreCommits() bool
- func (s NextHeight) HasSignature() bool
- func (s NextHeight) NHClaims() NHClaims
- func (s NextHeight) NewNHClaims() (NHClaims, error)
- func (s NextHeight) PreCommits() []byte
- func (s NextHeight) SetNHClaims(v NHClaims) error
- func (s NextHeight) SetPreCommits(v []byte) error
- func (s NextHeight) SetSignature(v []byte) error
- func (s NextHeight) Signature() []byte
- func (s NextHeight) String() string
- type NextHeight_List
- type NextHeight_Promise
- type NextRound
- func (s NextRound) HasNRClaims() bool
- func (s NextRound) HasSignature() bool
- func (s NextRound) NRClaims() NRClaims
- func (s NextRound) NewNRClaims() (NRClaims, error)
- func (s NextRound) SetNRClaims(v NRClaims) error
- func (s NextRound) SetSignature(v []byte) error
- func (s NextRound) Signature() []byte
- func (s NextRound) String() string
- type NextRound_List
- type NextRound_Promise
- type OwnState
- func (s OwnState) CanonicalSnapShot() BlockHeader
- func (s OwnState) GroupKey() []byte
- func (s OwnState) HasCanonicalSnapShot() bool
- func (s OwnState) HasGroupKey() bool
- func (s OwnState) HasMaxBHSeen() bool
- func (s OwnState) HasPendingSnapShot() bool
- func (s OwnState) HasSyncToBH() bool
- func (s OwnState) HasVAddr() bool
- func (s OwnState) MaxBHSeen() BlockHeader
- func (s OwnState) NewCanonicalSnapShot() (BlockHeader, error)
- func (s OwnState) NewMaxBHSeen() (BlockHeader, error)
- func (s OwnState) NewPendingSnapShot() (BlockHeader, error)
- func (s OwnState) NewSyncToBH() (BlockHeader, error)
- func (s OwnState) PendingSnapShot() BlockHeader
- func (s OwnState) SetCanonicalSnapShot(v BlockHeader) error
- func (s OwnState) SetGroupKey(v []byte) error
- func (s OwnState) SetMaxBHSeen(v BlockHeader) error
- func (s OwnState) SetPendingSnapShot(v BlockHeader) error
- func (s OwnState) SetSyncToBH(v BlockHeader) error
- func (s OwnState) SetVAddr(v []byte) error
- func (s OwnState) String() string
- func (s OwnState) SyncToBH() BlockHeader
- func (s OwnState) VAddr() []byte
- type OwnState_List
- type OwnState_Promise
- type OwnValidatingState
- func (s OwnValidatingState) GroupKey() []byte
- func (s OwnValidatingState) HasGroupKey() bool
- func (s OwnValidatingState) HasLockedValue() bool
- func (s OwnValidatingState) HasVAddr() bool
- func (s OwnValidatingState) HasValidValue() bool
- func (s OwnValidatingState) LockedValue() Proposal
- func (s OwnValidatingState) NewLockedValue() (Proposal, error)
- func (s OwnValidatingState) NewValidValue() (Proposal, error)
- func (s OwnValidatingState) PreCommitStepStarted() int64
- func (s OwnValidatingState) PreVoteStepStarted() int64
- func (s OwnValidatingState) RoundStarted() int64
- func (s OwnValidatingState) SetGroupKey(v []byte) error
- func (s OwnValidatingState) SetLockedValue(v Proposal) error
- func (s OwnValidatingState) SetPreCommitStepStarted(v int64)
- func (s OwnValidatingState) SetPreVoteStepStarted(v int64)
- func (s OwnValidatingState) SetRoundStarted(v int64)
- func (s OwnValidatingState) SetVAddr(v []byte) error
- func (s OwnValidatingState) SetValidValue(v Proposal) error
- func (s OwnValidatingState) String() string
- func (s OwnValidatingState) VAddr() []byte
- func (s OwnValidatingState) ValidValue() Proposal
- type OwnValidatingState_List
- type OwnValidatingState_Promise
- type PClaims
- func (s PClaims) BClaims() BClaims
- func (s PClaims) HasBClaims() bool
- func (s PClaims) HasRCert() bool
- func (s PClaims) NewBClaims() (BClaims, error)
- func (s PClaims) NewRCert() (RCert, error)
- func (s PClaims) RCert() RCert
- func (s PClaims) SetBClaims(v BClaims) error
- func (s PClaims) SetRCert(v RCert) error
- func (s PClaims) String() string
- type PClaims_List
- type PClaims_Promise
- type PreCommit
- func (s PreCommit) HasPreVotes() bool
- func (s PreCommit) HasProposal() bool
- func (s PreCommit) HasSignature() bool
- func (s PreCommit) NewProposal() (Proposal, error)
- func (s PreCommit) PreVotes() []byte
- func (s PreCommit) Proposal() Proposal
- func (s PreCommit) SetPreVotes(v []byte) error
- func (s PreCommit) SetProposal(v Proposal) error
- func (s PreCommit) SetSignature(v []byte) error
- func (s PreCommit) Signature() []byte
- func (s PreCommit) String() string
- type PreCommitNil
- func (s PreCommitNil) HasRCert() bool
- func (s PreCommitNil) HasSignature() bool
- func (s PreCommitNil) NewRCert() (RCert, error)
- func (s PreCommitNil) RCert() RCert
- func (s PreCommitNil) SetRCert(v RCert) error
- func (s PreCommitNil) SetSignature(v []byte) error
- func (s PreCommitNil) Signature() []byte
- func (s PreCommitNil) String() string
- type PreCommitNil_List
- type PreCommitNil_Promise
- type PreCommit_List
- type PreCommit_Promise
- type PreVote
- func (s PreVote) HasProposal() bool
- func (s PreVote) HasSignature() bool
- func (s PreVote) NewProposal() (Proposal, error)
- func (s PreVote) Proposal() Proposal
- func (s PreVote) SetProposal(v Proposal) error
- func (s PreVote) SetSignature(v []byte) error
- func (s PreVote) Signature() []byte
- func (s PreVote) String() string
- type PreVoteNil
- func (s PreVoteNil) HasRCert() bool
- func (s PreVoteNil) HasSignature() bool
- func (s PreVoteNil) NewRCert() (RCert, error)
- func (s PreVoteNil) RCert() RCert
- func (s PreVoteNil) SetRCert(v RCert) error
- func (s PreVoteNil) SetSignature(v []byte) error
- func (s PreVoteNil) Signature() []byte
- func (s PreVoteNil) String() string
- type PreVoteNil_List
- type PreVoteNil_Promise
- type PreVote_List
- type PreVote_Promise
- type Proposal
- func (s Proposal) HasPClaims() bool
- func (s Proposal) HasSignature() bool
- func (s Proposal) HasTxHshLst() bool
- func (s Proposal) NewPClaims() (PClaims, error)
- func (s Proposal) PClaims() PClaims
- func (s Proposal) SetPClaims(v PClaims) error
- func (s Proposal) SetSignature(v []byte) error
- func (s Proposal) SetTxHshLst(v []byte) error
- func (s Proposal) Signature() []byte
- func (s Proposal) String() string
- func (s Proposal) TxHshLst() []byte
- type Proposal_List
- type Proposal_Promise
- type RCert
- type RCert_List
- type RCert_Promise
- type RClaims
- func (s RClaims) ChainID() uint32
- func (s RClaims) HasPrevBlock() bool
- func (s RClaims) Height() uint32
- func (s RClaims) PrevBlock() []byte
- func (s RClaims) Round() uint32
- func (s RClaims) SetChainID(v uint32)
- func (s RClaims) SetHeight(v uint32)
- func (s RClaims) SetPrevBlock(v []byte) error
- func (s RClaims) SetRound(v uint32)
- func (s RClaims) String() string
- type RClaims_List
- type RClaims_Promise
- type RoundState
- func (s RoundState) ConflictingNextHeight() NextHeight
- func (s RoundState) ConflictingPreCommit() PreCommit
- func (s RoundState) ConflictingPreVote() PreVote
- func (s RoundState) ConflictingProposal() Proposal
- func (s RoundState) ConflictingRCert() RCert
- func (s RoundState) GroupIdx() uint8
- func (s RoundState) GroupKey() []byte
- func (s RoundState) GroupShare() []byte
- func (s RoundState) HasConflictingNextHeight() bool
- func (s RoundState) HasConflictingPreCommit() bool
- func (s RoundState) HasConflictingPreVote() bool
- func (s RoundState) HasConflictingProposal() bool
- func (s RoundState) HasConflictingRCert() bool
- func (s RoundState) HasGroupKey() bool
- func (s RoundState) HasGroupShare() bool
- func (s RoundState) HasNextHeight() bool
- func (s RoundState) HasNextRound() bool
- func (s RoundState) HasPreCommit() bool
- func (s RoundState) HasPreCommitNil() bool
- func (s RoundState) HasPreVote() bool
- func (s RoundState) HasPreVoteNil() bool
- func (s RoundState) HasProposal() bool
- func (s RoundState) HasRCert() bool
- func (s RoundState) HasVAddr() bool
- func (s RoundState) ImplicitPCN() bool
- func (s RoundState) ImplicitPVN() bool
- func (s RoundState) NewConflictingNextHeight() (NextHeight, error)
- func (s RoundState) NewConflictingPreCommit() (PreCommit, error)
- func (s RoundState) NewConflictingPreVote() (PreVote, error)
- func (s RoundState) NewConflictingProposal() (Proposal, error)
- func (s RoundState) NewConflictingRCert() (RCert, error)
- func (s RoundState) NewNextHeight() (NextHeight, error)
- func (s RoundState) NewNextRound() (NextRound, error)
- func (s RoundState) NewPreCommit() (PreCommit, error)
- func (s RoundState) NewPreCommitNil() (PreCommitNil, error)
- func (s RoundState) NewPreVote() (PreVote, error)
- func (s RoundState) NewPreVoteNil() (PreVoteNil, error)
- func (s RoundState) NewProposal() (Proposal, error)
- func (s RoundState) NewRCert() (RCert, error)
- func (s RoundState) NextHeight() NextHeight
- func (s RoundState) NextRound() NextRound
- func (s RoundState) PreCommit() PreCommit
- func (s RoundState) PreCommitNil() PreCommitNil
- func (s RoundState) PreVote() PreVote
- func (s RoundState) PreVoteNil() PreVoteNil
- func (s RoundState) Proposal() Proposal
- func (s RoundState) RCert() RCert
- func (s RoundState) SetConflictingNextHeight(v NextHeight) error
- func (s RoundState) SetConflictingPreCommit(v PreCommit) error
- func (s RoundState) SetConflictingPreVote(v PreVote) error
- func (s RoundState) SetConflictingProposal(v Proposal) error
- func (s RoundState) SetConflictingRCert(v RCert) error
- func (s RoundState) SetGroupIdx(v uint8)
- func (s RoundState) SetGroupKey(v []byte) error
- func (s RoundState) SetGroupShare(v []byte) error
- func (s RoundState) SetImplicitPCN(v bool)
- func (s RoundState) SetImplicitPVN(v bool)
- func (s RoundState) SetNextHeight(v NextHeight) error
- func (s RoundState) SetNextRound(v NextRound) error
- func (s RoundState) SetPreCommit(v PreCommit) error
- func (s RoundState) SetPreCommitNil(v PreCommitNil) error
- func (s RoundState) SetPreVote(v PreVote) error
- func (s RoundState) SetPreVoteNil(v PreVoteNil) error
- func (s RoundState) SetProposal(v Proposal) error
- func (s RoundState) SetRCert(v RCert) error
- func (s RoundState) SetVAddr(v []byte) error
- func (s RoundState) String() string
- func (s RoundState) VAddr() []byte
- type RoundState_List
- type RoundState_Promise
- func (p RoundState_Promise) ConflictingNextHeight() NextHeight_Promise
- func (p RoundState_Promise) ConflictingPreCommit() PreCommit_Promise
- func (p RoundState_Promise) ConflictingPreVote() PreVote_Promise
- func (p RoundState_Promise) ConflictingProposal() Proposal_Promise
- func (p RoundState_Promise) ConflictingRCert() RCert_Promise
- func (p RoundState_Promise) NextHeight() NextHeight_Promise
- func (p RoundState_Promise) NextRound() NextRound_Promise
- func (p RoundState_Promise) PreCommit() PreCommit_Promise
- func (p RoundState_Promise) PreCommitNil() PreCommitNil_Promise
- func (p RoundState_Promise) PreVote() PreVote_Promise
- func (p RoundState_Promise) PreVoteNil() PreVoteNil_Promise
- func (p RoundState_Promise) Proposal() Proposal_Promise
- func (p RoundState_Promise) RCert() RCert_Promise
- func (p RoundState_Promise) Struct() (RoundState, error)
- type Validator
- type ValidatorSet
- func (s ValidatorSet) GroupKey() []byte
- func (s ValidatorSet) HasGroupKey() bool
- func (s ValidatorSet) HasValidators() bool
- func (s ValidatorSet) NewValidators(n int32) (Validator_List, error)
- func (s ValidatorSet) NotBefore() uint32
- func (s ValidatorSet) SetGroupKey(v []byte) error
- func (s ValidatorSet) SetNotBefore(v uint32)
- func (s ValidatorSet) SetValidators(v Validator_List) error
- func (s ValidatorSet) String() string
- func (s ValidatorSet) Validators() (Validator_List, error)
- type ValidatorSet_List
- type ValidatorSet_Promise
- type Validator_List
- type Validator_Promise
Constants ¶
const ( DefaultRound = uint32(0) DefaultHeight = uint32(0) DefaultChainID = uint32(0) DefaultNumberTransactions = uint32(0) )
Constants defined in consensus.capnp.
const BClaims_TypeID = 0x9113e3f94e338143
BClaims_TypeID is the unique identifier for the type BClaims.
const BlockHeader_TypeID = 0xcbaccef171f6e853
BlockHeader_TypeID is the unique identifier for the type BlockHeader.
const EncryptedStore_TypeID = 0xdfd8af3691b0caaa
EncryptedStore_TypeID is the unique identifier for the type EncryptedStore.
const NHClaims_TypeID = 0xcc032017c6d81c9e
NHClaims_TypeID is the unique identifier for the type NHClaims.
const NRClaims_TypeID = 0xa5bcb08c7a601f19
NRClaims_TypeID is the unique identifier for the type NRClaims.
const NextHeight_TypeID = 0xf15d280e55952413
NextHeight_TypeID is the unique identifier for the type NextHeight.
const NextRound_TypeID = 0xdf3021ba1919105b
NextRound_TypeID is the unique identifier for the type NextRound.
const OwnState_TypeID = 0xce8da0c591f7b39f
OwnState_TypeID is the unique identifier for the type OwnState.
const OwnValidatingState_TypeID = 0xd7dde404fa3b5b03
OwnValidatingState_TypeID is the unique identifier for the type OwnValidatingState.
const PClaims_TypeID = 0x9a7cf3b8ccdd561f
PClaims_TypeID is the unique identifier for the type PClaims.
const PreCommitNil_TypeID = 0x99e482280ba39765
PreCommitNil_TypeID is the unique identifier for the type PreCommitNil.
const PreCommit_TypeID = 0x962a57a2c30ab3cc
PreCommit_TypeID is the unique identifier for the type PreCommit.
const PreVoteNil_TypeID = 0xdcd451184d295c70
PreVoteNil_TypeID is the unique identifier for the type PreVoteNil.
const PreVote_TypeID = 0xd6c749583b4cc63a
PreVote_TypeID is the unique identifier for the type PreVote.
const Proposal_TypeID = 0x9af13d67202e38f8
Proposal_TypeID is the unique identifier for the type Proposal.
const RCert_TypeID = 0xd7182e49f1abd5dc
RCert_TypeID is the unique identifier for the type RCert.
const RClaims_TypeID = 0xb23998c63938dd88
RClaims_TypeID is the unique identifier for the type RClaims.
const RoundState_TypeID = 0xcfa13406e7c64206
RoundState_TypeID is the unique identifier for the type RoundState.
const ValidatorSet_TypeID = 0xd9941258ffc9401a
ValidatorSet_TypeID is the unique identifier for the type ValidatorSet.
const Validator_TypeID = 0xfb76cd14c2ae27f8
Validator_TypeID is the unique identifier for the type Validator.
Variables ¶
var ( DefaultRClaims = RClaims{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[0:48]).Struct()} DefaultBClaims = BClaims{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[48:144]).Struct()} DefaultRCert = RCert{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[144:216]).Struct()} DefaultPClaims = PClaims{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[216:384]).Struct()} DefaultNRClaims = NRClaims{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[384:520]).Struct()} DefaultProposal = Proposal{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[520:720]).Struct()} DefaultNHClaims = NHClaims{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[720:944]).Struct()} DefaultPreVote = PreVote{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[944:1168]).Struct()} DefaultPreCommit = PreCommit{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[1168:1408]).Struct()} DefaultPreVoteNil = PreVoteNil{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[1408:1504]).Struct()} DefaultPreCommitNil = PreCommitNil{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[1504:1600]).Struct()} DefaultNextRound = NextRound{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[1600:1760]).Struct()} DefaultNextHeight = NextHeight{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[1760:2024]).Struct()} DefaultBlockHeader = BlockHeader{Struct: capnp.MustUnmarshalRootPtr(x_85d3acc39d94e0f8[2024:2160]).Struct()} )
Constants defined in consensus.capnp.
Functions ¶
This section is empty.
Types ¶
type BClaims ¶
func (BClaims) HasHeaderRoot ¶
func (BClaims) HasPrevBlock ¶
func (BClaims) HasStateRoot ¶
func (BClaims) HeaderRoot ¶
func (BClaims) SetChainID ¶
func (BClaims) SetHeaderRoot ¶
func (BClaims) SetPrevBlock ¶
func (BClaims) SetStateRoot ¶
func (BClaims) SetTxCount ¶
type BClaims_List ¶
BClaims_List is a list of BClaims.
func NewBClaims_List ¶
func NewBClaims_List(s *capnp.Segment, sz int32) (BClaims_List, error)
NewBClaims creates a new list of BClaims.
func (BClaims_List) At ¶
func (s BClaims_List) At(i int) BClaims
func (BClaims_List) String ¶
func (s BClaims_List) String() string
type BClaims_Promise ¶
BClaims_Promise is a wrapper for a BClaims promised by a client call.
func (BClaims_Promise) Struct ¶
func (p BClaims_Promise) Struct() (BClaims, error)
type BlockHeader ¶
func NewBlockHeader ¶
func NewBlockHeader(s *capnp.Segment) (BlockHeader, error)
func NewRootBlockHeader ¶
func NewRootBlockHeader(s *capnp.Segment) (BlockHeader, error)
func ReadRootBlockHeader ¶
func ReadRootBlockHeader(msg *capnp.Message) (BlockHeader, error)
func (BlockHeader) BClaims ¶
func (s BlockHeader) BClaims() BClaims
func (BlockHeader) HasBClaims ¶
func (s BlockHeader) HasBClaims() bool
func (BlockHeader) HasSigGroup ¶
func (s BlockHeader) HasSigGroup() bool
func (BlockHeader) HasTxHshLst ¶
func (s BlockHeader) HasTxHshLst() bool
func (BlockHeader) NewBClaims ¶
func (s BlockHeader) NewBClaims() (BClaims, error)
NewBClaims sets the bClaims field to a newly allocated BClaims struct, preferring placement in s's segment.
func (BlockHeader) SetBClaims ¶
func (s BlockHeader) SetBClaims(v BClaims) error
func (BlockHeader) SetSigGroup ¶
func (s BlockHeader) SetSigGroup(v []byte) error
func (BlockHeader) SetTxHshLst ¶
func (s BlockHeader) SetTxHshLst(v []byte) error
func (BlockHeader) SigGroup ¶
func (s BlockHeader) SigGroup() []byte
func (BlockHeader) String ¶
func (s BlockHeader) String() string
func (BlockHeader) TxHshLst ¶
func (s BlockHeader) TxHshLst() []byte
type BlockHeader_List ¶
BlockHeader_List is a list of BlockHeader.
func NewBlockHeader_List ¶
func NewBlockHeader_List(s *capnp.Segment, sz int32) (BlockHeader_List, error)
NewBlockHeader creates a new list of BlockHeader.
func (BlockHeader_List) At ¶
func (s BlockHeader_List) At(i int) BlockHeader
func (BlockHeader_List) Set ¶
func (s BlockHeader_List) Set(i int, v BlockHeader) error
func (BlockHeader_List) String ¶
func (s BlockHeader_List) String() string
type BlockHeader_Promise ¶
BlockHeader_Promise is a wrapper for a BlockHeader promised by a client call.
func (BlockHeader_Promise) BClaims ¶
func (p BlockHeader_Promise) BClaims() BClaims_Promise
func (BlockHeader_Promise) Struct ¶
func (p BlockHeader_Promise) Struct() (BlockHeader, error)
type EncryptedStore ¶
func NewEncryptedStore ¶
func NewEncryptedStore(s *capnp.Segment) (EncryptedStore, error)
func NewRootEncryptedStore ¶
func NewRootEncryptedStore(s *capnp.Segment) (EncryptedStore, error)
func ReadRootEncryptedStore ¶
func ReadRootEncryptedStore(msg *capnp.Message) (EncryptedStore, error)
func (EncryptedStore) CypherText ¶
func (s EncryptedStore) CypherText() []byte
func (EncryptedStore) HasCypherText ¶
func (s EncryptedStore) HasCypherText() bool
func (EncryptedStore) HasKid ¶
func (s EncryptedStore) HasKid() bool
func (EncryptedStore) HasName ¶
func (s EncryptedStore) HasName() bool
func (EncryptedStore) HasNonce ¶
func (s EncryptedStore) HasNonce() bool
func (EncryptedStore) Kid ¶
func (s EncryptedStore) Kid() []byte
func (EncryptedStore) Name ¶
func (s EncryptedStore) Name() []byte
func (EncryptedStore) Nonce ¶
func (s EncryptedStore) Nonce() []byte
func (EncryptedStore) SetCypherText ¶
func (s EncryptedStore) SetCypherText(v []byte) error
func (EncryptedStore) SetKid ¶
func (s EncryptedStore) SetKid(v []byte) error
func (EncryptedStore) SetName ¶
func (s EncryptedStore) SetName(v []byte) error
func (EncryptedStore) SetNonce ¶
func (s EncryptedStore) SetNonce(v []byte) error
func (EncryptedStore) String ¶
func (s EncryptedStore) String() string
type EncryptedStore_List ¶
EncryptedStore_List is a list of EncryptedStore.
func NewEncryptedStore_List ¶
func NewEncryptedStore_List(s *capnp.Segment, sz int32) (EncryptedStore_List, error)
NewEncryptedStore creates a new list of EncryptedStore.
func (EncryptedStore_List) At ¶
func (s EncryptedStore_List) At(i int) EncryptedStore
func (EncryptedStore_List) Set ¶
func (s EncryptedStore_List) Set(i int, v EncryptedStore) error
func (EncryptedStore_List) String ¶
func (s EncryptedStore_List) String() string
type EncryptedStore_Promise ¶
EncryptedStore_Promise is a wrapper for a EncryptedStore promised by a client call.
func (EncryptedStore_Promise) Struct ¶
func (p EncryptedStore_Promise) Struct() (EncryptedStore, error)
type NHClaims ¶
func (NHClaims) HasProposal ¶
func (NHClaims) HasSigShare ¶
func (NHClaims) NewProposal ¶
NewProposal sets the proposal field to a newly allocated Proposal struct, preferring placement in s's segment.
func (NHClaims) SetProposal ¶
func (NHClaims) SetSigShare ¶
type NHClaims_List ¶
NHClaims_List is a list of NHClaims.
func NewNHClaims_List ¶
func NewNHClaims_List(s *capnp.Segment, sz int32) (NHClaims_List, error)
NewNHClaims creates a new list of NHClaims.
func (NHClaims_List) At ¶
func (s NHClaims_List) At(i int) NHClaims
func (NHClaims_List) String ¶
func (s NHClaims_List) String() string
type NHClaims_Promise ¶
NHClaims_Promise is a wrapper for a NHClaims promised by a client call.
func (NHClaims_Promise) Proposal ¶
func (p NHClaims_Promise) Proposal() Proposal_Promise
func (NHClaims_Promise) Struct ¶
func (p NHClaims_Promise) Struct() (NHClaims, error)
type NRClaims ¶
func (NRClaims) HasRClaims ¶
func (NRClaims) HasSigShare ¶
func (NRClaims) NewRCert ¶
NewRCert sets the rCert field to a newly allocated RCert struct, preferring placement in s's segment.
func (NRClaims) NewRClaims ¶
NewRClaims sets the rClaims field to a newly allocated RClaims struct, preferring placement in s's segment.
func (NRClaims) SetRClaims ¶
func (NRClaims) SetSigShare ¶
type NRClaims_List ¶
NRClaims_List is a list of NRClaims.
func NewNRClaims_List ¶
func NewNRClaims_List(s *capnp.Segment, sz int32) (NRClaims_List, error)
NewNRClaims creates a new list of NRClaims.
func (NRClaims_List) At ¶
func (s NRClaims_List) At(i int) NRClaims
func (NRClaims_List) String ¶
func (s NRClaims_List) String() string
type NRClaims_Promise ¶
NRClaims_Promise is a wrapper for a NRClaims promised by a client call.
func (NRClaims_Promise) RCert ¶
func (p NRClaims_Promise) RCert() RCert_Promise
func (NRClaims_Promise) RClaims ¶
func (p NRClaims_Promise) RClaims() RClaims_Promise
func (NRClaims_Promise) Struct ¶
func (p NRClaims_Promise) Struct() (NRClaims, error)
type NextHeight ¶
func NewNextHeight ¶
func NewNextHeight(s *capnp.Segment) (NextHeight, error)
func NewRootNextHeight ¶
func NewRootNextHeight(s *capnp.Segment) (NextHeight, error)
func ReadRootNextHeight ¶
func ReadRootNextHeight(msg *capnp.Message) (NextHeight, error)
func (NextHeight) HasNHClaims ¶
func (s NextHeight) HasNHClaims() bool
func (NextHeight) HasPreCommits ¶
func (s NextHeight) HasPreCommits() bool
func (NextHeight) HasSignature ¶
func (s NextHeight) HasSignature() bool
func (NextHeight) NHClaims ¶
func (s NextHeight) NHClaims() NHClaims
func (NextHeight) NewNHClaims ¶
func (s NextHeight) NewNHClaims() (NHClaims, error)
NewNHClaims sets the nHClaims field to a newly allocated NHClaims struct, preferring placement in s's segment.
func (NextHeight) PreCommits ¶
func (s NextHeight) PreCommits() []byte
func (NextHeight) SetNHClaims ¶
func (s NextHeight) SetNHClaims(v NHClaims) error
func (NextHeight) SetPreCommits ¶
func (s NextHeight) SetPreCommits(v []byte) error
func (NextHeight) SetSignature ¶
func (s NextHeight) SetSignature(v []byte) error
func (NextHeight) Signature ¶
func (s NextHeight) Signature() []byte
func (NextHeight) String ¶
func (s NextHeight) String() string
type NextHeight_List ¶
NextHeight_List is a list of NextHeight.
func NewNextHeight_List ¶
func NewNextHeight_List(s *capnp.Segment, sz int32) (NextHeight_List, error)
NewNextHeight creates a new list of NextHeight.
func (NextHeight_List) At ¶
func (s NextHeight_List) At(i int) NextHeight
func (NextHeight_List) Set ¶
func (s NextHeight_List) Set(i int, v NextHeight) error
func (NextHeight_List) String ¶
func (s NextHeight_List) String() string
type NextHeight_Promise ¶
NextHeight_Promise is a wrapper for a NextHeight promised by a client call.
func (NextHeight_Promise) NHClaims ¶
func (p NextHeight_Promise) NHClaims() NHClaims_Promise
func (NextHeight_Promise) Struct ¶
func (p NextHeight_Promise) Struct() (NextHeight, error)
type NextRound ¶
func (NextRound) HasNRClaims ¶
func (NextRound) HasSignature ¶
func (NextRound) NewNRClaims ¶
NewNRClaims sets the nRClaims field to a newly allocated NRClaims struct, preferring placement in s's segment.
func (NextRound) SetNRClaims ¶
func (NextRound) SetSignature ¶
type NextRound_List ¶
NextRound_List is a list of NextRound.
func NewNextRound_List ¶
func NewNextRound_List(s *capnp.Segment, sz int32) (NextRound_List, error)
NewNextRound creates a new list of NextRound.
func (NextRound_List) At ¶
func (s NextRound_List) At(i int) NextRound
func (NextRound_List) String ¶
func (s NextRound_List) String() string
type NextRound_Promise ¶
NextRound_Promise is a wrapper for a NextRound promised by a client call.
func (NextRound_Promise) NRClaims ¶
func (p NextRound_Promise) NRClaims() NRClaims_Promise
func (NextRound_Promise) Struct ¶
func (p NextRound_Promise) Struct() (NextRound, error)
type OwnState ¶
func (OwnState) CanonicalSnapShot ¶
func (s OwnState) CanonicalSnapShot() BlockHeader
func (OwnState) HasCanonicalSnapShot ¶
func (OwnState) HasGroupKey ¶
func (OwnState) HasMaxBHSeen ¶
func (OwnState) HasPendingSnapShot ¶
func (OwnState) HasSyncToBH ¶
func (OwnState) MaxBHSeen ¶
func (s OwnState) MaxBHSeen() BlockHeader
func (OwnState) NewCanonicalSnapShot ¶
func (s OwnState) NewCanonicalSnapShot() (BlockHeader, error)
NewCanonicalSnapShot sets the canonicalSnapShot field to a newly allocated BlockHeader struct, preferring placement in s's segment.
func (OwnState) NewMaxBHSeen ¶
func (s OwnState) NewMaxBHSeen() (BlockHeader, error)
NewMaxBHSeen sets the maxBHSeen field to a newly allocated BlockHeader struct, preferring placement in s's segment.
func (OwnState) NewPendingSnapShot ¶
func (s OwnState) NewPendingSnapShot() (BlockHeader, error)
NewPendingSnapShot sets the pendingSnapShot field to a newly allocated BlockHeader struct, preferring placement in s's segment.
func (OwnState) NewSyncToBH ¶
func (s OwnState) NewSyncToBH() (BlockHeader, error)
NewSyncToBH sets the syncToBH field to a newly allocated BlockHeader struct, preferring placement in s's segment.
func (OwnState) PendingSnapShot ¶
func (s OwnState) PendingSnapShot() BlockHeader
func (OwnState) SetCanonicalSnapShot ¶
func (s OwnState) SetCanonicalSnapShot(v BlockHeader) error
func (OwnState) SetGroupKey ¶
func (OwnState) SetMaxBHSeen ¶
func (s OwnState) SetMaxBHSeen(v BlockHeader) error
func (OwnState) SetPendingSnapShot ¶
func (s OwnState) SetPendingSnapShot(v BlockHeader) error
func (OwnState) SetSyncToBH ¶
func (s OwnState) SetSyncToBH(v BlockHeader) error
func (OwnState) SyncToBH ¶
func (s OwnState) SyncToBH() BlockHeader
type OwnState_List ¶
OwnState_List is a list of OwnState.
func NewOwnState_List ¶
func NewOwnState_List(s *capnp.Segment, sz int32) (OwnState_List, error)
NewOwnState creates a new list of OwnState.
func (OwnState_List) At ¶
func (s OwnState_List) At(i int) OwnState
func (OwnState_List) String ¶
func (s OwnState_List) String() string
type OwnState_Promise ¶
OwnState_Promise is a wrapper for a OwnState promised by a client call.
func (OwnState_Promise) CanonicalSnapShot ¶
func (p OwnState_Promise) CanonicalSnapShot() BlockHeader_Promise
func (OwnState_Promise) MaxBHSeen ¶
func (p OwnState_Promise) MaxBHSeen() BlockHeader_Promise
func (OwnState_Promise) PendingSnapShot ¶
func (p OwnState_Promise) PendingSnapShot() BlockHeader_Promise
func (OwnState_Promise) Struct ¶
func (p OwnState_Promise) Struct() (OwnState, error)
func (OwnState_Promise) SyncToBH ¶
func (p OwnState_Promise) SyncToBH() BlockHeader_Promise
type OwnValidatingState ¶
func NewOwnValidatingState ¶
func NewOwnValidatingState(s *capnp.Segment) (OwnValidatingState, error)
func NewRootOwnValidatingState ¶
func NewRootOwnValidatingState(s *capnp.Segment) (OwnValidatingState, error)
func ReadRootOwnValidatingState ¶
func ReadRootOwnValidatingState(msg *capnp.Message) (OwnValidatingState, error)
func (OwnValidatingState) GroupKey ¶
func (s OwnValidatingState) GroupKey() []byte
func (OwnValidatingState) HasGroupKey ¶
func (s OwnValidatingState) HasGroupKey() bool
func (OwnValidatingState) HasLockedValue ¶
func (s OwnValidatingState) HasLockedValue() bool
func (OwnValidatingState) HasVAddr ¶
func (s OwnValidatingState) HasVAddr() bool
func (OwnValidatingState) HasValidValue ¶
func (s OwnValidatingState) HasValidValue() bool
func (OwnValidatingState) LockedValue ¶
func (s OwnValidatingState) LockedValue() Proposal
func (OwnValidatingState) NewLockedValue ¶
func (s OwnValidatingState) NewLockedValue() (Proposal, error)
NewLockedValue sets the lockedValue field to a newly allocated Proposal struct, preferring placement in s's segment.
func (OwnValidatingState) NewValidValue ¶
func (s OwnValidatingState) NewValidValue() (Proposal, error)
NewValidValue sets the validValue field to a newly allocated Proposal struct, preferring placement in s's segment.
func (OwnValidatingState) PreCommitStepStarted ¶
func (s OwnValidatingState) PreCommitStepStarted() int64
func (OwnValidatingState) PreVoteStepStarted ¶
func (s OwnValidatingState) PreVoteStepStarted() int64
func (OwnValidatingState) RoundStarted ¶
func (s OwnValidatingState) RoundStarted() int64
func (OwnValidatingState) SetGroupKey ¶
func (s OwnValidatingState) SetGroupKey(v []byte) error
func (OwnValidatingState) SetLockedValue ¶
func (s OwnValidatingState) SetLockedValue(v Proposal) error
func (OwnValidatingState) SetPreCommitStepStarted ¶
func (s OwnValidatingState) SetPreCommitStepStarted(v int64)
func (OwnValidatingState) SetPreVoteStepStarted ¶
func (s OwnValidatingState) SetPreVoteStepStarted(v int64)
func (OwnValidatingState) SetRoundStarted ¶
func (s OwnValidatingState) SetRoundStarted(v int64)
func (OwnValidatingState) SetVAddr ¶
func (s OwnValidatingState) SetVAddr(v []byte) error
func (OwnValidatingState) SetValidValue ¶
func (s OwnValidatingState) SetValidValue(v Proposal) error
func (OwnValidatingState) String ¶
func (s OwnValidatingState) String() string
func (OwnValidatingState) VAddr ¶
func (s OwnValidatingState) VAddr() []byte
func (OwnValidatingState) ValidValue ¶
func (s OwnValidatingState) ValidValue() Proposal
type OwnValidatingState_List ¶
OwnValidatingState_List is a list of OwnValidatingState.
func NewOwnValidatingState_List ¶
func NewOwnValidatingState_List(s *capnp.Segment, sz int32) (OwnValidatingState_List, error)
NewOwnValidatingState creates a new list of OwnValidatingState.
func (OwnValidatingState_List) At ¶
func (s OwnValidatingState_List) At(i int) OwnValidatingState
func (OwnValidatingState_List) Set ¶
func (s OwnValidatingState_List) Set(i int, v OwnValidatingState) error
func (OwnValidatingState_List) String ¶
func (s OwnValidatingState_List) String() string
type OwnValidatingState_Promise ¶
OwnValidatingState_Promise is a wrapper for a OwnValidatingState promised by a client call.
func (OwnValidatingState_Promise) LockedValue ¶
func (p OwnValidatingState_Promise) LockedValue() Proposal_Promise
func (OwnValidatingState_Promise) Struct ¶
func (p OwnValidatingState_Promise) Struct() (OwnValidatingState, error)
func (OwnValidatingState_Promise) ValidValue ¶
func (p OwnValidatingState_Promise) ValidValue() Proposal_Promise
type PClaims ¶
func (PClaims) HasBClaims ¶
func (PClaims) NewBClaims ¶
NewBClaims sets the bClaims field to a newly allocated BClaims struct, preferring placement in s's segment.
func (PClaims) NewRCert ¶
NewRCert sets the rCert field to a newly allocated RCert struct, preferring placement in s's segment.
func (PClaims) SetBClaims ¶
type PClaims_List ¶
PClaims_List is a list of PClaims.
func NewPClaims_List ¶
func NewPClaims_List(s *capnp.Segment, sz int32) (PClaims_List, error)
NewPClaims creates a new list of PClaims.
func (PClaims_List) At ¶
func (s PClaims_List) At(i int) PClaims
func (PClaims_List) String ¶
func (s PClaims_List) String() string
type PClaims_Promise ¶
PClaims_Promise is a wrapper for a PClaims promised by a client call.
func (PClaims_Promise) BClaims ¶
func (p PClaims_Promise) BClaims() BClaims_Promise
func (PClaims_Promise) RCert ¶
func (p PClaims_Promise) RCert() RCert_Promise
func (PClaims_Promise) Struct ¶
func (p PClaims_Promise) Struct() (PClaims, error)
type PreCommit ¶
func (PreCommit) HasPreVotes ¶
func (PreCommit) HasProposal ¶
func (PreCommit) HasSignature ¶
func (PreCommit) NewProposal ¶
NewProposal sets the proposal field to a newly allocated Proposal struct, preferring placement in s's segment.
func (PreCommit) SetPreVotes ¶
func (PreCommit) SetProposal ¶
func (PreCommit) SetSignature ¶
type PreCommitNil ¶
func NewPreCommitNil ¶
func NewPreCommitNil(s *capnp.Segment) (PreCommitNil, error)
func NewRootPreCommitNil ¶
func NewRootPreCommitNil(s *capnp.Segment) (PreCommitNil, error)
func ReadRootPreCommitNil ¶
func ReadRootPreCommitNil(msg *capnp.Message) (PreCommitNil, error)
func (PreCommitNil) HasRCert ¶
func (s PreCommitNil) HasRCert() bool
func (PreCommitNil) HasSignature ¶
func (s PreCommitNil) HasSignature() bool
func (PreCommitNil) NewRCert ¶
func (s PreCommitNil) NewRCert() (RCert, error)
NewRCert sets the rCert field to a newly allocated RCert struct, preferring placement in s's segment.
func (PreCommitNil) RCert ¶
func (s PreCommitNil) RCert() RCert
func (PreCommitNil) SetRCert ¶
func (s PreCommitNil) SetRCert(v RCert) error
func (PreCommitNil) SetSignature ¶
func (s PreCommitNil) SetSignature(v []byte) error
func (PreCommitNil) Signature ¶
func (s PreCommitNil) Signature() []byte
func (PreCommitNil) String ¶
func (s PreCommitNil) String() string
type PreCommitNil_List ¶
PreCommitNil_List is a list of PreCommitNil.
func NewPreCommitNil_List ¶
func NewPreCommitNil_List(s *capnp.Segment, sz int32) (PreCommitNil_List, error)
NewPreCommitNil creates a new list of PreCommitNil.
func (PreCommitNil_List) At ¶
func (s PreCommitNil_List) At(i int) PreCommitNil
func (PreCommitNil_List) Set ¶
func (s PreCommitNil_List) Set(i int, v PreCommitNil) error
func (PreCommitNil_List) String ¶
func (s PreCommitNil_List) String() string
type PreCommitNil_Promise ¶
PreCommitNil_Promise is a wrapper for a PreCommitNil promised by a client call.
func (PreCommitNil_Promise) RCert ¶
func (p PreCommitNil_Promise) RCert() RCert_Promise
func (PreCommitNil_Promise) Struct ¶
func (p PreCommitNil_Promise) Struct() (PreCommitNil, error)
type PreCommit_List ¶
PreCommit_List is a list of PreCommit.
func NewPreCommit_List ¶
func NewPreCommit_List(s *capnp.Segment, sz int32) (PreCommit_List, error)
NewPreCommit creates a new list of PreCommit.
func (PreCommit_List) At ¶
func (s PreCommit_List) At(i int) PreCommit
func (PreCommit_List) String ¶
func (s PreCommit_List) String() string
type PreCommit_Promise ¶
PreCommit_Promise is a wrapper for a PreCommit promised by a client call.
func (PreCommit_Promise) Proposal ¶
func (p PreCommit_Promise) Proposal() Proposal_Promise
func (PreCommit_Promise) Struct ¶
func (p PreCommit_Promise) Struct() (PreCommit, error)
type PreVote ¶
func (PreVote) HasProposal ¶
func (PreVote) HasSignature ¶
func (PreVote) NewProposal ¶
NewProposal sets the proposal field to a newly allocated Proposal struct, preferring placement in s's segment.
func (PreVote) SetProposal ¶
func (PreVote) SetSignature ¶
type PreVoteNil ¶
func NewPreVoteNil ¶
func NewPreVoteNil(s *capnp.Segment) (PreVoteNil, error)
func NewRootPreVoteNil ¶
func NewRootPreVoteNil(s *capnp.Segment) (PreVoteNil, error)
func ReadRootPreVoteNil ¶
func ReadRootPreVoteNil(msg *capnp.Message) (PreVoteNil, error)
func (PreVoteNil) HasRCert ¶
func (s PreVoteNil) HasRCert() bool
func (PreVoteNil) HasSignature ¶
func (s PreVoteNil) HasSignature() bool
func (PreVoteNil) NewRCert ¶
func (s PreVoteNil) NewRCert() (RCert, error)
NewRCert sets the rCert field to a newly allocated RCert struct, preferring placement in s's segment.
func (PreVoteNil) RCert ¶
func (s PreVoteNil) RCert() RCert
func (PreVoteNil) SetRCert ¶
func (s PreVoteNil) SetRCert(v RCert) error
func (PreVoteNil) SetSignature ¶
func (s PreVoteNil) SetSignature(v []byte) error
func (PreVoteNil) Signature ¶
func (s PreVoteNil) Signature() []byte
func (PreVoteNil) String ¶
func (s PreVoteNil) String() string
type PreVoteNil_List ¶
PreVoteNil_List is a list of PreVoteNil.
func NewPreVoteNil_List ¶
func NewPreVoteNil_List(s *capnp.Segment, sz int32) (PreVoteNil_List, error)
NewPreVoteNil creates a new list of PreVoteNil.
func (PreVoteNil_List) At ¶
func (s PreVoteNil_List) At(i int) PreVoteNil
func (PreVoteNil_List) Set ¶
func (s PreVoteNil_List) Set(i int, v PreVoteNil) error
func (PreVoteNil_List) String ¶
func (s PreVoteNil_List) String() string
type PreVoteNil_Promise ¶
PreVoteNil_Promise is a wrapper for a PreVoteNil promised by a client call.
func (PreVoteNil_Promise) RCert ¶
func (p PreVoteNil_Promise) RCert() RCert_Promise
func (PreVoteNil_Promise) Struct ¶
func (p PreVoteNil_Promise) Struct() (PreVoteNil, error)
type PreVote_List ¶
PreVote_List is a list of PreVote.
func NewPreVote_List ¶
func NewPreVote_List(s *capnp.Segment, sz int32) (PreVote_List, error)
NewPreVote creates a new list of PreVote.
func (PreVote_List) At ¶
func (s PreVote_List) At(i int) PreVote
func (PreVote_List) String ¶
func (s PreVote_List) String() string
type PreVote_Promise ¶
PreVote_Promise is a wrapper for a PreVote promised by a client call.
func (PreVote_Promise) Proposal ¶
func (p PreVote_Promise) Proposal() Proposal_Promise
func (PreVote_Promise) Struct ¶
func (p PreVote_Promise) Struct() (PreVote, error)
type Proposal ¶
func (Proposal) HasPClaims ¶
func (Proposal) HasSignature ¶
func (Proposal) HasTxHshLst ¶
func (Proposal) NewPClaims ¶
NewPClaims sets the pClaims field to a newly allocated PClaims struct, preferring placement in s's segment.
func (Proposal) SetPClaims ¶
func (Proposal) SetSignature ¶
func (Proposal) SetTxHshLst ¶
type Proposal_List ¶
Proposal_List is a list of Proposal.
func NewProposal_List ¶
func NewProposal_List(s *capnp.Segment, sz int32) (Proposal_List, error)
NewProposal creates a new list of Proposal.
func (Proposal_List) At ¶
func (s Proposal_List) At(i int) Proposal
func (Proposal_List) String ¶
func (s Proposal_List) String() string
type Proposal_Promise ¶
Proposal_Promise is a wrapper for a Proposal promised by a client call.
func (Proposal_Promise) PClaims ¶
func (p Proposal_Promise) PClaims() PClaims_Promise
func (Proposal_Promise) Struct ¶
func (p Proposal_Promise) Struct() (Proposal, error)
type RCert ¶
func (RCert) HasRClaims ¶
func (RCert) HasSigGroup ¶
func (RCert) NewRClaims ¶
NewRClaims sets the rClaims field to a newly allocated RClaims struct, preferring placement in s's segment.
func (RCert) SetRClaims ¶
func (RCert) SetSigGroup ¶
type RCert_List ¶
RCert_List is a list of RCert.
func NewRCert_List ¶
func NewRCert_List(s *capnp.Segment, sz int32) (RCert_List, error)
NewRCert creates a new list of RCert.
func (RCert_List) At ¶
func (s RCert_List) At(i int) RCert
func (RCert_List) String ¶
func (s RCert_List) String() string
type RCert_Promise ¶
RCert_Promise is a wrapper for a RCert promised by a client call.
func (RCert_Promise) RClaims ¶
func (p RCert_Promise) RClaims() RClaims_Promise
func (RCert_Promise) Struct ¶
func (p RCert_Promise) Struct() (RCert, error)
type RClaims ¶
func (RClaims) HasPrevBlock ¶
func (RClaims) SetChainID ¶
func (RClaims) SetPrevBlock ¶
type RClaims_List ¶
RClaims_List is a list of RClaims.
func NewRClaims_List ¶
func NewRClaims_List(s *capnp.Segment, sz int32) (RClaims_List, error)
NewRClaims creates a new list of RClaims.
func (RClaims_List) At ¶
func (s RClaims_List) At(i int) RClaims
func (RClaims_List) String ¶
func (s RClaims_List) String() string
type RClaims_Promise ¶
RClaims_Promise is a wrapper for a RClaims promised by a client call.
func (RClaims_Promise) Struct ¶
func (p RClaims_Promise) Struct() (RClaims, error)
type RoundState ¶
func NewRootRoundState ¶
func NewRootRoundState(s *capnp.Segment) (RoundState, error)
func NewRoundState ¶
func NewRoundState(s *capnp.Segment) (RoundState, error)
func ReadRootRoundState ¶
func ReadRootRoundState(msg *capnp.Message) (RoundState, error)
func (RoundState) ConflictingNextHeight ¶
func (s RoundState) ConflictingNextHeight() NextHeight
func (RoundState) ConflictingPreCommit ¶
func (s RoundState) ConflictingPreCommit() PreCommit
func (RoundState) ConflictingPreVote ¶
func (s RoundState) ConflictingPreVote() PreVote
func (RoundState) ConflictingProposal ¶
func (s RoundState) ConflictingProposal() Proposal
func (RoundState) ConflictingRCert ¶
func (s RoundState) ConflictingRCert() RCert
func (RoundState) GroupIdx ¶
func (s RoundState) GroupIdx() uint8
func (RoundState) GroupKey ¶
func (s RoundState) GroupKey() []byte
func (RoundState) GroupShare ¶
func (s RoundState) GroupShare() []byte
func (RoundState) HasConflictingNextHeight ¶
func (s RoundState) HasConflictingNextHeight() bool
func (RoundState) HasConflictingPreCommit ¶
func (s RoundState) HasConflictingPreCommit() bool
func (RoundState) HasConflictingPreVote ¶
func (s RoundState) HasConflictingPreVote() bool
func (RoundState) HasConflictingProposal ¶
func (s RoundState) HasConflictingProposal() bool
func (RoundState) HasConflictingRCert ¶
func (s RoundState) HasConflictingRCert() bool
func (RoundState) HasGroupKey ¶
func (s RoundState) HasGroupKey() bool
func (RoundState) HasGroupShare ¶
func (s RoundState) HasGroupShare() bool
func (RoundState) HasNextHeight ¶
func (s RoundState) HasNextHeight() bool
func (RoundState) HasNextRound ¶
func (s RoundState) HasNextRound() bool
func (RoundState) HasPreCommit ¶
func (s RoundState) HasPreCommit() bool
func (RoundState) HasPreCommitNil ¶
func (s RoundState) HasPreCommitNil() bool
func (RoundState) HasPreVote ¶
func (s RoundState) HasPreVote() bool
func (RoundState) HasPreVoteNil ¶
func (s RoundState) HasPreVoteNil() bool
func (RoundState) HasProposal ¶
func (s RoundState) HasProposal() bool
func (RoundState) HasRCert ¶
func (s RoundState) HasRCert() bool
func (RoundState) HasVAddr ¶
func (s RoundState) HasVAddr() bool
func (RoundState) ImplicitPCN ¶
func (s RoundState) ImplicitPCN() bool
func (RoundState) ImplicitPVN ¶
func (s RoundState) ImplicitPVN() bool
func (RoundState) NewConflictingNextHeight ¶
func (s RoundState) NewConflictingNextHeight() (NextHeight, error)
NewConflictingNextHeight sets the conflictingNextHeight field to a newly allocated NextHeight struct, preferring placement in s's segment.
func (RoundState) NewConflictingPreCommit ¶
func (s RoundState) NewConflictingPreCommit() (PreCommit, error)
NewConflictingPreCommit sets the conflictingPreCommit field to a newly allocated PreCommit struct, preferring placement in s's segment.
func (RoundState) NewConflictingPreVote ¶
func (s RoundState) NewConflictingPreVote() (PreVote, error)
NewConflictingPreVote sets the conflictingPreVote field to a newly allocated PreVote struct, preferring placement in s's segment.
func (RoundState) NewConflictingProposal ¶
func (s RoundState) NewConflictingProposal() (Proposal, error)
NewConflictingProposal sets the conflictingProposal field to a newly allocated Proposal struct, preferring placement in s's segment.
func (RoundState) NewConflictingRCert ¶
func (s RoundState) NewConflictingRCert() (RCert, error)
NewConflictingRCert sets the conflictingRCert field to a newly allocated RCert struct, preferring placement in s's segment.
func (RoundState) NewNextHeight ¶
func (s RoundState) NewNextHeight() (NextHeight, error)
NewNextHeight sets the nextHeight field to a newly allocated NextHeight struct, preferring placement in s's segment.
func (RoundState) NewNextRound ¶
func (s RoundState) NewNextRound() (NextRound, error)
NewNextRound sets the nextRound field to a newly allocated NextRound struct, preferring placement in s's segment.
func (RoundState) NewPreCommit ¶
func (s RoundState) NewPreCommit() (PreCommit, error)
NewPreCommit sets the preCommit field to a newly allocated PreCommit struct, preferring placement in s's segment.
func (RoundState) NewPreCommitNil ¶
func (s RoundState) NewPreCommitNil() (PreCommitNil, error)
NewPreCommitNil sets the preCommitNil field to a newly allocated PreCommitNil struct, preferring placement in s's segment.
func (RoundState) NewPreVote ¶
func (s RoundState) NewPreVote() (PreVote, error)
NewPreVote sets the preVote field to a newly allocated PreVote struct, preferring placement in s's segment.
func (RoundState) NewPreVoteNil ¶
func (s RoundState) NewPreVoteNil() (PreVoteNil, error)
NewPreVoteNil sets the preVoteNil field to a newly allocated PreVoteNil struct, preferring placement in s's segment.
func (RoundState) NewProposal ¶
func (s RoundState) NewProposal() (Proposal, error)
NewProposal sets the proposal field to a newly allocated Proposal struct, preferring placement in s's segment.
func (RoundState) NewRCert ¶
func (s RoundState) NewRCert() (RCert, error)
NewRCert sets the rCert field to a newly allocated RCert struct, preferring placement in s's segment.
func (RoundState) NextHeight ¶
func (s RoundState) NextHeight() NextHeight
func (RoundState) NextRound ¶
func (s RoundState) NextRound() NextRound
func (RoundState) PreCommit ¶
func (s RoundState) PreCommit() PreCommit
func (RoundState) PreCommitNil ¶
func (s RoundState) PreCommitNil() PreCommitNil
func (RoundState) PreVote ¶
func (s RoundState) PreVote() PreVote
func (RoundState) PreVoteNil ¶
func (s RoundState) PreVoteNil() PreVoteNil
func (RoundState) Proposal ¶
func (s RoundState) Proposal() Proposal
func (RoundState) RCert ¶
func (s RoundState) RCert() RCert
func (RoundState) SetConflictingNextHeight ¶
func (s RoundState) SetConflictingNextHeight(v NextHeight) error
func (RoundState) SetConflictingPreCommit ¶
func (s RoundState) SetConflictingPreCommit(v PreCommit) error
func (RoundState) SetConflictingPreVote ¶
func (s RoundState) SetConflictingPreVote(v PreVote) error
func (RoundState) SetConflictingProposal ¶
func (s RoundState) SetConflictingProposal(v Proposal) error
func (RoundState) SetConflictingRCert ¶
func (s RoundState) SetConflictingRCert(v RCert) error
func (RoundState) SetGroupIdx ¶
func (s RoundState) SetGroupIdx(v uint8)
func (RoundState) SetGroupKey ¶
func (s RoundState) SetGroupKey(v []byte) error
func (RoundState) SetGroupShare ¶
func (s RoundState) SetGroupShare(v []byte) error
func (RoundState) SetImplicitPCN ¶
func (s RoundState) SetImplicitPCN(v bool)
func (RoundState) SetImplicitPVN ¶
func (s RoundState) SetImplicitPVN(v bool)
func (RoundState) SetNextHeight ¶
func (s RoundState) SetNextHeight(v NextHeight) error
func (RoundState) SetNextRound ¶
func (s RoundState) SetNextRound(v NextRound) error
func (RoundState) SetPreCommit ¶
func (s RoundState) SetPreCommit(v PreCommit) error
func (RoundState) SetPreCommitNil ¶
func (s RoundState) SetPreCommitNil(v PreCommitNil) error
func (RoundState) SetPreVote ¶
func (s RoundState) SetPreVote(v PreVote) error
func (RoundState) SetPreVoteNil ¶
func (s RoundState) SetPreVoteNil(v PreVoteNil) error
func (RoundState) SetProposal ¶
func (s RoundState) SetProposal(v Proposal) error
func (RoundState) SetRCert ¶
func (s RoundState) SetRCert(v RCert) error
func (RoundState) SetVAddr ¶
func (s RoundState) SetVAddr(v []byte) error
func (RoundState) String ¶
func (s RoundState) String() string
func (RoundState) VAddr ¶
func (s RoundState) VAddr() []byte
type RoundState_List ¶
RoundState_List is a list of RoundState.
func NewRoundState_List ¶
func NewRoundState_List(s *capnp.Segment, sz int32) (RoundState_List, error)
NewRoundState creates a new list of RoundState.
func (RoundState_List) At ¶
func (s RoundState_List) At(i int) RoundState
func (RoundState_List) Set ¶
func (s RoundState_List) Set(i int, v RoundState) error
func (RoundState_List) String ¶
func (s RoundState_List) String() string
type RoundState_Promise ¶
RoundState_Promise is a wrapper for a RoundState promised by a client call.
func (RoundState_Promise) ConflictingNextHeight ¶
func (p RoundState_Promise) ConflictingNextHeight() NextHeight_Promise
func (RoundState_Promise) ConflictingPreCommit ¶
func (p RoundState_Promise) ConflictingPreCommit() PreCommit_Promise
func (RoundState_Promise) ConflictingPreVote ¶
func (p RoundState_Promise) ConflictingPreVote() PreVote_Promise
func (RoundState_Promise) ConflictingProposal ¶
func (p RoundState_Promise) ConflictingProposal() Proposal_Promise
func (RoundState_Promise) ConflictingRCert ¶
func (p RoundState_Promise) ConflictingRCert() RCert_Promise
func (RoundState_Promise) NextHeight ¶
func (p RoundState_Promise) NextHeight() NextHeight_Promise
func (RoundState_Promise) NextRound ¶
func (p RoundState_Promise) NextRound() NextRound_Promise
func (RoundState_Promise) PreCommit ¶
func (p RoundState_Promise) PreCommit() PreCommit_Promise
func (RoundState_Promise) PreCommitNil ¶
func (p RoundState_Promise) PreCommitNil() PreCommitNil_Promise
func (RoundState_Promise) PreVote ¶
func (p RoundState_Promise) PreVote() PreVote_Promise
func (RoundState_Promise) PreVoteNil ¶
func (p RoundState_Promise) PreVoteNil() PreVoteNil_Promise
func (RoundState_Promise) Proposal ¶
func (p RoundState_Promise) Proposal() Proposal_Promise
func (RoundState_Promise) RCert ¶
func (p RoundState_Promise) RCert() RCert_Promise
func (RoundState_Promise) Struct ¶
func (p RoundState_Promise) Struct() (RoundState, error)
type Validator ¶
func (Validator) GroupShare ¶
func (Validator) HasGroupShare ¶
func (Validator) SetGroupShare ¶
type ValidatorSet ¶
func NewRootValidatorSet ¶
func NewRootValidatorSet(s *capnp.Segment) (ValidatorSet, error)
func NewValidatorSet ¶
func NewValidatorSet(s *capnp.Segment) (ValidatorSet, error)
func ReadRootValidatorSet ¶
func ReadRootValidatorSet(msg *capnp.Message) (ValidatorSet, error)
func (ValidatorSet) GroupKey ¶
func (s ValidatorSet) GroupKey() []byte
func (ValidatorSet) HasGroupKey ¶
func (s ValidatorSet) HasGroupKey() bool
func (ValidatorSet) HasValidators ¶
func (s ValidatorSet) HasValidators() bool
func (ValidatorSet) NewValidators ¶
func (s ValidatorSet) NewValidators(n int32) (Validator_List, error)
NewValidators sets the validators field to a newly allocated Validator_List, preferring placement in s's segment.
func (ValidatorSet) NotBefore ¶
func (s ValidatorSet) NotBefore() uint32
func (ValidatorSet) SetGroupKey ¶
func (s ValidatorSet) SetGroupKey(v []byte) error
func (ValidatorSet) SetNotBefore ¶
func (s ValidatorSet) SetNotBefore(v uint32)
func (ValidatorSet) SetValidators ¶
func (s ValidatorSet) SetValidators(v Validator_List) error
func (ValidatorSet) String ¶
func (s ValidatorSet) String() string
func (ValidatorSet) Validators ¶
func (s ValidatorSet) Validators() (Validator_List, error)
type ValidatorSet_List ¶
ValidatorSet_List is a list of ValidatorSet.
func NewValidatorSet_List ¶
func NewValidatorSet_List(s *capnp.Segment, sz int32) (ValidatorSet_List, error)
NewValidatorSet creates a new list of ValidatorSet.
func (ValidatorSet_List) At ¶
func (s ValidatorSet_List) At(i int) ValidatorSet
func (ValidatorSet_List) Set ¶
func (s ValidatorSet_List) Set(i int, v ValidatorSet) error
func (ValidatorSet_List) String ¶
func (s ValidatorSet_List) String() string
type ValidatorSet_Promise ¶
ValidatorSet_Promise is a wrapper for a ValidatorSet promised by a client call.
func (ValidatorSet_Promise) Struct ¶
func (p ValidatorSet_Promise) Struct() (ValidatorSet, error)
type Validator_List ¶
Validator_List is a list of Validator.
func NewValidator_List ¶
func NewValidator_List(s *capnp.Segment, sz int32) (Validator_List, error)
NewValidator creates a new list of Validator.
func (Validator_List) At ¶
func (s Validator_List) At(i int) Validator
func (Validator_List) String ¶
func (s Validator_List) String() string
type Validator_Promise ¶
Validator_Promise is a wrapper for a Validator promised by a client call.
func (Validator_Promise) Struct ¶
func (p Validator_Promise) Struct() (Validator, error)