Documentation ¶
Overview ¶
AUTO GENERATED FILE (by membufc proto compiler v0.4.0)
AUTO GENERATED FILE (by membufc proto compiler v0.4.0)
AUTO GENERATED FILE (by membufc proto compiler v0.4.0)
Index ¶
- type BenchmarkConsensusBlockProof
- func (x *BenchmarkConsensusBlockProof) BlockRef() *BenchmarkConsensusBlockRef
- func (x *BenchmarkConsensusBlockProof) Equal(y *BenchmarkConsensusBlockProof) bool
- func (x *BenchmarkConsensusBlockProof) IsValid() bool
- func (x *BenchmarkConsensusBlockProof) MutatePlaceholder(v []byte) error
- func (x *BenchmarkConsensusBlockProof) NodesIterator() *BenchmarkConsensusBlockProofNodesIterator
- func (x *BenchmarkConsensusBlockProof) Placeholder() []byte
- func (x *BenchmarkConsensusBlockProof) Raw() []byte
- func (x *BenchmarkConsensusBlockProof) RawBlockRef() []byte
- func (x *BenchmarkConsensusBlockProof) RawBlockRefWithHeader() []byte
- func (x *BenchmarkConsensusBlockProof) RawNodesArray() []byte
- func (x *BenchmarkConsensusBlockProof) RawNodesArrayWithHeader() []byte
- func (x *BenchmarkConsensusBlockProof) RawPlaceholder() []byte
- func (x *BenchmarkConsensusBlockProof) RawPlaceholderWithHeader() []byte
- func (x *BenchmarkConsensusBlockProof) String() string
- func (x *BenchmarkConsensusBlockProof) StringBlockRef() string
- func (x *BenchmarkConsensusBlockProof) StringNodes() (res string)
- func (x *BenchmarkConsensusBlockProof) StringPlaceholder() string
- type BenchmarkConsensusBlockProofBuilder
- func (w *BenchmarkConsensusBlockProofBuilder) Build() *BenchmarkConsensusBlockProof
- func (w *BenchmarkConsensusBlockProofBuilder) CalcRequiredSize() membuffers.Offset
- func (w *BenchmarkConsensusBlockProofBuilder) GetSize() membuffers.Offset
- func (w *BenchmarkConsensusBlockProofBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *BenchmarkConsensusBlockProofBuilder) Write(buf []byte) (err error)
- type BenchmarkConsensusBlockProofNodesIterator
- type BenchmarkConsensusBlockRef
- func (x *BenchmarkConsensusBlockRef) BlockHash() primitives.Sha256
- func (x *BenchmarkConsensusBlockRef) BlockHeight() primitives.BlockHeight
- func (x *BenchmarkConsensusBlockRef) Equal(y *BenchmarkConsensusBlockRef) bool
- func (x *BenchmarkConsensusBlockRef) IsValid() bool
- func (x *BenchmarkConsensusBlockRef) MutateBlockHash(v primitives.Sha256) error
- func (x *BenchmarkConsensusBlockRef) MutateBlockHeight(v primitives.BlockHeight) error
- func (x *BenchmarkConsensusBlockRef) MutatePlaceholderType(v BenchmarkConsensusPlaceholder) error
- func (x *BenchmarkConsensusBlockRef) MutatePlaceholderView(v uint64) error
- func (x *BenchmarkConsensusBlockRef) PlaceholderType() BenchmarkConsensusPlaceholder
- func (x *BenchmarkConsensusBlockRef) PlaceholderView() uint64
- func (x *BenchmarkConsensusBlockRef) Raw() []byte
- func (x *BenchmarkConsensusBlockRef) RawBlockHash() []byte
- func (x *BenchmarkConsensusBlockRef) RawBlockHashWithHeader() []byte
- func (x *BenchmarkConsensusBlockRef) RawBlockHeight() []byte
- func (x *BenchmarkConsensusBlockRef) RawPlaceholderType() []byte
- func (x *BenchmarkConsensusBlockRef) RawPlaceholderView() []byte
- func (x *BenchmarkConsensusBlockRef) String() string
- func (x *BenchmarkConsensusBlockRef) StringBlockHash() string
- func (x *BenchmarkConsensusBlockRef) StringBlockHeight() string
- func (x *BenchmarkConsensusBlockRef) StringPlaceholderType() string
- func (x *BenchmarkConsensusBlockRef) StringPlaceholderView() string
- type BenchmarkConsensusBlockRefBuilder
- func (w *BenchmarkConsensusBlockRefBuilder) Build() *BenchmarkConsensusBlockRef
- func (w *BenchmarkConsensusBlockRefBuilder) CalcRequiredSize() membuffers.Offset
- func (w *BenchmarkConsensusBlockRefBuilder) GetSize() membuffers.Offset
- func (w *BenchmarkConsensusBlockRefBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *BenchmarkConsensusBlockRefBuilder) Write(buf []byte) (err error)
- type BenchmarkConsensusMessageType
- type BenchmarkConsensusPlaceholder
- type BenchmarkConsensusSenderSignature
- func (x *BenchmarkConsensusSenderSignature) Equal(y *BenchmarkConsensusSenderSignature) bool
- func (x *BenchmarkConsensusSenderSignature) IsValid() bool
- func (x *BenchmarkConsensusSenderSignature) MutateSenderNodeAddress(v primitives.NodeAddress) error
- func (x *BenchmarkConsensusSenderSignature) MutateSignature(v primitives.EcdsaSecp256K1Sig) error
- func (x *BenchmarkConsensusSenderSignature) Raw() []byte
- func (x *BenchmarkConsensusSenderSignature) RawSenderNodeAddress() []byte
- func (x *BenchmarkConsensusSenderSignature) RawSenderNodeAddressWithHeader() []byte
- func (x *BenchmarkConsensusSenderSignature) RawSignature() []byte
- func (x *BenchmarkConsensusSenderSignature) RawSignatureWithHeader() []byte
- func (x *BenchmarkConsensusSenderSignature) SenderNodeAddress() primitives.NodeAddress
- func (x *BenchmarkConsensusSenderSignature) Signature() primitives.EcdsaSecp256K1Sig
- func (x *BenchmarkConsensusSenderSignature) String() string
- func (x *BenchmarkConsensusSenderSignature) StringSenderNodeAddress() string
- func (x *BenchmarkConsensusSenderSignature) StringSignature() string
- type BenchmarkConsensusSenderSignatureBuilder
- func (w *BenchmarkConsensusSenderSignatureBuilder) Build() *BenchmarkConsensusSenderSignature
- func (w *BenchmarkConsensusSenderSignatureBuilder) CalcRequiredSize() membuffers.Offset
- func (w *BenchmarkConsensusSenderSignatureBuilder) GetSize() membuffers.Offset
- func (w *BenchmarkConsensusSenderSignatureBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
- func (w *BenchmarkConsensusSenderSignatureBuilder) Write(buf []byte) (err error)
- type ConsensusAlgoType
- type LeanHelixMessageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchmarkConsensusBlockProof ¶
type BenchmarkConsensusBlockProof struct {
// contains filtered or unexported fields
}
func BenchmarkConsensusBlockProofReader ¶
func BenchmarkConsensusBlockProofReader(buf []byte) *BenchmarkConsensusBlockProof
func (*BenchmarkConsensusBlockProof) BlockRef ¶
func (x *BenchmarkConsensusBlockProof) BlockRef() *BenchmarkConsensusBlockRef
func (*BenchmarkConsensusBlockProof) Equal ¶
func (x *BenchmarkConsensusBlockProof) Equal(y *BenchmarkConsensusBlockProof) bool
func (*BenchmarkConsensusBlockProof) IsValid ¶
func (x *BenchmarkConsensusBlockProof) IsValid() bool
func (*BenchmarkConsensusBlockProof) MutatePlaceholder ¶
func (x *BenchmarkConsensusBlockProof) MutatePlaceholder(v []byte) error
func (*BenchmarkConsensusBlockProof) NodesIterator ¶
func (x *BenchmarkConsensusBlockProof) NodesIterator() *BenchmarkConsensusBlockProofNodesIterator
func (*BenchmarkConsensusBlockProof) Placeholder ¶
func (x *BenchmarkConsensusBlockProof) Placeholder() []byte
func (*BenchmarkConsensusBlockProof) Raw ¶
func (x *BenchmarkConsensusBlockProof) Raw() []byte
func (*BenchmarkConsensusBlockProof) RawBlockRef ¶
func (x *BenchmarkConsensusBlockProof) RawBlockRef() []byte
func (*BenchmarkConsensusBlockProof) RawBlockRefWithHeader ¶
func (x *BenchmarkConsensusBlockProof) RawBlockRefWithHeader() []byte
func (*BenchmarkConsensusBlockProof) RawNodesArray ¶
func (x *BenchmarkConsensusBlockProof) RawNodesArray() []byte
func (*BenchmarkConsensusBlockProof) RawNodesArrayWithHeader ¶
func (x *BenchmarkConsensusBlockProof) RawNodesArrayWithHeader() []byte
func (*BenchmarkConsensusBlockProof) RawPlaceholder ¶
func (x *BenchmarkConsensusBlockProof) RawPlaceholder() []byte
func (*BenchmarkConsensusBlockProof) RawPlaceholderWithHeader ¶
func (x *BenchmarkConsensusBlockProof) RawPlaceholderWithHeader() []byte
func (*BenchmarkConsensusBlockProof) String ¶
func (x *BenchmarkConsensusBlockProof) String() string
func (*BenchmarkConsensusBlockProof) StringBlockRef ¶
func (x *BenchmarkConsensusBlockProof) StringBlockRef() string
func (*BenchmarkConsensusBlockProof) StringNodes ¶
func (x *BenchmarkConsensusBlockProof) StringNodes() (res string)
func (*BenchmarkConsensusBlockProof) StringPlaceholder ¶
func (x *BenchmarkConsensusBlockProof) StringPlaceholder() string
type BenchmarkConsensusBlockProofBuilder ¶
type BenchmarkConsensusBlockProofBuilder struct { BlockRef *BenchmarkConsensusBlockRefBuilder Nodes []*BenchmarkConsensusSenderSignatureBuilder Placeholder []byte // contains filtered or unexported fields }
func BenchmarkConsensusBlockProofBuilderFromRaw ¶
func BenchmarkConsensusBlockProofBuilderFromRaw(raw []byte) *BenchmarkConsensusBlockProofBuilder
func (*BenchmarkConsensusBlockProofBuilder) Build ¶
func (w *BenchmarkConsensusBlockProofBuilder) Build() *BenchmarkConsensusBlockProof
func (*BenchmarkConsensusBlockProofBuilder) CalcRequiredSize ¶
func (w *BenchmarkConsensusBlockProofBuilder) CalcRequiredSize() membuffers.Offset
func (*BenchmarkConsensusBlockProofBuilder) GetSize ¶
func (w *BenchmarkConsensusBlockProofBuilder) GetSize() membuffers.Offset
func (*BenchmarkConsensusBlockProofBuilder) HexDump ¶
func (w *BenchmarkConsensusBlockProofBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*BenchmarkConsensusBlockProofBuilder) Write ¶
func (w *BenchmarkConsensusBlockProofBuilder) Write(buf []byte) (err error)
type BenchmarkConsensusBlockProofNodesIterator ¶
type BenchmarkConsensusBlockProofNodesIterator struct {
// contains filtered or unexported fields
}
func (*BenchmarkConsensusBlockProofNodesIterator) HasNext ¶
func (i *BenchmarkConsensusBlockProofNodesIterator) HasNext() bool
func (*BenchmarkConsensusBlockProofNodesIterator) NextNodes ¶
func (i *BenchmarkConsensusBlockProofNodesIterator) NextNodes() *BenchmarkConsensusSenderSignature
type BenchmarkConsensusBlockRef ¶
type BenchmarkConsensusBlockRef struct {
// contains filtered or unexported fields
}
func BenchmarkConsensusBlockRefReader ¶
func BenchmarkConsensusBlockRefReader(buf []byte) *BenchmarkConsensusBlockRef
func (*BenchmarkConsensusBlockRef) BlockHash ¶
func (x *BenchmarkConsensusBlockRef) BlockHash() primitives.Sha256
func (*BenchmarkConsensusBlockRef) BlockHeight ¶
func (x *BenchmarkConsensusBlockRef) BlockHeight() primitives.BlockHeight
func (*BenchmarkConsensusBlockRef) Equal ¶
func (x *BenchmarkConsensusBlockRef) Equal(y *BenchmarkConsensusBlockRef) bool
func (*BenchmarkConsensusBlockRef) IsValid ¶
func (x *BenchmarkConsensusBlockRef) IsValid() bool
func (*BenchmarkConsensusBlockRef) MutateBlockHash ¶
func (x *BenchmarkConsensusBlockRef) MutateBlockHash(v primitives.Sha256) error
func (*BenchmarkConsensusBlockRef) MutateBlockHeight ¶
func (x *BenchmarkConsensusBlockRef) MutateBlockHeight(v primitives.BlockHeight) error
func (*BenchmarkConsensusBlockRef) MutatePlaceholderType ¶
func (x *BenchmarkConsensusBlockRef) MutatePlaceholderType(v BenchmarkConsensusPlaceholder) error
func (*BenchmarkConsensusBlockRef) MutatePlaceholderView ¶
func (x *BenchmarkConsensusBlockRef) MutatePlaceholderView(v uint64) error
func (*BenchmarkConsensusBlockRef) PlaceholderType ¶
func (x *BenchmarkConsensusBlockRef) PlaceholderType() BenchmarkConsensusPlaceholder
func (*BenchmarkConsensusBlockRef) PlaceholderView ¶
func (x *BenchmarkConsensusBlockRef) PlaceholderView() uint64
func (*BenchmarkConsensusBlockRef) Raw ¶
func (x *BenchmarkConsensusBlockRef) Raw() []byte
func (*BenchmarkConsensusBlockRef) RawBlockHash ¶
func (x *BenchmarkConsensusBlockRef) RawBlockHash() []byte
func (*BenchmarkConsensusBlockRef) RawBlockHashWithHeader ¶
func (x *BenchmarkConsensusBlockRef) RawBlockHashWithHeader() []byte
func (*BenchmarkConsensusBlockRef) RawBlockHeight ¶
func (x *BenchmarkConsensusBlockRef) RawBlockHeight() []byte
func (*BenchmarkConsensusBlockRef) RawPlaceholderType ¶
func (x *BenchmarkConsensusBlockRef) RawPlaceholderType() []byte
func (*BenchmarkConsensusBlockRef) RawPlaceholderView ¶
func (x *BenchmarkConsensusBlockRef) RawPlaceholderView() []byte
func (*BenchmarkConsensusBlockRef) String ¶
func (x *BenchmarkConsensusBlockRef) String() string
func (*BenchmarkConsensusBlockRef) StringBlockHash ¶
func (x *BenchmarkConsensusBlockRef) StringBlockHash() string
func (*BenchmarkConsensusBlockRef) StringBlockHeight ¶
func (x *BenchmarkConsensusBlockRef) StringBlockHeight() string
func (*BenchmarkConsensusBlockRef) StringPlaceholderType ¶
func (x *BenchmarkConsensusBlockRef) StringPlaceholderType() string
func (*BenchmarkConsensusBlockRef) StringPlaceholderView ¶
func (x *BenchmarkConsensusBlockRef) StringPlaceholderView() string
type BenchmarkConsensusBlockRefBuilder ¶
type BenchmarkConsensusBlockRefBuilder struct { PlaceholderType BenchmarkConsensusPlaceholder BlockHeight primitives.BlockHeight PlaceholderView uint64 BlockHash primitives.Sha256 // contains filtered or unexported fields }
func BenchmarkConsensusBlockRefBuilderFromRaw ¶
func BenchmarkConsensusBlockRefBuilderFromRaw(raw []byte) *BenchmarkConsensusBlockRefBuilder
func (*BenchmarkConsensusBlockRefBuilder) Build ¶
func (w *BenchmarkConsensusBlockRefBuilder) Build() *BenchmarkConsensusBlockRef
func (*BenchmarkConsensusBlockRefBuilder) CalcRequiredSize ¶
func (w *BenchmarkConsensusBlockRefBuilder) CalcRequiredSize() membuffers.Offset
func (*BenchmarkConsensusBlockRefBuilder) GetSize ¶
func (w *BenchmarkConsensusBlockRefBuilder) GetSize() membuffers.Offset
func (*BenchmarkConsensusBlockRefBuilder) HexDump ¶
func (w *BenchmarkConsensusBlockRefBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*BenchmarkConsensusBlockRefBuilder) Write ¶
func (w *BenchmarkConsensusBlockRefBuilder) Write(buf []byte) (err error)
type BenchmarkConsensusMessageType ¶
type BenchmarkConsensusMessageType uint16
const ( BENCHMARK_CONSENSUS_RESERVED BenchmarkConsensusMessageType = 0 BENCHMARK_CONSENSUS_COMMIT BenchmarkConsensusMessageType = 1 BENCHMARK_CONSENSUS_COMMITTED BenchmarkConsensusMessageType = 2 )
func (BenchmarkConsensusMessageType) String ¶
func (n BenchmarkConsensusMessageType) String() string
type BenchmarkConsensusPlaceholder ¶
type BenchmarkConsensusPlaceholder uint16
const ( BENCHMARK_CONSENSUS_INVALID_0 BenchmarkConsensusPlaceholder = 0 BENCHMARK_CONSENSUS_INVALID_1 BenchmarkConsensusPlaceholder = 1 BENCHMARK_CONSENSUS_INVALID_2 BenchmarkConsensusPlaceholder = 2 BENCHMARK_CONSENSUS_VALID BenchmarkConsensusPlaceholder = 3 )
func (BenchmarkConsensusPlaceholder) String ¶
func (n BenchmarkConsensusPlaceholder) String() string
type BenchmarkConsensusSenderSignature ¶
type BenchmarkConsensusSenderSignature struct {
// contains filtered or unexported fields
}
func BenchmarkConsensusSenderSignatureReader ¶
func BenchmarkConsensusSenderSignatureReader(buf []byte) *BenchmarkConsensusSenderSignature
func (*BenchmarkConsensusSenderSignature) Equal ¶
func (x *BenchmarkConsensusSenderSignature) Equal(y *BenchmarkConsensusSenderSignature) bool
func (*BenchmarkConsensusSenderSignature) IsValid ¶
func (x *BenchmarkConsensusSenderSignature) IsValid() bool
func (*BenchmarkConsensusSenderSignature) MutateSenderNodeAddress ¶
func (x *BenchmarkConsensusSenderSignature) MutateSenderNodeAddress(v primitives.NodeAddress) error
func (*BenchmarkConsensusSenderSignature) MutateSignature ¶
func (x *BenchmarkConsensusSenderSignature) MutateSignature(v primitives.EcdsaSecp256K1Sig) error
func (*BenchmarkConsensusSenderSignature) Raw ¶
func (x *BenchmarkConsensusSenderSignature) Raw() []byte
func (*BenchmarkConsensusSenderSignature) RawSenderNodeAddress ¶
func (x *BenchmarkConsensusSenderSignature) RawSenderNodeAddress() []byte
func (*BenchmarkConsensusSenderSignature) RawSenderNodeAddressWithHeader ¶
func (x *BenchmarkConsensusSenderSignature) RawSenderNodeAddressWithHeader() []byte
func (*BenchmarkConsensusSenderSignature) RawSignature ¶
func (x *BenchmarkConsensusSenderSignature) RawSignature() []byte
func (*BenchmarkConsensusSenderSignature) RawSignatureWithHeader ¶
func (x *BenchmarkConsensusSenderSignature) RawSignatureWithHeader() []byte
func (*BenchmarkConsensusSenderSignature) SenderNodeAddress ¶
func (x *BenchmarkConsensusSenderSignature) SenderNodeAddress() primitives.NodeAddress
func (*BenchmarkConsensusSenderSignature) Signature ¶
func (x *BenchmarkConsensusSenderSignature) Signature() primitives.EcdsaSecp256K1Sig
func (*BenchmarkConsensusSenderSignature) String ¶
func (x *BenchmarkConsensusSenderSignature) String() string
func (*BenchmarkConsensusSenderSignature) StringSenderNodeAddress ¶
func (x *BenchmarkConsensusSenderSignature) StringSenderNodeAddress() string
func (*BenchmarkConsensusSenderSignature) StringSignature ¶
func (x *BenchmarkConsensusSenderSignature) StringSignature() string
type BenchmarkConsensusSenderSignatureBuilder ¶
type BenchmarkConsensusSenderSignatureBuilder struct { SenderNodeAddress primitives.NodeAddress Signature primitives.EcdsaSecp256K1Sig // contains filtered or unexported fields }
func BenchmarkConsensusSenderSignatureBuilderFromRaw ¶
func BenchmarkConsensusSenderSignatureBuilderFromRaw(raw []byte) *BenchmarkConsensusSenderSignatureBuilder
func (*BenchmarkConsensusSenderSignatureBuilder) Build ¶
func (w *BenchmarkConsensusSenderSignatureBuilder) Build() *BenchmarkConsensusSenderSignature
func (*BenchmarkConsensusSenderSignatureBuilder) CalcRequiredSize ¶
func (w *BenchmarkConsensusSenderSignatureBuilder) CalcRequiredSize() membuffers.Offset
func (*BenchmarkConsensusSenderSignatureBuilder) GetSize ¶
func (w *BenchmarkConsensusSenderSignatureBuilder) GetSize() membuffers.Offset
func (*BenchmarkConsensusSenderSignatureBuilder) HexDump ¶
func (w *BenchmarkConsensusSenderSignatureBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)
func (*BenchmarkConsensusSenderSignatureBuilder) Write ¶
func (w *BenchmarkConsensusSenderSignatureBuilder) Write(buf []byte) (err error)
type ConsensusAlgoType ¶
type ConsensusAlgoType uint16
const ( CONSENSUS_ALGO_TYPE_RESERVED ConsensusAlgoType = 0 CONSENSUS_ALGO_TYPE_BENCHMARK_CONSENSUS ConsensusAlgoType = 1 CONSENSUS_ALGO_TYPE_LEAN_HELIX ConsensusAlgoType = 2 )
func (ConsensusAlgoType) String ¶
func (n ConsensusAlgoType) String() string
type LeanHelixMessageType ¶
type LeanHelixMessageType uint16
const ( LEAN_HELIX_MESSAGE_TYPE_RESERVED LeanHelixMessageType = 0 LEAN_HELIX_MESSAGE_TYPE_LEAN_HELIX LeanHelixMessageType = 1 )
func (LeanHelixMessageType) String ¶
func (n LeanHelixMessageType) String() string
Click to show internal directories.
Click to hide internal directories.