Documentation
¶
Overview ¶
AUTO GENERATED FILE (by membufc proto compiler v0.0.32)
Index ¶
- type BlockProof
- func (x *BlockProof) BlockRef() *BlockRef
- func (x *BlockProof) Equal(y *BlockProof) bool
- func (x *BlockProof) IsValid() bool
- func (x *BlockProof) MutateRandomSeedSignature(v primitives.RandomSeedSignature) error
- func (x *BlockProof) NodesIterator() *BlockProofNodesIterator
- func (x *BlockProof) RandomSeedSignature() primitives.RandomSeedSignature
- func (x *BlockProof) Raw() []byte
- func (x *BlockProof) RawBlockRef() []byte
- func (x *BlockProof) RawBlockRefWithHeader() []byte
- func (x *BlockProof) RawNodesArray() []byte
- func (x *BlockProof) RawNodesArrayWithHeader() []byte
- func (x *BlockProof) RawRandomSeedSignature() []byte
- func (x *BlockProof) RawRandomSeedSignatureWithHeader() []byte
- func (x *BlockProof) String() string
- func (x *BlockProof) StringBlockRef() string
- func (x *BlockProof) StringNodes() (res string)
- func (x *BlockProof) StringRandomSeedSignature() string
- type BlockProofBuilder
- func (w *BlockProofBuilder) Build() *BlockProof
- func (w *BlockProofBuilder) CalcRequiredSize() membuffers.Offset
- func (w *BlockProofBuilder) GetSize() membuffers.Offset
- func (w *BlockProofBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *BlockProofBuilder) Write(buf []byte) (err error)
- type BlockProofNodesIterator
- type BlockRef
- func (x *BlockRef) BlockHash() primitives.BlockHash
- func (x *BlockRef) BlockHeight() primitives.BlockHeight
- func (x *BlockRef) Equal(y *BlockRef) bool
- func (x *BlockRef) InstanceId() primitives.InstanceId
- func (x *BlockRef) IsValid() bool
- func (x *BlockRef) MessageType() MessageType
- func (x *BlockRef) MutateBlockHash(v primitives.BlockHash) error
- func (x *BlockRef) MutateBlockHeight(v primitives.BlockHeight) error
- func (x *BlockRef) MutateInstanceId(v primitives.InstanceId) error
- func (x *BlockRef) MutateMessageType(v MessageType) error
- func (x *BlockRef) MutateView(v primitives.View) error
- func (x *BlockRef) Raw() []byte
- func (x *BlockRef) RawBlockHash() []byte
- func (x *BlockRef) RawBlockHashWithHeader() []byte
- func (x *BlockRef) RawBlockHeight() []byte
- func (x *BlockRef) RawInstanceId() []byte
- func (x *BlockRef) RawMessageType() []byte
- func (x *BlockRef) RawView() []byte
- func (x *BlockRef) String() string
- func (x *BlockRef) StringBlockHash() string
- func (x *BlockRef) StringBlockHeight() string
- func (x *BlockRef) StringInstanceId() string
- func (x *BlockRef) StringMessageType() string
- func (x *BlockRef) StringView() string
- func (x *BlockRef) View() primitives.View
- type BlockRefBuilder
- func (w *BlockRefBuilder) Build() *BlockRef
- func (w *BlockRefBuilder) CalcRequiredSize() membuffers.Offset
- func (w *BlockRefBuilder) GetSize() membuffers.Offset
- func (w *BlockRefBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *BlockRefBuilder) Write(buf []byte) (err error)
- type CommitContent
- func (x *CommitContent) Equal(y *CommitContent) bool
- func (x *CommitContent) IsValid() bool
- func (x *CommitContent) MutateShare(v primitives.RandomSeedSignature) error
- func (x *CommitContent) Raw() []byte
- func (x *CommitContent) RawSender() []byte
- func (x *CommitContent) RawSenderWithHeader() []byte
- func (x *CommitContent) RawShare() []byte
- func (x *CommitContent) RawShareWithHeader() []byte
- func (x *CommitContent) RawSignedHeader() []byte
- func (x *CommitContent) RawSignedHeaderWithHeader() []byte
- func (x *CommitContent) Sender() *SenderSignature
- func (x *CommitContent) Share() primitives.RandomSeedSignature
- func (x *CommitContent) SignedHeader() *BlockRef
- func (x *CommitContent) String() string
- func (x *CommitContent) StringSender() string
- func (x *CommitContent) StringShare() string
- func (x *CommitContent) StringSignedHeader() string
- type CommitContentBuilder
- func (w *CommitContentBuilder) Build() *CommitContent
- func (w *CommitContentBuilder) CalcRequiredSize() membuffers.Offset
- func (w *CommitContentBuilder) GetSize() membuffers.Offset
- func (w *CommitContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *CommitContentBuilder) Write(buf []byte) (err error)
- type LeanhelixContent
- func (x *LeanhelixContent) CommitMessage() *CommitContent
- func (x *LeanhelixContent) Equal(y *LeanhelixContent) bool
- func (x *LeanhelixContent) IsMessageCommitMessage() bool
- func (x *LeanhelixContent) IsMessageNewViewMessage() bool
- func (x *LeanhelixContent) IsMessagePrepareMessage() bool
- func (x *LeanhelixContent) IsMessagePreprepareMessage() bool
- func (x *LeanhelixContent) IsMessageViewChangeMessage() bool
- func (x *LeanhelixContent) IsValid() bool
- func (x *LeanhelixContent) Message() LeanhelixContentMessage
- func (x *LeanhelixContent) NewViewMessage() *NewViewMessageContent
- func (x *LeanhelixContent) PrepareMessage() *PrepareContent
- func (x *LeanhelixContent) PreprepareMessage() *PreprepareContent
- func (x *LeanhelixContent) Raw() []byte
- func (x *LeanhelixContent) RawMessage() []byte
- func (x *LeanhelixContent) RawMessageWithHeader() []byte
- func (x *LeanhelixContent) String() string
- func (x *LeanhelixContent) StringCommitMessage() string
- func (x *LeanhelixContent) StringMessage() string
- func (x *LeanhelixContent) StringNewViewMessage() string
- func (x *LeanhelixContent) StringPrepareMessage() string
- func (x *LeanhelixContent) StringPreprepareMessage() string
- func (x *LeanhelixContent) StringViewChangeMessage() string
- func (x *LeanhelixContent) ViewChangeMessage() *ViewChangeMessageContent
- type LeanhelixContentBuilder
- func (w *LeanhelixContentBuilder) Build() *LeanhelixContent
- func (w *LeanhelixContentBuilder) CalcRequiredSize() membuffers.Offset
- func (w *LeanhelixContentBuilder) GetSize() membuffers.Offset
- func (w *LeanhelixContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *LeanhelixContentBuilder) Write(buf []byte) (err error)
- type LeanhelixContentMessage
- type MessageType
- type NewViewHeader
- func (x *NewViewHeader) BlockHeight() primitives.BlockHeight
- func (x *NewViewHeader) Equal(y *NewViewHeader) bool
- func (x *NewViewHeader) InstanceId() primitives.InstanceId
- func (x *NewViewHeader) IsValid() bool
- func (x *NewViewHeader) MessageType() MessageType
- func (x *NewViewHeader) MutateBlockHeight(v primitives.BlockHeight) error
- func (x *NewViewHeader) MutateInstanceId(v primitives.InstanceId) error
- func (x *NewViewHeader) MutateMessageType(v MessageType) error
- func (x *NewViewHeader) MutateView(v primitives.View) error
- func (x *NewViewHeader) Raw() []byte
- func (x *NewViewHeader) RawBlockHeight() []byte
- func (x *NewViewHeader) RawInstanceId() []byte
- func (x *NewViewHeader) RawMessageType() []byte
- func (x *NewViewHeader) RawView() []byte
- func (x *NewViewHeader) RawViewChangeConfirmationsArray() []byte
- func (x *NewViewHeader) RawViewChangeConfirmationsArrayWithHeader() []byte
- func (x *NewViewHeader) String() string
- func (x *NewViewHeader) StringBlockHeight() string
- func (x *NewViewHeader) StringInstanceId() string
- func (x *NewViewHeader) StringMessageType() string
- func (x *NewViewHeader) StringView() string
- func (x *NewViewHeader) StringViewChangeConfirmations() (res string)
- func (x *NewViewHeader) View() primitives.View
- func (x *NewViewHeader) ViewChangeConfirmationsIterator() *NewViewHeaderViewChangeConfirmationsIterator
- type NewViewHeaderBuilder
- func (w *NewViewHeaderBuilder) Build() *NewViewHeader
- func (w *NewViewHeaderBuilder) CalcRequiredSize() membuffers.Offset
- func (w *NewViewHeaderBuilder) GetSize() membuffers.Offset
- func (w *NewViewHeaderBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *NewViewHeaderBuilder) Write(buf []byte) (err error)
- type NewViewHeaderViewChangeConfirmationsIterator
- type NewViewMessageContent
- func (x *NewViewMessageContent) Equal(y *NewViewMessageContent) bool
- func (x *NewViewMessageContent) IsValid() bool
- func (x *NewViewMessageContent) Message() *PreprepareContent
- func (x *NewViewMessageContent) Raw() []byte
- func (x *NewViewMessageContent) RawMessage() []byte
- func (x *NewViewMessageContent) RawMessageWithHeader() []byte
- func (x *NewViewMessageContent) RawSender() []byte
- func (x *NewViewMessageContent) RawSenderWithHeader() []byte
- func (x *NewViewMessageContent) RawSignedHeader() []byte
- func (x *NewViewMessageContent) RawSignedHeaderWithHeader() []byte
- func (x *NewViewMessageContent) Sender() *SenderSignature
- func (x *NewViewMessageContent) SignedHeader() *NewViewHeader
- func (x *NewViewMessageContent) String() string
- func (x *NewViewMessageContent) StringMessage() string
- func (x *NewViewMessageContent) StringSender() string
- func (x *NewViewMessageContent) StringSignedHeader() string
- type NewViewMessageContentBuilder
- func (w *NewViewMessageContentBuilder) Build() *NewViewMessageContent
- func (w *NewViewMessageContentBuilder) CalcRequiredSize() membuffers.Offset
- func (w *NewViewMessageContentBuilder) GetSize() membuffers.Offset
- func (w *NewViewMessageContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *NewViewMessageContentBuilder) Write(buf []byte) (err error)
- type PrepareContent
- func (x *PrepareContent) Equal(y *PrepareContent) bool
- func (x *PrepareContent) IsValid() bool
- func (x *PrepareContent) Raw() []byte
- func (x *PrepareContent) RawSender() []byte
- func (x *PrepareContent) RawSenderWithHeader() []byte
- func (x *PrepareContent) RawSignedHeader() []byte
- func (x *PrepareContent) RawSignedHeaderWithHeader() []byte
- func (x *PrepareContent) Sender() *SenderSignature
- func (x *PrepareContent) SignedHeader() *BlockRef
- func (x *PrepareContent) String() string
- func (x *PrepareContent) StringSender() string
- func (x *PrepareContent) StringSignedHeader() string
- type PrepareContentBuilder
- func (w *PrepareContentBuilder) Build() *PrepareContent
- func (w *PrepareContentBuilder) CalcRequiredSize() membuffers.Offset
- func (w *PrepareContentBuilder) GetSize() membuffers.Offset
- func (w *PrepareContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *PrepareContentBuilder) Write(buf []byte) (err error)
- type PreparedProof
- func (x *PreparedProof) Equal(y *PreparedProof) bool
- func (x *PreparedProof) IsValid() bool
- func (x *PreparedProof) PrepareBlockRef() *BlockRef
- func (x *PreparedProof) PrepareSendersIterator() *PreparedProofPrepareSendersIterator
- func (x *PreparedProof) PreprepareBlockRef() *BlockRef
- func (x *PreparedProof) PreprepareSender() *SenderSignature
- func (x *PreparedProof) Raw() []byte
- func (x *PreparedProof) RawPrepareBlockRef() []byte
- func (x *PreparedProof) RawPrepareBlockRefWithHeader() []byte
- func (x *PreparedProof) RawPrepareSendersArray() []byte
- func (x *PreparedProof) RawPrepareSendersArrayWithHeader() []byte
- func (x *PreparedProof) RawPreprepareBlockRef() []byte
- func (x *PreparedProof) RawPreprepareBlockRefWithHeader() []byte
- func (x *PreparedProof) RawPreprepareSender() []byte
- func (x *PreparedProof) RawPreprepareSenderWithHeader() []byte
- func (x *PreparedProof) String() string
- func (x *PreparedProof) StringPrepareBlockRef() string
- func (x *PreparedProof) StringPrepareSenders() (res string)
- func (x *PreparedProof) StringPreprepareBlockRef() string
- func (x *PreparedProof) StringPreprepareSender() string
- type PreparedProofBuilder
- func (w *PreparedProofBuilder) Build() *PreparedProof
- func (w *PreparedProofBuilder) CalcRequiredSize() membuffers.Offset
- func (w *PreparedProofBuilder) GetSize() membuffers.Offset
- func (w *PreparedProofBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *PreparedProofBuilder) Write(buf []byte) (err error)
- type PreparedProofPrepareSendersIterator
- type PreprepareContent
- func (x *PreprepareContent) Equal(y *PreprepareContent) bool
- func (x *PreprepareContent) IsValid() bool
- func (x *PreprepareContent) Raw() []byte
- func (x *PreprepareContent) RawSender() []byte
- func (x *PreprepareContent) RawSenderWithHeader() []byte
- func (x *PreprepareContent) RawSignedHeader() []byte
- func (x *PreprepareContent) RawSignedHeaderWithHeader() []byte
- func (x *PreprepareContent) Sender() *SenderSignature
- func (x *PreprepareContent) SignedHeader() *BlockRef
- func (x *PreprepareContent) String() string
- func (x *PreprepareContent) StringSender() string
- func (x *PreprepareContent) StringSignedHeader() string
- type PreprepareContentBuilder
- func (w *PreprepareContentBuilder) Build() *PreprepareContent
- func (w *PreprepareContentBuilder) CalcRequiredSize() membuffers.Offset
- func (w *PreprepareContentBuilder) GetSize() membuffers.Offset
- func (w *PreprepareContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *PreprepareContentBuilder) Write(buf []byte) (err error)
- type SenderSignature
- func (x *SenderSignature) Equal(y *SenderSignature) bool
- func (x *SenderSignature) IsValid() bool
- func (x *SenderSignature) MemberId() primitives.MemberId
- func (x *SenderSignature) MutateMemberId(v primitives.MemberId) error
- func (x *SenderSignature) MutateSignature(v primitives.Signature) error
- func (x *SenderSignature) Raw() []byte
- func (x *SenderSignature) RawMemberId() []byte
- func (x *SenderSignature) RawMemberIdWithHeader() []byte
- func (x *SenderSignature) RawSignature() []byte
- func (x *SenderSignature) RawSignatureWithHeader() []byte
- func (x *SenderSignature) Signature() primitives.Signature
- func (x *SenderSignature) String() string
- func (x *SenderSignature) StringMemberId() string
- func (x *SenderSignature) StringSignature() string
- type SenderSignatureBuilder
- func (w *SenderSignatureBuilder) Build() *SenderSignature
- func (w *SenderSignatureBuilder) CalcRequiredSize() membuffers.Offset
- func (w *SenderSignatureBuilder) GetSize() membuffers.Offset
- func (w *SenderSignatureBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *SenderSignatureBuilder) Write(buf []byte) (err error)
- type ViewChangeHeader
- func (x *ViewChangeHeader) BlockHeight() primitives.BlockHeight
- func (x *ViewChangeHeader) Equal(y *ViewChangeHeader) bool
- func (x *ViewChangeHeader) InstanceId() primitives.InstanceId
- func (x *ViewChangeHeader) IsValid() bool
- func (x *ViewChangeHeader) MessageType() MessageType
- func (x *ViewChangeHeader) MutateBlockHeight(v primitives.BlockHeight) error
- func (x *ViewChangeHeader) MutateInstanceId(v primitives.InstanceId) error
- func (x *ViewChangeHeader) MutateMessageType(v MessageType) error
- func (x *ViewChangeHeader) MutateView(v primitives.View) error
- func (x *ViewChangeHeader) PreparedProof() *PreparedProof
- func (x *ViewChangeHeader) Raw() []byte
- func (x *ViewChangeHeader) RawBlockHeight() []byte
- func (x *ViewChangeHeader) RawInstanceId() []byte
- func (x *ViewChangeHeader) RawMessageType() []byte
- func (x *ViewChangeHeader) RawPreparedProof() []byte
- func (x *ViewChangeHeader) RawPreparedProofWithHeader() []byte
- func (x *ViewChangeHeader) RawView() []byte
- func (x *ViewChangeHeader) String() string
- func (x *ViewChangeHeader) StringBlockHeight() string
- func (x *ViewChangeHeader) StringInstanceId() string
- func (x *ViewChangeHeader) StringMessageType() string
- func (x *ViewChangeHeader) StringPreparedProof() string
- func (x *ViewChangeHeader) StringView() string
- func (x *ViewChangeHeader) View() primitives.View
- type ViewChangeHeaderBuilder
- func (w *ViewChangeHeaderBuilder) Build() *ViewChangeHeader
- func (w *ViewChangeHeaderBuilder) CalcRequiredSize() membuffers.Offset
- func (w *ViewChangeHeaderBuilder) GetSize() membuffers.Offset
- func (w *ViewChangeHeaderBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *ViewChangeHeaderBuilder) Write(buf []byte) (err error)
- type ViewChangeMessageContent
- func (x *ViewChangeMessageContent) Equal(y *ViewChangeMessageContent) bool
- func (x *ViewChangeMessageContent) IsValid() bool
- func (x *ViewChangeMessageContent) Raw() []byte
- func (x *ViewChangeMessageContent) RawSender() []byte
- func (x *ViewChangeMessageContent) RawSenderWithHeader() []byte
- func (x *ViewChangeMessageContent) RawSignedHeader() []byte
- func (x *ViewChangeMessageContent) RawSignedHeaderWithHeader() []byte
- func (x *ViewChangeMessageContent) Sender() *SenderSignature
- func (x *ViewChangeMessageContent) SignedHeader() *ViewChangeHeader
- func (x *ViewChangeMessageContent) String() string
- func (x *ViewChangeMessageContent) StringSender() string
- func (x *ViewChangeMessageContent) StringSignedHeader() string
- type ViewChangeMessageContentBuilder
- func (w *ViewChangeMessageContentBuilder) Build() *ViewChangeMessageContent
- func (w *ViewChangeMessageContentBuilder) CalcRequiredSize() membuffers.Offset
- func (w *ViewChangeMessageContentBuilder) GetSize() membuffers.Offset
- func (w *ViewChangeMessageContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *ViewChangeMessageContentBuilder) Write(buf []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockProof ¶
type BlockProof struct {
// contains filtered or unexported fields
}
func BlockProofReader ¶
func BlockProofReader(buf []byte) *BlockProof
func (*BlockProof) BlockRef ¶
func (x *BlockProof) BlockRef() *BlockRef
func (*BlockProof) Equal ¶
func (x *BlockProof) Equal(y *BlockProof) bool
func (*BlockProof) IsValid ¶
func (x *BlockProof) IsValid() bool
func (*BlockProof) MutateRandomSeedSignature ¶
func (x *BlockProof) MutateRandomSeedSignature(v primitives.RandomSeedSignature) error
func (*BlockProof) NodesIterator ¶
func (x *BlockProof) NodesIterator() *BlockProofNodesIterator
func (*BlockProof) RandomSeedSignature ¶
func (x *BlockProof) RandomSeedSignature() primitives.RandomSeedSignature
func (*BlockProof) Raw ¶
func (x *BlockProof) Raw() []byte
func (*BlockProof) RawBlockRef ¶
func (x *BlockProof) RawBlockRef() []byte
func (*BlockProof) RawBlockRefWithHeader ¶
func (x *BlockProof) RawBlockRefWithHeader() []byte
func (*BlockProof) RawNodesArray ¶
func (x *BlockProof) RawNodesArray() []byte
func (*BlockProof) RawNodesArrayWithHeader ¶
func (x *BlockProof) RawNodesArrayWithHeader() []byte
func (*BlockProof) RawRandomSeedSignature ¶
func (x *BlockProof) RawRandomSeedSignature() []byte
func (*BlockProof) RawRandomSeedSignatureWithHeader ¶ added in v0.3.0
func (x *BlockProof) RawRandomSeedSignatureWithHeader() []byte
func (*BlockProof) String ¶
func (x *BlockProof) String() string
func (*BlockProof) StringBlockRef ¶
func (x *BlockProof) StringBlockRef() string
func (*BlockProof) StringNodes ¶
func (x *BlockProof) StringNodes() (res string)
func (*BlockProof) StringRandomSeedSignature ¶
func (x *BlockProof) StringRandomSeedSignature() string
type BlockProofBuilder ¶
type BlockProofBuilder struct {
BlockRef *BlockRefBuilder
Nodes []*SenderSignatureBuilder
RandomSeedSignature primitives.RandomSeedSignature
// contains filtered or unexported fields
}
func BlockProofBuilderFromRaw ¶
func BlockProofBuilderFromRaw(raw []byte) *BlockProofBuilder
func (*BlockProofBuilder) Build ¶
func (w *BlockProofBuilder) Build() *BlockProof
func (*BlockProofBuilder) CalcRequiredSize ¶
func (w *BlockProofBuilder) CalcRequiredSize() membuffers.Offset
func (*BlockProofBuilder) GetSize ¶
func (w *BlockProofBuilder) GetSize() membuffers.Offset
func (*BlockProofBuilder) HexDump ¶
func (w *BlockProofBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*BlockProofBuilder) Write ¶
func (w *BlockProofBuilder) Write(buf []byte) (err error)
type BlockProofNodesIterator ¶
type BlockProofNodesIterator struct {
// contains filtered or unexported fields
}
func (*BlockProofNodesIterator) HasNext ¶
func (i *BlockProofNodesIterator) HasNext() bool
func (*BlockProofNodesIterator) NextNodes ¶
func (i *BlockProofNodesIterator) NextNodes() *SenderSignature
type BlockRef ¶
type BlockRef struct {
// contains filtered or unexported fields
}
func BlockRefReader ¶
func (*BlockRef) BlockHash ¶
func (x *BlockRef) BlockHash() primitives.BlockHash
func (*BlockRef) BlockHeight ¶
func (x *BlockRef) BlockHeight() primitives.BlockHeight
func (*BlockRef) InstanceId ¶
func (x *BlockRef) InstanceId() primitives.InstanceId
func (*BlockRef) MessageType ¶
func (x *BlockRef) MessageType() MessageType
func (*BlockRef) MutateBlockHash ¶
func (x *BlockRef) MutateBlockHash(v primitives.BlockHash) error
func (*BlockRef) MutateBlockHeight ¶
func (x *BlockRef) MutateBlockHeight(v primitives.BlockHeight) error
func (*BlockRef) MutateInstanceId ¶
func (x *BlockRef) MutateInstanceId(v primitives.InstanceId) error
func (*BlockRef) MutateMessageType ¶
func (x *BlockRef) MutateMessageType(v MessageType) error
func (*BlockRef) MutateView ¶
func (x *BlockRef) MutateView(v primitives.View) error
func (*BlockRef) RawBlockHash ¶
func (*BlockRef) RawBlockHashWithHeader ¶ added in v0.3.0
func (*BlockRef) RawBlockHeight ¶
func (*BlockRef) RawInstanceId ¶
func (*BlockRef) RawMessageType ¶
func (*BlockRef) StringBlockHash ¶
func (*BlockRef) StringBlockHeight ¶
func (*BlockRef) StringInstanceId ¶
func (*BlockRef) StringMessageType ¶
func (*BlockRef) StringView ¶
func (*BlockRef) View ¶
func (x *BlockRef) View() primitives.View
type BlockRefBuilder ¶
type BlockRefBuilder struct {
InstanceId primitives.InstanceId
MessageType MessageType
BlockHeight primitives.BlockHeight
View primitives.View
BlockHash primitives.BlockHash
// contains filtered or unexported fields
}
func BlockRefBuilderFromRaw ¶
func BlockRefBuilderFromRaw(raw []byte) *BlockRefBuilder
func (*BlockRefBuilder) Build ¶
func (w *BlockRefBuilder) Build() *BlockRef
func (*BlockRefBuilder) CalcRequiredSize ¶
func (w *BlockRefBuilder) CalcRequiredSize() membuffers.Offset
func (*BlockRefBuilder) GetSize ¶
func (w *BlockRefBuilder) GetSize() membuffers.Offset
func (*BlockRefBuilder) HexDump ¶
func (w *BlockRefBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*BlockRefBuilder) Write ¶
func (w *BlockRefBuilder) Write(buf []byte) (err error)
type CommitContent ¶
type CommitContent struct {
// contains filtered or unexported fields
}
func CommitContentReader ¶
func CommitContentReader(buf []byte) *CommitContent
func (*CommitContent) Equal ¶
func (x *CommitContent) Equal(y *CommitContent) bool
func (*CommitContent) IsValid ¶
func (x *CommitContent) IsValid() bool
func (*CommitContent) MutateShare ¶
func (x *CommitContent) MutateShare(v primitives.RandomSeedSignature) error
func (*CommitContent) Raw ¶
func (x *CommitContent) Raw() []byte
func (*CommitContent) RawSender ¶
func (x *CommitContent) RawSender() []byte
func (*CommitContent) RawSenderWithHeader ¶
func (x *CommitContent) RawSenderWithHeader() []byte
func (*CommitContent) RawShare ¶
func (x *CommitContent) RawShare() []byte
func (*CommitContent) RawShareWithHeader ¶ added in v0.3.0
func (x *CommitContent) RawShareWithHeader() []byte
func (*CommitContent) RawSignedHeader ¶
func (x *CommitContent) RawSignedHeader() []byte
func (*CommitContent) RawSignedHeaderWithHeader ¶
func (x *CommitContent) RawSignedHeaderWithHeader() []byte
func (*CommitContent) Sender ¶
func (x *CommitContent) Sender() *SenderSignature
func (*CommitContent) Share ¶
func (x *CommitContent) Share() primitives.RandomSeedSignature
func (*CommitContent) SignedHeader ¶
func (x *CommitContent) SignedHeader() *BlockRef
func (*CommitContent) String ¶
func (x *CommitContent) String() string
func (*CommitContent) StringSender ¶
func (x *CommitContent) StringSender() string
func (*CommitContent) StringShare ¶
func (x *CommitContent) StringShare() string
func (*CommitContent) StringSignedHeader ¶
func (x *CommitContent) StringSignedHeader() string
type CommitContentBuilder ¶
type CommitContentBuilder struct {
SignedHeader *BlockRefBuilder
Sender *SenderSignatureBuilder
// contains filtered or unexported fields
}
func CommitContentBuilderFromRaw ¶
func CommitContentBuilderFromRaw(raw []byte) *CommitContentBuilder
func (*CommitContentBuilder) Build ¶
func (w *CommitContentBuilder) Build() *CommitContent
func (*CommitContentBuilder) CalcRequiredSize ¶
func (w *CommitContentBuilder) CalcRequiredSize() membuffers.Offset
func (*CommitContentBuilder) GetSize ¶
func (w *CommitContentBuilder) GetSize() membuffers.Offset
func (*CommitContentBuilder) HexDump ¶
func (w *CommitContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*CommitContentBuilder) Write ¶
func (w *CommitContentBuilder) Write(buf []byte) (err error)
type LeanhelixContent ¶
type LeanhelixContent struct {
// contains filtered or unexported fields
}
func LeanhelixContentReader ¶
func LeanhelixContentReader(buf []byte) *LeanhelixContent
func (*LeanhelixContent) CommitMessage ¶
func (x *LeanhelixContent) CommitMessage() *CommitContent
func (*LeanhelixContent) Equal ¶
func (x *LeanhelixContent) Equal(y *LeanhelixContent) bool
func (*LeanhelixContent) IsMessageCommitMessage ¶
func (x *LeanhelixContent) IsMessageCommitMessage() bool
func (*LeanhelixContent) IsMessageNewViewMessage ¶
func (x *LeanhelixContent) IsMessageNewViewMessage() bool
func (*LeanhelixContent) IsMessagePrepareMessage ¶
func (x *LeanhelixContent) IsMessagePrepareMessage() bool
func (*LeanhelixContent) IsMessagePreprepareMessage ¶
func (x *LeanhelixContent) IsMessagePreprepareMessage() bool
func (*LeanhelixContent) IsMessageViewChangeMessage ¶
func (x *LeanhelixContent) IsMessageViewChangeMessage() bool
func (*LeanhelixContent) IsValid ¶
func (x *LeanhelixContent) IsValid() bool
func (*LeanhelixContent) Message ¶
func (x *LeanhelixContent) Message() LeanhelixContentMessage
func (*LeanhelixContent) NewViewMessage ¶
func (x *LeanhelixContent) NewViewMessage() *NewViewMessageContent
func (*LeanhelixContent) PrepareMessage ¶
func (x *LeanhelixContent) PrepareMessage() *PrepareContent
func (*LeanhelixContent) PreprepareMessage ¶
func (x *LeanhelixContent) PreprepareMessage() *PreprepareContent
func (*LeanhelixContent) Raw ¶
func (x *LeanhelixContent) Raw() []byte
func (*LeanhelixContent) RawMessage ¶
func (x *LeanhelixContent) RawMessage() []byte
func (*LeanhelixContent) RawMessageWithHeader ¶
func (x *LeanhelixContent) RawMessageWithHeader() []byte
func (*LeanhelixContent) String ¶
func (x *LeanhelixContent) String() string
func (*LeanhelixContent) StringCommitMessage ¶
func (x *LeanhelixContent) StringCommitMessage() string
func (*LeanhelixContent) StringMessage ¶
func (x *LeanhelixContent) StringMessage() string
func (*LeanhelixContent) StringNewViewMessage ¶
func (x *LeanhelixContent) StringNewViewMessage() string
func (*LeanhelixContent) StringPrepareMessage ¶
func (x *LeanhelixContent) StringPrepareMessage() string
func (*LeanhelixContent) StringPreprepareMessage ¶
func (x *LeanhelixContent) StringPreprepareMessage() string
func (*LeanhelixContent) StringViewChangeMessage ¶
func (x *LeanhelixContent) StringViewChangeMessage() string
func (*LeanhelixContent) ViewChangeMessage ¶
func (x *LeanhelixContent) ViewChangeMessage() *ViewChangeMessageContent
type LeanhelixContentBuilder ¶
type LeanhelixContentBuilder struct {
Message LeanhelixContentMessage
PreprepareMessage *PreprepareContentBuilder
PrepareMessage *PrepareContentBuilder
CommitMessage *CommitContentBuilder
ViewChangeMessage *ViewChangeMessageContentBuilder
NewViewMessage *NewViewMessageContentBuilder
// contains filtered or unexported fields
}
func LeanhelixContentBuilderFromRaw ¶
func LeanhelixContentBuilderFromRaw(raw []byte) *LeanhelixContentBuilder
func (*LeanhelixContentBuilder) Build ¶
func (w *LeanhelixContentBuilder) Build() *LeanhelixContent
func (*LeanhelixContentBuilder) CalcRequiredSize ¶
func (w *LeanhelixContentBuilder) CalcRequiredSize() membuffers.Offset
func (*LeanhelixContentBuilder) GetSize ¶
func (w *LeanhelixContentBuilder) GetSize() membuffers.Offset
func (*LeanhelixContentBuilder) HexDump ¶
func (w *LeanhelixContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*LeanhelixContentBuilder) Write ¶
func (w *LeanhelixContentBuilder) Write(buf []byte) (err error)
type LeanhelixContentMessage ¶
type LeanhelixContentMessage uint16
const ( LEANHELIX_CONTENT_MESSAGE_PREPREPARE_MESSAGE LeanhelixContentMessage = 0 LEANHELIX_CONTENT_MESSAGE_PREPARE_MESSAGE LeanhelixContentMessage = 1 LEANHELIX_CONTENT_MESSAGE_COMMIT_MESSAGE LeanhelixContentMessage = 2 LEANHELIX_CONTENT_MESSAGE_VIEW_CHANGE_MESSAGE LeanhelixContentMessage = 3 LEANHELIX_CONTENT_MESSAGE_NEW_VIEW_MESSAGE LeanhelixContentMessage = 4 )
type MessageType ¶
type MessageType uint16
const ( LEAN_HELIX_RESERVED MessageType = 0 LEAN_HELIX_PREPREPARE MessageType = 1 LEAN_HELIX_PREPARE MessageType = 2 LEAN_HELIX_COMMIT MessageType = 3 LEAN_HELIX_NEW_VIEW MessageType = 4 LEAN_HELIX_VIEW_CHANGE MessageType = 5 )
func (MessageType) String ¶
func (n MessageType) String() string
type NewViewHeader ¶
type NewViewHeader struct {
// contains filtered or unexported fields
}
func NewViewHeaderReader ¶
func NewViewHeaderReader(buf []byte) *NewViewHeader
func (*NewViewHeader) BlockHeight ¶
func (x *NewViewHeader) BlockHeight() primitives.BlockHeight
func (*NewViewHeader) Equal ¶
func (x *NewViewHeader) Equal(y *NewViewHeader) bool
func (*NewViewHeader) InstanceId ¶
func (x *NewViewHeader) InstanceId() primitives.InstanceId
func (*NewViewHeader) IsValid ¶
func (x *NewViewHeader) IsValid() bool
func (*NewViewHeader) MessageType ¶
func (x *NewViewHeader) MessageType() MessageType
func (*NewViewHeader) MutateBlockHeight ¶
func (x *NewViewHeader) MutateBlockHeight(v primitives.BlockHeight) error
func (*NewViewHeader) MutateInstanceId ¶
func (x *NewViewHeader) MutateInstanceId(v primitives.InstanceId) error
func (*NewViewHeader) MutateMessageType ¶
func (x *NewViewHeader) MutateMessageType(v MessageType) error
func (*NewViewHeader) MutateView ¶
func (x *NewViewHeader) MutateView(v primitives.View) error
func (*NewViewHeader) Raw ¶
func (x *NewViewHeader) Raw() []byte
func (*NewViewHeader) RawBlockHeight ¶
func (x *NewViewHeader) RawBlockHeight() []byte
func (*NewViewHeader) RawInstanceId ¶
func (x *NewViewHeader) RawInstanceId() []byte
func (*NewViewHeader) RawMessageType ¶
func (x *NewViewHeader) RawMessageType() []byte
func (*NewViewHeader) RawView ¶
func (x *NewViewHeader) RawView() []byte
func (*NewViewHeader) RawViewChangeConfirmationsArray ¶
func (x *NewViewHeader) RawViewChangeConfirmationsArray() []byte
func (*NewViewHeader) RawViewChangeConfirmationsArrayWithHeader ¶
func (x *NewViewHeader) RawViewChangeConfirmationsArrayWithHeader() []byte
func (*NewViewHeader) String ¶
func (x *NewViewHeader) String() string
func (*NewViewHeader) StringBlockHeight ¶
func (x *NewViewHeader) StringBlockHeight() string
func (*NewViewHeader) StringInstanceId ¶
func (x *NewViewHeader) StringInstanceId() string
func (*NewViewHeader) StringMessageType ¶
func (x *NewViewHeader) StringMessageType() string
func (*NewViewHeader) StringView ¶
func (x *NewViewHeader) StringView() string
func (*NewViewHeader) StringViewChangeConfirmations ¶
func (x *NewViewHeader) StringViewChangeConfirmations() (res string)
func (*NewViewHeader) View ¶
func (x *NewViewHeader) View() primitives.View
func (*NewViewHeader) ViewChangeConfirmationsIterator ¶
func (x *NewViewHeader) ViewChangeConfirmationsIterator() *NewViewHeaderViewChangeConfirmationsIterator
type NewViewHeaderBuilder ¶
type NewViewHeaderBuilder struct {
InstanceId primitives.InstanceId
MessageType MessageType
BlockHeight primitives.BlockHeight
View primitives.View
ViewChangeConfirmations []*ViewChangeMessageContentBuilder
// contains filtered or unexported fields
}
func NewViewHeaderBuilderFromRaw ¶
func NewViewHeaderBuilderFromRaw(raw []byte) *NewViewHeaderBuilder
func (*NewViewHeaderBuilder) Build ¶
func (w *NewViewHeaderBuilder) Build() *NewViewHeader
func (*NewViewHeaderBuilder) CalcRequiredSize ¶
func (w *NewViewHeaderBuilder) CalcRequiredSize() membuffers.Offset
func (*NewViewHeaderBuilder) GetSize ¶
func (w *NewViewHeaderBuilder) GetSize() membuffers.Offset
func (*NewViewHeaderBuilder) HexDump ¶
func (w *NewViewHeaderBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*NewViewHeaderBuilder) Write ¶
func (w *NewViewHeaderBuilder) Write(buf []byte) (err error)
type NewViewHeaderViewChangeConfirmationsIterator ¶
type NewViewHeaderViewChangeConfirmationsIterator struct {
// contains filtered or unexported fields
}
func (*NewViewHeaderViewChangeConfirmationsIterator) HasNext ¶
func (i *NewViewHeaderViewChangeConfirmationsIterator) HasNext() bool
func (*NewViewHeaderViewChangeConfirmationsIterator) NextViewChangeConfirmations ¶
func (i *NewViewHeaderViewChangeConfirmationsIterator) NextViewChangeConfirmations() *ViewChangeMessageContent
type NewViewMessageContent ¶
type NewViewMessageContent struct {
// contains filtered or unexported fields
}
func NewViewMessageContentReader ¶
func NewViewMessageContentReader(buf []byte) *NewViewMessageContent
func (*NewViewMessageContent) Equal ¶
func (x *NewViewMessageContent) Equal(y *NewViewMessageContent) bool
func (*NewViewMessageContent) IsValid ¶
func (x *NewViewMessageContent) IsValid() bool
func (*NewViewMessageContent) Message ¶
func (x *NewViewMessageContent) Message() *PreprepareContent
func (*NewViewMessageContent) Raw ¶
func (x *NewViewMessageContent) Raw() []byte
func (*NewViewMessageContent) RawMessage ¶
func (x *NewViewMessageContent) RawMessage() []byte
func (*NewViewMessageContent) RawMessageWithHeader ¶
func (x *NewViewMessageContent) RawMessageWithHeader() []byte
func (*NewViewMessageContent) RawSender ¶
func (x *NewViewMessageContent) RawSender() []byte
func (*NewViewMessageContent) RawSenderWithHeader ¶
func (x *NewViewMessageContent) RawSenderWithHeader() []byte
func (*NewViewMessageContent) RawSignedHeader ¶
func (x *NewViewMessageContent) RawSignedHeader() []byte
func (*NewViewMessageContent) RawSignedHeaderWithHeader ¶
func (x *NewViewMessageContent) RawSignedHeaderWithHeader() []byte
func (*NewViewMessageContent) Sender ¶
func (x *NewViewMessageContent) Sender() *SenderSignature
func (*NewViewMessageContent) SignedHeader ¶
func (x *NewViewMessageContent) SignedHeader() *NewViewHeader
func (*NewViewMessageContent) String ¶
func (x *NewViewMessageContent) String() string
func (*NewViewMessageContent) StringMessage ¶
func (x *NewViewMessageContent) StringMessage() string
func (*NewViewMessageContent) StringSender ¶
func (x *NewViewMessageContent) StringSender() string
func (*NewViewMessageContent) StringSignedHeader ¶
func (x *NewViewMessageContent) StringSignedHeader() string
type NewViewMessageContentBuilder ¶
type NewViewMessageContentBuilder struct {
SignedHeader *NewViewHeaderBuilder
Sender *SenderSignatureBuilder
Message *PreprepareContentBuilder
// contains filtered or unexported fields
}
func NewViewMessageContentBuilderFromRaw ¶
func NewViewMessageContentBuilderFromRaw(raw []byte) *NewViewMessageContentBuilder
func (*NewViewMessageContentBuilder) Build ¶
func (w *NewViewMessageContentBuilder) Build() *NewViewMessageContent
func (*NewViewMessageContentBuilder) CalcRequiredSize ¶
func (w *NewViewMessageContentBuilder) CalcRequiredSize() membuffers.Offset
func (*NewViewMessageContentBuilder) GetSize ¶
func (w *NewViewMessageContentBuilder) GetSize() membuffers.Offset
func (*NewViewMessageContentBuilder) HexDump ¶
func (w *NewViewMessageContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*NewViewMessageContentBuilder) Write ¶
func (w *NewViewMessageContentBuilder) Write(buf []byte) (err error)
type PrepareContent ¶
type PrepareContent struct {
// contains filtered or unexported fields
}
func PrepareContentReader ¶
func PrepareContentReader(buf []byte) *PrepareContent
func (*PrepareContent) Equal ¶
func (x *PrepareContent) Equal(y *PrepareContent) bool
func (*PrepareContent) IsValid ¶
func (x *PrepareContent) IsValid() bool
func (*PrepareContent) Raw ¶
func (x *PrepareContent) Raw() []byte
func (*PrepareContent) RawSender ¶
func (x *PrepareContent) RawSender() []byte
func (*PrepareContent) RawSenderWithHeader ¶
func (x *PrepareContent) RawSenderWithHeader() []byte
func (*PrepareContent) RawSignedHeader ¶
func (x *PrepareContent) RawSignedHeader() []byte
func (*PrepareContent) RawSignedHeaderWithHeader ¶
func (x *PrepareContent) RawSignedHeaderWithHeader() []byte
func (*PrepareContent) Sender ¶
func (x *PrepareContent) Sender() *SenderSignature
func (*PrepareContent) SignedHeader ¶
func (x *PrepareContent) SignedHeader() *BlockRef
func (*PrepareContent) String ¶
func (x *PrepareContent) String() string
func (*PrepareContent) StringSender ¶
func (x *PrepareContent) StringSender() string
func (*PrepareContent) StringSignedHeader ¶
func (x *PrepareContent) StringSignedHeader() string
type PrepareContentBuilder ¶
type PrepareContentBuilder struct {
SignedHeader *BlockRefBuilder
Sender *SenderSignatureBuilder
// contains filtered or unexported fields
}
func PrepareContentBuilderFromRaw ¶
func PrepareContentBuilderFromRaw(raw []byte) *PrepareContentBuilder
func (*PrepareContentBuilder) Build ¶
func (w *PrepareContentBuilder) Build() *PrepareContent
func (*PrepareContentBuilder) CalcRequiredSize ¶
func (w *PrepareContentBuilder) CalcRequiredSize() membuffers.Offset
func (*PrepareContentBuilder) GetSize ¶
func (w *PrepareContentBuilder) GetSize() membuffers.Offset
func (*PrepareContentBuilder) HexDump ¶
func (w *PrepareContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*PrepareContentBuilder) Write ¶
func (w *PrepareContentBuilder) Write(buf []byte) (err error)
type PreparedProof ¶
type PreparedProof struct {
// contains filtered or unexported fields
}
func PreparedProofReader ¶
func PreparedProofReader(buf []byte) *PreparedProof
func (*PreparedProof) Equal ¶
func (x *PreparedProof) Equal(y *PreparedProof) bool
func (*PreparedProof) IsValid ¶
func (x *PreparedProof) IsValid() bool
func (*PreparedProof) PrepareBlockRef ¶
func (x *PreparedProof) PrepareBlockRef() *BlockRef
func (*PreparedProof) PrepareSendersIterator ¶
func (x *PreparedProof) PrepareSendersIterator() *PreparedProofPrepareSendersIterator
func (*PreparedProof) PreprepareBlockRef ¶
func (x *PreparedProof) PreprepareBlockRef() *BlockRef
func (*PreparedProof) PreprepareSender ¶
func (x *PreparedProof) PreprepareSender() *SenderSignature
func (*PreparedProof) Raw ¶
func (x *PreparedProof) Raw() []byte
func (*PreparedProof) RawPrepareBlockRef ¶
func (x *PreparedProof) RawPrepareBlockRef() []byte
func (*PreparedProof) RawPrepareBlockRefWithHeader ¶
func (x *PreparedProof) RawPrepareBlockRefWithHeader() []byte
func (*PreparedProof) RawPrepareSendersArray ¶
func (x *PreparedProof) RawPrepareSendersArray() []byte
func (*PreparedProof) RawPrepareSendersArrayWithHeader ¶
func (x *PreparedProof) RawPrepareSendersArrayWithHeader() []byte
func (*PreparedProof) RawPreprepareBlockRef ¶
func (x *PreparedProof) RawPreprepareBlockRef() []byte
func (*PreparedProof) RawPreprepareBlockRefWithHeader ¶
func (x *PreparedProof) RawPreprepareBlockRefWithHeader() []byte
func (*PreparedProof) RawPreprepareSender ¶
func (x *PreparedProof) RawPreprepareSender() []byte
func (*PreparedProof) RawPreprepareSenderWithHeader ¶
func (x *PreparedProof) RawPreprepareSenderWithHeader() []byte
func (*PreparedProof) String ¶
func (x *PreparedProof) String() string
func (*PreparedProof) StringPrepareBlockRef ¶
func (x *PreparedProof) StringPrepareBlockRef() string
func (*PreparedProof) StringPrepareSenders ¶
func (x *PreparedProof) StringPrepareSenders() (res string)
func (*PreparedProof) StringPreprepareBlockRef ¶
func (x *PreparedProof) StringPreprepareBlockRef() string
func (*PreparedProof) StringPreprepareSender ¶
func (x *PreparedProof) StringPreprepareSender() string
type PreparedProofBuilder ¶
type PreparedProofBuilder struct {
PreprepareBlockRef *BlockRefBuilder
PreprepareSender *SenderSignatureBuilder
PrepareBlockRef *BlockRefBuilder
PrepareSenders []*SenderSignatureBuilder
// contains filtered or unexported fields
}
func PreparedProofBuilderFromRaw ¶
func PreparedProofBuilderFromRaw(raw []byte) *PreparedProofBuilder
func (*PreparedProofBuilder) Build ¶
func (w *PreparedProofBuilder) Build() *PreparedProof
func (*PreparedProofBuilder) CalcRequiredSize ¶
func (w *PreparedProofBuilder) CalcRequiredSize() membuffers.Offset
func (*PreparedProofBuilder) GetSize ¶
func (w *PreparedProofBuilder) GetSize() membuffers.Offset
func (*PreparedProofBuilder) HexDump ¶
func (w *PreparedProofBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*PreparedProofBuilder) Write ¶
func (w *PreparedProofBuilder) Write(buf []byte) (err error)
type PreparedProofPrepareSendersIterator ¶
type PreparedProofPrepareSendersIterator struct {
// contains filtered or unexported fields
}
func (*PreparedProofPrepareSendersIterator) HasNext ¶
func (i *PreparedProofPrepareSendersIterator) HasNext() bool
func (*PreparedProofPrepareSendersIterator) NextPrepareSenders ¶
func (i *PreparedProofPrepareSendersIterator) NextPrepareSenders() *SenderSignature
type PreprepareContent ¶
type PreprepareContent struct {
// contains filtered or unexported fields
}
func PreprepareContentReader ¶
func PreprepareContentReader(buf []byte) *PreprepareContent
func (*PreprepareContent) Equal ¶
func (x *PreprepareContent) Equal(y *PreprepareContent) bool
func (*PreprepareContent) IsValid ¶
func (x *PreprepareContent) IsValid() bool
func (*PreprepareContent) Raw ¶
func (x *PreprepareContent) Raw() []byte
func (*PreprepareContent) RawSender ¶
func (x *PreprepareContent) RawSender() []byte
func (*PreprepareContent) RawSenderWithHeader ¶
func (x *PreprepareContent) RawSenderWithHeader() []byte
func (*PreprepareContent) RawSignedHeader ¶
func (x *PreprepareContent) RawSignedHeader() []byte
func (*PreprepareContent) RawSignedHeaderWithHeader ¶
func (x *PreprepareContent) RawSignedHeaderWithHeader() []byte
func (*PreprepareContent) Sender ¶
func (x *PreprepareContent) Sender() *SenderSignature
func (*PreprepareContent) SignedHeader ¶
func (x *PreprepareContent) SignedHeader() *BlockRef
func (*PreprepareContent) String ¶
func (x *PreprepareContent) String() string
func (*PreprepareContent) StringSender ¶
func (x *PreprepareContent) StringSender() string
func (*PreprepareContent) StringSignedHeader ¶
func (x *PreprepareContent) StringSignedHeader() string
type PreprepareContentBuilder ¶
type PreprepareContentBuilder struct {
SignedHeader *BlockRefBuilder
Sender *SenderSignatureBuilder
// contains filtered or unexported fields
}
func PreprepareContentBuilderFromRaw ¶
func PreprepareContentBuilderFromRaw(raw []byte) *PreprepareContentBuilder
func (*PreprepareContentBuilder) Build ¶
func (w *PreprepareContentBuilder) Build() *PreprepareContent
func (*PreprepareContentBuilder) CalcRequiredSize ¶
func (w *PreprepareContentBuilder) CalcRequiredSize() membuffers.Offset
func (*PreprepareContentBuilder) GetSize ¶
func (w *PreprepareContentBuilder) GetSize() membuffers.Offset
func (*PreprepareContentBuilder) HexDump ¶
func (w *PreprepareContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*PreprepareContentBuilder) Write ¶
func (w *PreprepareContentBuilder) Write(buf []byte) (err error)
type SenderSignature ¶
type SenderSignature struct {
// contains filtered or unexported fields
}
func SenderSignatureReader ¶
func SenderSignatureReader(buf []byte) *SenderSignature
func (*SenderSignature) Equal ¶
func (x *SenderSignature) Equal(y *SenderSignature) bool
func (*SenderSignature) IsValid ¶
func (x *SenderSignature) IsValid() bool
func (*SenderSignature) MemberId ¶
func (x *SenderSignature) MemberId() primitives.MemberId
func (*SenderSignature) MutateMemberId ¶
func (x *SenderSignature) MutateMemberId(v primitives.MemberId) error
func (*SenderSignature) MutateSignature ¶
func (x *SenderSignature) MutateSignature(v primitives.Signature) error
func (*SenderSignature) Raw ¶
func (x *SenderSignature) Raw() []byte
func (*SenderSignature) RawMemberId ¶
func (x *SenderSignature) RawMemberId() []byte
func (*SenderSignature) RawMemberIdWithHeader ¶ added in v0.3.0
func (x *SenderSignature) RawMemberIdWithHeader() []byte
func (*SenderSignature) RawSignature ¶
func (x *SenderSignature) RawSignature() []byte
func (*SenderSignature) RawSignatureWithHeader ¶ added in v0.3.0
func (x *SenderSignature) RawSignatureWithHeader() []byte
func (*SenderSignature) Signature ¶
func (x *SenderSignature) Signature() primitives.Signature
func (*SenderSignature) String ¶
func (x *SenderSignature) String() string
func (*SenderSignature) StringMemberId ¶
func (x *SenderSignature) StringMemberId() string
func (*SenderSignature) StringSignature ¶
func (x *SenderSignature) StringSignature() string
type SenderSignatureBuilder ¶
type SenderSignatureBuilder struct {
MemberId primitives.MemberId
Signature primitives.Signature
// contains filtered or unexported fields
}
func SenderSignatureBuilderFromRaw ¶
func SenderSignatureBuilderFromRaw(raw []byte) *SenderSignatureBuilder
func (*SenderSignatureBuilder) Build ¶
func (w *SenderSignatureBuilder) Build() *SenderSignature
func (*SenderSignatureBuilder) CalcRequiredSize ¶
func (w *SenderSignatureBuilder) CalcRequiredSize() membuffers.Offset
func (*SenderSignatureBuilder) GetSize ¶
func (w *SenderSignatureBuilder) GetSize() membuffers.Offset
func (*SenderSignatureBuilder) HexDump ¶
func (w *SenderSignatureBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*SenderSignatureBuilder) Write ¶
func (w *SenderSignatureBuilder) Write(buf []byte) (err error)
type ViewChangeHeader ¶
type ViewChangeHeader struct {
// contains filtered or unexported fields
}
func ViewChangeHeaderReader ¶
func ViewChangeHeaderReader(buf []byte) *ViewChangeHeader
func (*ViewChangeHeader) BlockHeight ¶
func (x *ViewChangeHeader) BlockHeight() primitives.BlockHeight
func (*ViewChangeHeader) Equal ¶
func (x *ViewChangeHeader) Equal(y *ViewChangeHeader) bool
func (*ViewChangeHeader) InstanceId ¶
func (x *ViewChangeHeader) InstanceId() primitives.InstanceId
func (*ViewChangeHeader) IsValid ¶
func (x *ViewChangeHeader) IsValid() bool
func (*ViewChangeHeader) MessageType ¶
func (x *ViewChangeHeader) MessageType() MessageType
func (*ViewChangeHeader) MutateBlockHeight ¶
func (x *ViewChangeHeader) MutateBlockHeight(v primitives.BlockHeight) error
func (*ViewChangeHeader) MutateInstanceId ¶
func (x *ViewChangeHeader) MutateInstanceId(v primitives.InstanceId) error
func (*ViewChangeHeader) MutateMessageType ¶
func (x *ViewChangeHeader) MutateMessageType(v MessageType) error
func (*ViewChangeHeader) MutateView ¶
func (x *ViewChangeHeader) MutateView(v primitives.View) error
func (*ViewChangeHeader) PreparedProof ¶
func (x *ViewChangeHeader) PreparedProof() *PreparedProof
func (*ViewChangeHeader) Raw ¶
func (x *ViewChangeHeader) Raw() []byte
func (*ViewChangeHeader) RawBlockHeight ¶
func (x *ViewChangeHeader) RawBlockHeight() []byte
func (*ViewChangeHeader) RawInstanceId ¶
func (x *ViewChangeHeader) RawInstanceId() []byte
func (*ViewChangeHeader) RawMessageType ¶
func (x *ViewChangeHeader) RawMessageType() []byte
func (*ViewChangeHeader) RawPreparedProof ¶
func (x *ViewChangeHeader) RawPreparedProof() []byte
func (*ViewChangeHeader) RawPreparedProofWithHeader ¶
func (x *ViewChangeHeader) RawPreparedProofWithHeader() []byte
func (*ViewChangeHeader) RawView ¶
func (x *ViewChangeHeader) RawView() []byte
func (*ViewChangeHeader) String ¶
func (x *ViewChangeHeader) String() string
func (*ViewChangeHeader) StringBlockHeight ¶
func (x *ViewChangeHeader) StringBlockHeight() string
func (*ViewChangeHeader) StringInstanceId ¶
func (x *ViewChangeHeader) StringInstanceId() string
func (*ViewChangeHeader) StringMessageType ¶
func (x *ViewChangeHeader) StringMessageType() string
func (*ViewChangeHeader) StringPreparedProof ¶
func (x *ViewChangeHeader) StringPreparedProof() string
func (*ViewChangeHeader) StringView ¶
func (x *ViewChangeHeader) StringView() string
func (*ViewChangeHeader) View ¶
func (x *ViewChangeHeader) View() primitives.View
type ViewChangeHeaderBuilder ¶
type ViewChangeHeaderBuilder struct {
InstanceId primitives.InstanceId
MessageType MessageType
BlockHeight primitives.BlockHeight
View primitives.View
PreparedProof *PreparedProofBuilder
// contains filtered or unexported fields
}
func ViewChangeHeaderBuilderFromRaw ¶
func ViewChangeHeaderBuilderFromRaw(raw []byte) *ViewChangeHeaderBuilder
func (*ViewChangeHeaderBuilder) Build ¶
func (w *ViewChangeHeaderBuilder) Build() *ViewChangeHeader
func (*ViewChangeHeaderBuilder) CalcRequiredSize ¶
func (w *ViewChangeHeaderBuilder) CalcRequiredSize() membuffers.Offset
func (*ViewChangeHeaderBuilder) GetSize ¶
func (w *ViewChangeHeaderBuilder) GetSize() membuffers.Offset
func (*ViewChangeHeaderBuilder) HexDump ¶
func (w *ViewChangeHeaderBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*ViewChangeHeaderBuilder) Write ¶
func (w *ViewChangeHeaderBuilder) Write(buf []byte) (err error)
type ViewChangeMessageContent ¶
type ViewChangeMessageContent struct {
// contains filtered or unexported fields
}
func ViewChangeMessageContentReader ¶
func ViewChangeMessageContentReader(buf []byte) *ViewChangeMessageContent
func (*ViewChangeMessageContent) Equal ¶
func (x *ViewChangeMessageContent) Equal(y *ViewChangeMessageContent) bool
func (*ViewChangeMessageContent) IsValid ¶
func (x *ViewChangeMessageContent) IsValid() bool
func (*ViewChangeMessageContent) Raw ¶
func (x *ViewChangeMessageContent) Raw() []byte
func (*ViewChangeMessageContent) RawSender ¶
func (x *ViewChangeMessageContent) RawSender() []byte
func (*ViewChangeMessageContent) RawSenderWithHeader ¶
func (x *ViewChangeMessageContent) RawSenderWithHeader() []byte
func (*ViewChangeMessageContent) RawSignedHeader ¶
func (x *ViewChangeMessageContent) RawSignedHeader() []byte
func (*ViewChangeMessageContent) RawSignedHeaderWithHeader ¶
func (x *ViewChangeMessageContent) RawSignedHeaderWithHeader() []byte
func (*ViewChangeMessageContent) Sender ¶
func (x *ViewChangeMessageContent) Sender() *SenderSignature
func (*ViewChangeMessageContent) SignedHeader ¶
func (x *ViewChangeMessageContent) SignedHeader() *ViewChangeHeader
func (*ViewChangeMessageContent) String ¶
func (x *ViewChangeMessageContent) String() string
func (*ViewChangeMessageContent) StringSender ¶
func (x *ViewChangeMessageContent) StringSender() string
func (*ViewChangeMessageContent) StringSignedHeader ¶
func (x *ViewChangeMessageContent) StringSignedHeader() string
type ViewChangeMessageContentBuilder ¶
type ViewChangeMessageContentBuilder struct {
SignedHeader *ViewChangeHeaderBuilder
Sender *SenderSignatureBuilder
// contains filtered or unexported fields
}
func ViewChangeMessageContentBuilderFromRaw ¶
func ViewChangeMessageContentBuilderFromRaw(raw []byte) *ViewChangeMessageContentBuilder
func (*ViewChangeMessageContentBuilder) Build ¶
func (w *ViewChangeMessageContentBuilder) Build() *ViewChangeMessageContent
func (*ViewChangeMessageContentBuilder) CalcRequiredSize ¶
func (w *ViewChangeMessageContentBuilder) CalcRequiredSize() membuffers.Offset
func (*ViewChangeMessageContentBuilder) GetSize ¶
func (w *ViewChangeMessageContentBuilder) GetSize() membuffers.Offset
func (*ViewChangeMessageContentBuilder) HexDump ¶
func (w *ViewChangeMessageContentBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*ViewChangeMessageContentBuilder) Write ¶
func (w *ViewChangeMessageContentBuilder) Write(buf []byte) (err error)
Click to show internal directories.
Click to hide internal directories.