Documentation ¶
Index ¶
- Variables
- type DominoOp
- func (*DominoOp) Descriptor() ([]byte, []int)
- func (m *DominoOp) GetInput() string
- func (m *DominoOp) GetKey() string
- func (m *DominoOp) GetOutput() string
- func (m *DominoOp) Marshal() (dAtA []byte, err error)
- func (m *DominoOp) MarshalTo(dAtA []byte) (int, error)
- func (m *DominoOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DominoOp) ProtoMessage()
- func (m *DominoOp) Reset()
- func (m *DominoOp) Size() (n int)
- func (m *DominoOp) String() string
- func (m *DominoOp) Unmarshal(dAtA []byte) error
- func (m *DominoOp) XXX_DiscardUnknown()
- func (m *DominoOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DominoOp) XXX_Merge(src proto.Message)
- func (m *DominoOp) XXX_Size() int
- func (m *DominoOp) XXX_Unmarshal(b []byte) error
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) GetAunts() [][]byte
- func (m *Proof) GetIndex() int64
- func (m *Proof) GetLeafHash() []byte
- func (m *Proof) GetTotal() int64
- func (m *Proof) Marshal() (dAtA []byte, err error)
- func (m *Proof) MarshalTo(dAtA []byte) (int, error)
- func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) Size() (n int)
- func (m *Proof) String() string
- func (m *Proof) Unmarshal(dAtA []byte) error
- func (m *Proof) XXX_DiscardUnknown()
- func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proof) XXX_Merge(src proto.Message)
- func (m *Proof) XXX_Size() int
- func (m *Proof) XXX_Unmarshal(b []byte) error
- type ProofOp
- func (*ProofOp) Descriptor() ([]byte, []int)
- func (m *ProofOp) GetData() []byte
- func (m *ProofOp) GetKey() []byte
- func (m *ProofOp) GetType() string
- func (m *ProofOp) Marshal() (dAtA []byte, err error)
- func (m *ProofOp) MarshalTo(dAtA []byte) (int, error)
- func (m *ProofOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProofOp) ProtoMessage()
- func (m *ProofOp) Reset()
- func (m *ProofOp) Size() (n int)
- func (m *ProofOp) String() string
- func (m *ProofOp) Unmarshal(dAtA []byte) error
- func (m *ProofOp) XXX_DiscardUnknown()
- func (m *ProofOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProofOp) XXX_Merge(src proto.Message)
- func (m *ProofOp) XXX_Size() int
- func (m *ProofOp) XXX_Unmarshal(b []byte) error
- type ProofOps
- func (*ProofOps) Descriptor() ([]byte, []int)
- func (m *ProofOps) GetOps() []ProofOp
- func (m *ProofOps) Marshal() (dAtA []byte, err error)
- func (m *ProofOps) MarshalTo(dAtA []byte) (int, error)
- func (m *ProofOps) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProofOps) ProtoMessage()
- func (m *ProofOps) Reset()
- func (m *ProofOps) Size() (n int)
- func (m *ProofOps) String() string
- func (m *ProofOps) Unmarshal(dAtA []byte) error
- func (m *ProofOps) XXX_DiscardUnknown()
- func (m *ProofOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProofOps) XXX_Merge(src proto.Message)
- func (m *ProofOps) XXX_Size() int
- func (m *ProofOps) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (this *PublicKey) Compare(that interface{}) int
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (this *PublicKey) Equal(that interface{}) bool
- func (m *PublicKey) GetGost256() []byte
- func (m *PublicKey) GetGost512() []byte
- func (m *PublicKey) GetSum() isPublicKey_Sum
- func (m *PublicKey) Marshal() (dAtA []byte, err error)
- func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) Size() (n int)
- func (m *PublicKey) String() string
- func (m *PublicKey) Unmarshal(dAtA []byte) error
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (*PublicKey) XXX_OneofWrappers() []interface{}
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type PublicKey_Gost256
- func (this *PublicKey_Gost256) Compare(that interface{}) int
- func (this *PublicKey_Gost256) Equal(that interface{}) bool
- func (m *PublicKey_Gost256) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey_Gost256) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PublicKey_Gost256) Size() (n int)
- type PublicKey_Gost512
- func (this *PublicKey_Gost512) Compare(that interface{}) int
- func (this *PublicKey_Gost512) Equal(that interface{}) bool
- func (m *PublicKey_Gost512) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey_Gost512) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PublicKey_Gost512) Size() (n int)
- type ValueOp
- func (*ValueOp) Descriptor() ([]byte, []int)
- func (m *ValueOp) GetKey() []byte
- func (m *ValueOp) GetProof() *Proof
- func (m *ValueOp) Marshal() (dAtA []byte, err error)
- func (m *ValueOp) MarshalTo(dAtA []byte) (int, error)
- func (m *ValueOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValueOp) ProtoMessage()
- func (m *ValueOp) Reset()
- func (m *ValueOp) Size() (n int)
- func (m *ValueOp) String() string
- func (m *ValueOp) Unmarshal(dAtA []byte) error
- func (m *ValueOp) XXX_DiscardUnknown()
- func (m *ValueOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValueOp) XXX_Merge(src proto.Message)
- func (m *ValueOp) XXX_Size() int
- func (m *ValueOp) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DominoOp ¶
type DominoOp struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` }
func (*DominoOp) Descriptor ¶
func (*DominoOp) MarshalToSizedBuffer ¶
func (*DominoOp) ProtoMessage ¶
func (*DominoOp) ProtoMessage()
func (*DominoOp) XXX_DiscardUnknown ¶
func (m *DominoOp) XXX_DiscardUnknown()
func (*DominoOp) XXX_Marshal ¶
func (*DominoOp) XXX_Unmarshal ¶
type Proof ¶
type Proof struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` LeafHash []byte `protobuf:"bytes,3,opt,name=leaf_hash,json=leafHash,proto3" json:"leaf_hash,omitempty"` Aunts [][]byte `protobuf:"bytes,4,rep,name=aunts,proto3" json:"aunts,omitempty"` }
func (*Proof) Descriptor ¶
func (*Proof) GetLeafHash ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) XXX_DiscardUnknown ¶
func (m *Proof) XXX_DiscardUnknown()
func (*Proof) XXX_Marshal ¶
func (*Proof) XXX_Unmarshal ¶
type ProofOp ¶
type ProofOp struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` }
ProofOp defines an operation used for calculating Merkle root The data could be arbitrary format, providing nessecary data for example neighbouring node hash
func (*ProofOp) Descriptor ¶
func (*ProofOp) MarshalToSizedBuffer ¶
func (*ProofOp) ProtoMessage ¶
func (*ProofOp) ProtoMessage()
func (*ProofOp) XXX_DiscardUnknown ¶
func (m *ProofOp) XXX_DiscardUnknown()
func (*ProofOp) XXX_Marshal ¶
func (*ProofOp) XXX_Unmarshal ¶
type ProofOps ¶
type ProofOps struct {
Ops []ProofOp `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops"`
}
ProofOps is Merkle proof defined by the list of ProofOps
func (*ProofOps) Descriptor ¶
func (*ProofOps) MarshalToSizedBuffer ¶
func (*ProofOps) ProtoMessage ¶
func (*ProofOps) ProtoMessage()
func (*ProofOps) XXX_DiscardUnknown ¶
func (m *ProofOps) XXX_DiscardUnknown()
func (*ProofOps) XXX_Marshal ¶
func (*ProofOps) XXX_Unmarshal ¶
type PublicKey ¶
type PublicKey struct { // Types that are valid to be assigned to Sum: // *PublicKey_Gost512 // *PublicKey_Gost256 Sum isPublicKey_Sum `protobuf_oneof:"sum"` }
PublicKey defines the keys available for use with Tendermint Validators
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetGost256 ¶
func (*PublicKey) GetGost512 ¶
func (*PublicKey) MarshalToSizedBuffer ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_OneofWrappers ¶
func (*PublicKey) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PublicKey) XXX_Unmarshal ¶
type PublicKey_Gost256 ¶
type PublicKey_Gost256 struct {
Gost256 []byte `protobuf:"bytes,2,opt,name=gost256,proto3,oneof" json:"gost256,omitempty"`
}
func (*PublicKey_Gost256) Compare ¶
func (this *PublicKey_Gost256) Compare(that interface{}) int
func (*PublicKey_Gost256) Equal ¶
func (this *PublicKey_Gost256) Equal(that interface{}) bool
func (*PublicKey_Gost256) MarshalTo ¶
func (m *PublicKey_Gost256) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Gost256) MarshalToSizedBuffer ¶
func (m *PublicKey_Gost256) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Gost256) Size ¶
func (m *PublicKey_Gost256) Size() (n int)
type PublicKey_Gost512 ¶
type PublicKey_Gost512 struct {
Gost512 []byte `protobuf:"bytes,1,opt,name=gost512,proto3,oneof" json:"gost512,omitempty"`
}
func (*PublicKey_Gost512) Compare ¶
func (this *PublicKey_Gost512) Compare(that interface{}) int
func (*PublicKey_Gost512) Equal ¶
func (this *PublicKey_Gost512) Equal(that interface{}) bool
func (*PublicKey_Gost512) MarshalTo ¶
func (m *PublicKey_Gost512) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Gost512) MarshalToSizedBuffer ¶
func (m *PublicKey_Gost512) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Gost512) Size ¶
func (m *PublicKey_Gost512) Size() (n int)
type ValueOp ¶
type ValueOp struct { // Encoded in ProofOp.Key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // To encode in ProofOp.Data Proof *Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*ValueOp) Descriptor ¶
func (*ValueOp) MarshalToSizedBuffer ¶
func (*ValueOp) ProtoMessage ¶
func (*ValueOp) ProtoMessage()
func (*ValueOp) XXX_DiscardUnknown ¶
func (m *ValueOp) XXX_DiscardUnknown()
func (*ValueOp) XXX_Marshal ¶
func (*ValueOp) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.