crypto

package
v0.0.0-...-891b8cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_tendermint_crypto_keys_proto protoreflect.FileDescriptor
View Source
var File_tendermint_crypto_proof_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*DominoOp) Descriptor deprecated

func (*DominoOp) Descriptor() ([]byte, []int)

Deprecated: Use DominoOp.ProtoReflect.Descriptor instead.

func (*DominoOp) GetInput

func (x *DominoOp) GetInput() string

func (*DominoOp) GetKey

func (x *DominoOp) GetKey() string

func (*DominoOp) GetOutput

func (x *DominoOp) GetOutput() string

func (*DominoOp) ProtoMessage

func (*DominoOp) ProtoMessage()

func (*DominoOp) ProtoReflect

func (x *DominoOp) ProtoReflect() protoreflect.Message

func (*DominoOp) Reset

func (x *DominoOp) Reset()

func (*DominoOp) String

func (x *DominoOp) String() string

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"`
	// contains filtered or unexported fields
}

func (*Proof) Descriptor deprecated

func (*Proof) Descriptor() ([]byte, []int)

Deprecated: Use Proof.ProtoReflect.Descriptor instead.

func (*Proof) GetAunts

func (x *Proof) GetAunts() [][]byte

func (*Proof) GetIndex

func (x *Proof) GetIndex() int64

func (*Proof) GetLeafHash

func (x *Proof) GetLeafHash() []byte

func (*Proof) GetTotal

func (x *Proof) GetTotal() int64

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) ProtoReflect

func (x *Proof) ProtoReflect() protoreflect.Message

func (*Proof) Reset

func (x *Proof) Reset()

func (*Proof) String

func (x *Proof) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

func (*ProofOp) Descriptor() ([]byte, []int)

Deprecated: Use ProofOp.ProtoReflect.Descriptor instead.

func (*ProofOp) GetData

func (x *ProofOp) GetData() []byte

func (*ProofOp) GetKey

func (x *ProofOp) GetKey() []byte

func (*ProofOp) GetType_

func (x *ProofOp) GetType_() string

func (*ProofOp) ProtoMessage

func (*ProofOp) ProtoMessage()

func (*ProofOp) ProtoReflect

func (x *ProofOp) ProtoReflect() protoreflect.Message

func (*ProofOp) Reset

func (x *ProofOp) Reset()

func (*ProofOp) String

func (x *ProofOp) String() string

type ProofOps

type ProofOps struct {
	Ops []*ProofOp `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops,omitempty"`
	// contains filtered or unexported fields
}

ProofOps is Merkle proof defined by the list of ProofOps

func (*ProofOps) Descriptor deprecated

func (*ProofOps) Descriptor() ([]byte, []int)

Deprecated: Use ProofOps.ProtoReflect.Descriptor instead.

func (*ProofOps) GetOps

func (x *ProofOps) GetOps() []*ProofOp

func (*ProofOps) ProtoMessage

func (*ProofOps) ProtoMessage()

func (*ProofOps) ProtoReflect

func (x *ProofOps) ProtoReflect() protoreflect.Message

func (*ProofOps) Reset

func (x *ProofOps) Reset()

func (*ProofOps) String

func (x *ProofOps) String() string

type PublicKey

type PublicKey struct {

	// Types that are assignable to Sum:
	//	*PublicKey_Ed25519
	//	*PublicKey_Secp256K1
	Sum isPublicKey_Sum `protobuf_oneof:"sum"`
	// contains filtered or unexported fields
}

PublicKey defines the keys available for use with Tendermint Validators

func (*PublicKey) Descriptor deprecated

func (*PublicKey) Descriptor() ([]byte, []int)

Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.

func (*PublicKey) GetEd25519

func (x *PublicKey) GetEd25519() []byte

func (*PublicKey) GetSecp256K1

func (x *PublicKey) GetSecp256K1() []byte

func (*PublicKey) GetSum

func (x *PublicKey) GetSum() isPublicKey_Sum

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) ProtoReflect

func (x *PublicKey) ProtoReflect() protoreflect.Message

func (*PublicKey) Reset

func (x *PublicKey) Reset()

func (*PublicKey) String

func (x *PublicKey) String() string

type PublicKey_Ed25519

type PublicKey_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof"`
}

type PublicKey_Secp256K1

type PublicKey_Secp256K1 struct {
	Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256k1,proto3,oneof"`
}

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"`
	// contains filtered or unexported fields
}

func (*ValueOp) Descriptor deprecated

func (*ValueOp) Descriptor() ([]byte, []int)

Deprecated: Use ValueOp.ProtoReflect.Descriptor instead.

func (*ValueOp) GetKey

func (x *ValueOp) GetKey() []byte

func (*ValueOp) GetProof

func (x *ValueOp) GetProof() *Proof

func (*ValueOp) ProtoMessage

func (*ValueOp) ProtoMessage()

func (*ValueOp) ProtoReflect

func (x *ValueOp) ProtoReflect() protoreflect.Message

func (*ValueOp) Reset

func (x *ValueOp) Reset()

func (*ValueOp) String

func (x *ValueOp) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL