abft

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAbft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAbft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAbft = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ErrorCode_name = map[int32]string{
	0: "Success",
	1: "FailOfOutdatedHeight",
	2: "FailOfUnkown",
}
View Source
var ErrorCode_value = map[string]int32{
	"Success":              0,
	"FailOfOutdatedHeight": 1,
	"FailOfUnkown":         2,
}

Functions

This section is empty.

Types

type ABFTMessage

type ABFTMessage struct {
	// Types that are valid to be assigned to Message:
	//	*ABFTMessage_Req
	//	*ABFTMessage_Rsp
	Message isABFTMessage_Message `protobuf_oneof:"message"`
}

func (*ABFTMessage) Descriptor

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

func (*ABFTMessage) GetMessage

func (m *ABFTMessage) GetMessage() isABFTMessage_Message

func (*ABFTMessage) GetReq

func (m *ABFTMessage) GetReq() *ABFTMessageReq

func (*ABFTMessage) GetRsp

func (m *ABFTMessage) GetRsp() *ABFTMessageRsp

func (*ABFTMessage) Marshal

func (m *ABFTMessage) Marshal() (dAtA []byte, err error)

func (*ABFTMessage) MarshalTo

func (m *ABFTMessage) MarshalTo(dAtA []byte) (int, error)

func (*ABFTMessage) MarshalToSizedBuffer

func (m *ABFTMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABFTMessage) ProtoMessage

func (*ABFTMessage) ProtoMessage()

func (*ABFTMessage) Reset

func (m *ABFTMessage) Reset()

func (*ABFTMessage) Size

func (m *ABFTMessage) Size() (n int)

func (*ABFTMessage) String

func (m *ABFTMessage) String() string

func (*ABFTMessage) Unmarshal

func (m *ABFTMessage) Unmarshal(dAtA []byte) error

func (*ABFTMessage) XXX_DiscardUnknown

func (m *ABFTMessage) XXX_DiscardUnknown()

func (*ABFTMessage) XXX_Marshal

func (m *ABFTMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ABFTMessage) XXX_Merge

func (m *ABFTMessage) XXX_Merge(src proto.Message)

func (*ABFTMessage) XXX_OneofWrappers

func (*ABFTMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ABFTMessage) XXX_Size

func (m *ABFTMessage) XXX_Size() int

func (*ABFTMessage) XXX_Unmarshal

func (m *ABFTMessage) XXX_Unmarshal(b []byte) error

type ABFTMessageReq

type ABFTMessageReq struct {
	Seq    uint64      `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	Height uint64      `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	From   string      `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To     string      `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Id     string      `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Acs    *ACSMessage `protobuf:"bytes,6,opt,name=acs,proto3" json:"acs,omitempty"`
}

func (*ABFTMessageReq) Descriptor

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

func (*ABFTMessageReq) GetAcs

func (m *ABFTMessageReq) GetAcs() *ACSMessage

func (*ABFTMessageReq) GetFrom

func (m *ABFTMessageReq) GetFrom() string

func (*ABFTMessageReq) GetHeight

func (m *ABFTMessageReq) GetHeight() uint64

func (*ABFTMessageReq) GetId

func (m *ABFTMessageReq) GetId() string

func (*ABFTMessageReq) GetSeq

func (m *ABFTMessageReq) GetSeq() uint64

func (*ABFTMessageReq) GetTo

func (m *ABFTMessageReq) GetTo() string

func (*ABFTMessageReq) Marshal

func (m *ABFTMessageReq) Marshal() (dAtA []byte, err error)

func (*ABFTMessageReq) MarshalTo

func (m *ABFTMessageReq) MarshalTo(dAtA []byte) (int, error)

func (*ABFTMessageReq) MarshalToSizedBuffer

func (m *ABFTMessageReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABFTMessageReq) ProtoMessage

func (*ABFTMessageReq) ProtoMessage()

func (*ABFTMessageReq) Reset

func (m *ABFTMessageReq) Reset()

func (*ABFTMessageReq) Size

func (m *ABFTMessageReq) Size() (n int)

func (*ABFTMessageReq) String

func (m *ABFTMessageReq) String() string

func (*ABFTMessageReq) Unmarshal

func (m *ABFTMessageReq) Unmarshal(dAtA []byte) error

func (*ABFTMessageReq) XXX_DiscardUnknown

func (m *ABFTMessageReq) XXX_DiscardUnknown()

func (*ABFTMessageReq) XXX_Marshal

func (m *ABFTMessageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ABFTMessageReq) XXX_Merge

func (m *ABFTMessageReq) XXX_Merge(src proto.Message)

func (*ABFTMessageReq) XXX_Size

func (m *ABFTMessageReq) XXX_Size() int

func (*ABFTMessageReq) XXX_Unmarshal

func (m *ABFTMessageReq) XXX_Unmarshal(b []byte) error

type ABFTMessageRsp

type ABFTMessageRsp struct {
	Seq    uint64    `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	Height uint64    `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	From   string    `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To     string    `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Id     string    `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Code   ErrorCode `protobuf:"varint,6,opt,name=code,proto3,enum=abft.ErrorCode" json:"code,omitempty"`
}

func (*ABFTMessageRsp) Descriptor

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

func (*ABFTMessageRsp) GetCode

func (m *ABFTMessageRsp) GetCode() ErrorCode

func (*ABFTMessageRsp) GetFrom

func (m *ABFTMessageRsp) GetFrom() string

func (*ABFTMessageRsp) GetHeight

func (m *ABFTMessageRsp) GetHeight() uint64

func (*ABFTMessageRsp) GetId

func (m *ABFTMessageRsp) GetId() string

func (*ABFTMessageRsp) GetSeq

func (m *ABFTMessageRsp) GetSeq() uint64

func (*ABFTMessageRsp) GetTo

func (m *ABFTMessageRsp) GetTo() string

func (*ABFTMessageRsp) Marshal

func (m *ABFTMessageRsp) Marshal() (dAtA []byte, err error)

func (*ABFTMessageRsp) MarshalTo

func (m *ABFTMessageRsp) MarshalTo(dAtA []byte) (int, error)

func (*ABFTMessageRsp) MarshalToSizedBuffer

func (m *ABFTMessageRsp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABFTMessageRsp) ProtoMessage

func (*ABFTMessageRsp) ProtoMessage()

func (*ABFTMessageRsp) Reset

func (m *ABFTMessageRsp) Reset()

func (*ABFTMessageRsp) Size

func (m *ABFTMessageRsp) Size() (n int)

func (*ABFTMessageRsp) String

func (m *ABFTMessageRsp) String() string

func (*ABFTMessageRsp) Unmarshal

func (m *ABFTMessageRsp) Unmarshal(dAtA []byte) error

func (*ABFTMessageRsp) XXX_DiscardUnknown

func (m *ABFTMessageRsp) XXX_DiscardUnknown()

func (*ABFTMessageRsp) XXX_Marshal

func (m *ABFTMessageRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ABFTMessageRsp) XXX_Merge

func (m *ABFTMessageRsp) XXX_Merge(src proto.Message)

func (*ABFTMessageRsp) XXX_Size

func (m *ABFTMessageRsp) XXX_Size() int

func (*ABFTMessageRsp) XXX_Unmarshal

func (m *ABFTMessageRsp) XXX_Unmarshal(b []byte) error

type ABFTMessage_Req

type ABFTMessage_Req struct {
	Req *ABFTMessageReq `protobuf:"bytes,1,opt,name=req,proto3,oneof" json:"req,omitempty"`
}

func (*ABFTMessage_Req) MarshalTo

func (m *ABFTMessage_Req) MarshalTo(dAtA []byte) (int, error)

func (*ABFTMessage_Req) MarshalToSizedBuffer

func (m *ABFTMessage_Req) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABFTMessage_Req) Size

func (m *ABFTMessage_Req) Size() (n int)

type ABFTMessage_Rsp

type ABFTMessage_Rsp struct {
	Rsp *ABFTMessageRsp `protobuf:"bytes,2,opt,name=rsp,proto3,oneof" json:"rsp,omitempty"`
}

func (*ABFTMessage_Rsp) MarshalTo

func (m *ABFTMessage_Rsp) MarshalTo(dAtA []byte) (int, error)

func (*ABFTMessage_Rsp) MarshalToSizedBuffer

func (m *ABFTMessage_Rsp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABFTMessage_Rsp) Size

func (m *ABFTMessage_Rsp) Size() (n int)

type ACSMessage

type ACSMessage struct {
	// Types that are valid to be assigned to Message:
	//	*ACSMessage_Rbc
	//	*ACSMessage_Bba
	Message isACSMessage_Message `protobuf_oneof:"message"`
}

func (*ACSMessage) Descriptor

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

func (*ACSMessage) GetBba

func (m *ACSMessage) GetBba() *BBARequest

func (*ACSMessage) GetMessage

func (m *ACSMessage) GetMessage() isACSMessage_Message

func (*ACSMessage) GetRbc

func (m *ACSMessage) GetRbc() *RBCRequest

func (*ACSMessage) Marshal

func (m *ACSMessage) Marshal() (dAtA []byte, err error)

func (*ACSMessage) MarshalTo

func (m *ACSMessage) MarshalTo(dAtA []byte) (int, error)

func (*ACSMessage) MarshalToSizedBuffer

func (m *ACSMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ACSMessage) ProtoMessage

func (*ACSMessage) ProtoMessage()

func (*ACSMessage) Reset

func (m *ACSMessage) Reset()

func (*ACSMessage) Size

func (m *ACSMessage) Size() (n int)

func (*ACSMessage) String

func (m *ACSMessage) String() string

func (*ACSMessage) Unmarshal

func (m *ACSMessage) Unmarshal(dAtA []byte) error

func (*ACSMessage) XXX_DiscardUnknown

func (m *ACSMessage) XXX_DiscardUnknown()

func (*ACSMessage) XXX_Marshal

func (m *ACSMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACSMessage) XXX_Merge

func (m *ACSMessage) XXX_Merge(src proto.Message)

func (*ACSMessage) XXX_OneofWrappers

func (*ACSMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ACSMessage) XXX_Size

func (m *ACSMessage) XXX_Size() int

func (*ACSMessage) XXX_Unmarshal

func (m *ACSMessage) XXX_Unmarshal(b []byte) error

type ACSMessage_Bba

type ACSMessage_Bba struct {
	Bba *BBARequest `protobuf:"bytes,2,opt,name=bba,proto3,oneof" json:"bba,omitempty"`
}

func (*ACSMessage_Bba) MarshalTo

func (m *ACSMessage_Bba) MarshalTo(dAtA []byte) (int, error)

func (*ACSMessage_Bba) MarshalToSizedBuffer

func (m *ACSMessage_Bba) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ACSMessage_Bba) Size

func (m *ACSMessage_Bba) Size() (n int)

type ACSMessage_Rbc

type ACSMessage_Rbc struct {
	Rbc *RBCRequest `protobuf:"bytes,1,opt,name=rbc,proto3,oneof" json:"rbc,omitempty"`
}

func (*ACSMessage_Rbc) MarshalTo

func (m *ACSMessage_Rbc) MarshalTo(dAtA []byte) (int, error)

func (*ACSMessage_Rbc) MarshalToSizedBuffer

func (m *ACSMessage_Rbc) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ACSMessage_Rbc) Size

func (m *ACSMessage_Rbc) Size() (n int)

type AuxRequest

type AuxRequest struct {
	Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Value bool   `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*AuxRequest) Descriptor

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

func (*AuxRequest) GetEpoch

func (m *AuxRequest) GetEpoch() uint32

func (*AuxRequest) GetValue

func (m *AuxRequest) GetValue() bool

func (*AuxRequest) Marshal

func (m *AuxRequest) Marshal() (dAtA []byte, err error)

func (*AuxRequest) MarshalTo

func (m *AuxRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuxRequest) MarshalToSizedBuffer

func (m *AuxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuxRequest) ProtoMessage

func (*AuxRequest) ProtoMessage()

func (*AuxRequest) Reset

func (m *AuxRequest) Reset()

func (*AuxRequest) Size

func (m *AuxRequest) Size() (n int)

func (*AuxRequest) String

func (m *AuxRequest) String() string

func (*AuxRequest) Unmarshal

func (m *AuxRequest) Unmarshal(dAtA []byte) error

func (*AuxRequest) XXX_DiscardUnknown

func (m *AuxRequest) XXX_DiscardUnknown()

func (*AuxRequest) XXX_Marshal

func (m *AuxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuxRequest) XXX_Merge

func (m *AuxRequest) XXX_Merge(src proto.Message)

func (*AuxRequest) XXX_Size

func (m *AuxRequest) XXX_Size() int

func (*AuxRequest) XXX_Unmarshal

func (m *AuxRequest) XXX_Unmarshal(b []byte) error

type BBARequest

type BBARequest struct {
	// Types that are valid to be assigned to Message:
	//	*BBARequest_Bval
	//	*BBARequest_Aux
	Message isBBARequest_Message `protobuf_oneof:"message"`
}

func (*BBARequest) Descriptor

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

func (*BBARequest) GetAux

func (m *BBARequest) GetAux() *AuxRequest

func (*BBARequest) GetBval

func (m *BBARequest) GetBval() *BValRequest

func (*BBARequest) GetMessage

func (m *BBARequest) GetMessage() isBBARequest_Message

func (*BBARequest) Marshal

func (m *BBARequest) Marshal() (dAtA []byte, err error)

func (*BBARequest) MarshalTo

func (m *BBARequest) MarshalTo(dAtA []byte) (int, error)

func (*BBARequest) MarshalToSizedBuffer

func (m *BBARequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BBARequest) ProtoMessage

func (*BBARequest) ProtoMessage()

func (*BBARequest) Reset

func (m *BBARequest) Reset()

func (*BBARequest) Size

func (m *BBARequest) Size() (n int)

func (*BBARequest) String

func (m *BBARequest) String() string

func (*BBARequest) Unmarshal

func (m *BBARequest) Unmarshal(dAtA []byte) error

func (*BBARequest) XXX_DiscardUnknown

func (m *BBARequest) XXX_DiscardUnknown()

func (*BBARequest) XXX_Marshal

func (m *BBARequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BBARequest) XXX_Merge

func (m *BBARequest) XXX_Merge(src proto.Message)

func (*BBARequest) XXX_OneofWrappers

func (*BBARequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BBARequest) XXX_Size

func (m *BBARequest) XXX_Size() int

func (*BBARequest) XXX_Unmarshal

func (m *BBARequest) XXX_Unmarshal(b []byte) error

type BBARequest_Aux

type BBARequest_Aux struct {
	Aux *AuxRequest `protobuf:"bytes,2,opt,name=aux,proto3,oneof" json:"aux,omitempty"`
}

func (*BBARequest_Aux) MarshalTo

func (m *BBARequest_Aux) MarshalTo(dAtA []byte) (int, error)

func (*BBARequest_Aux) MarshalToSizedBuffer

func (m *BBARequest_Aux) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BBARequest_Aux) Size

func (m *BBARequest_Aux) Size() (n int)

type BBARequest_Bval

type BBARequest_Bval struct {
	Bval *BValRequest `protobuf:"bytes,1,opt,name=bval,proto3,oneof" json:"bval,omitempty"`
}

func (*BBARequest_Bval) MarshalTo

func (m *BBARequest_Bval) MarshalTo(dAtA []byte) (int, error)

func (*BBARequest_Bval) MarshalToSizedBuffer

func (m *BBARequest_Bval) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BBARequest_Bval) Size

func (m *BBARequest_Bval) Size() (n int)

type BValRequest

type BValRequest struct {
	Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Value bool   `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*BValRequest) Descriptor

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

func (*BValRequest) GetEpoch

func (m *BValRequest) GetEpoch() uint32

func (*BValRequest) GetValue

func (m *BValRequest) GetValue() bool

func (*BValRequest) Marshal

func (m *BValRequest) Marshal() (dAtA []byte, err error)

func (*BValRequest) MarshalTo

func (m *BValRequest) MarshalTo(dAtA []byte) (int, error)

func (*BValRequest) MarshalToSizedBuffer

func (m *BValRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BValRequest) ProtoMessage

func (*BValRequest) ProtoMessage()

func (*BValRequest) Reset

func (m *BValRequest) Reset()

func (*BValRequest) Size

func (m *BValRequest) Size() (n int)

func (*BValRequest) String

func (m *BValRequest) String() string

func (*BValRequest) Unmarshal

func (m *BValRequest) Unmarshal(dAtA []byte) error

func (*BValRequest) XXX_DiscardUnknown

func (m *BValRequest) XXX_DiscardUnknown()

func (*BValRequest) XXX_Marshal

func (m *BValRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BValRequest) XXX_Merge

func (m *BValRequest) XXX_Merge(src proto.Message)

func (*BValRequest) XXX_Size

func (m *BValRequest) XXX_Size() int

func (*BValRequest) XXX_Unmarshal

func (m *BValRequest) XXX_Unmarshal(b []byte) error

type EchoRequest

type EchoRequest struct {
	ProofRequest *ProofRequest `protobuf:"bytes,1,opt,name=proof_request,json=proofRequest,proto3" json:"proof_request,omitempty"`
}

func (*EchoRequest) Descriptor

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

func (*EchoRequest) GetProofRequest

func (m *EchoRequest) GetProofRequest() *ProofRequest

func (*EchoRequest) Marshal

func (m *EchoRequest) Marshal() (dAtA []byte, err error)

func (*EchoRequest) MarshalTo

func (m *EchoRequest) MarshalTo(dAtA []byte) (int, error)

func (*EchoRequest) MarshalToSizedBuffer

func (m *EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset

func (m *EchoRequest) Reset()

func (*EchoRequest) Size

func (m *EchoRequest) Size() (n int)

func (*EchoRequest) String

func (m *EchoRequest) String() string

func (*EchoRequest) Unmarshal

func (m *EchoRequest) Unmarshal(dAtA []byte) error

func (*EchoRequest) XXX_DiscardUnknown

func (m *EchoRequest) XXX_DiscardUnknown()

func (*EchoRequest) XXX_Marshal

func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoRequest) XXX_Merge

func (m *EchoRequest) XXX_Merge(src proto.Message)

func (*EchoRequest) XXX_Size

func (m *EchoRequest) XXX_Size() int

func (*EchoRequest) XXX_Unmarshal

func (m *EchoRequest) XXX_Unmarshal(b []byte) error

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_Success              ErrorCode = 0
	ErrorCode_FailOfOutdatedHeight ErrorCode = 1
	ErrorCode_FailOfUnkown         ErrorCode = 2
)

func (ErrorCode) EnumDescriptor

func (ErrorCode) EnumDescriptor() ([]byte, []int)

func (ErrorCode) String

func (x ErrorCode) String() string

type PackagedSignal

type PackagedSignal struct {
	BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

func (*PackagedSignal) Descriptor

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

func (*PackagedSignal) GetBlockHeight

func (m *PackagedSignal) GetBlockHeight() uint64

func (*PackagedSignal) Marshal

func (m *PackagedSignal) Marshal() (dAtA []byte, err error)

func (*PackagedSignal) MarshalTo

func (m *PackagedSignal) MarshalTo(dAtA []byte) (int, error)

func (*PackagedSignal) MarshalToSizedBuffer

func (m *PackagedSignal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackagedSignal) ProtoMessage

func (*PackagedSignal) ProtoMessage()

func (*PackagedSignal) Reset

func (m *PackagedSignal) Reset()

func (*PackagedSignal) Size

func (m *PackagedSignal) Size() (n int)

func (*PackagedSignal) String

func (m *PackagedSignal) String() string

func (*PackagedSignal) Unmarshal

func (m *PackagedSignal) Unmarshal(dAtA []byte) error

func (*PackagedSignal) XXX_DiscardUnknown

func (m *PackagedSignal) XXX_DiscardUnknown()

func (*PackagedSignal) XXX_Marshal

func (m *PackagedSignal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackagedSignal) XXX_Merge

func (m *PackagedSignal) XXX_Merge(src proto.Message)

func (*PackagedSignal) XXX_Size

func (m *PackagedSignal) XXX_Size() int

func (*PackagedSignal) XXX_Unmarshal

func (m *PackagedSignal) XXX_Unmarshal(b []byte) error

type ProofRequest

type ProofRequest struct {
	RootHash []byte   `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	Proof    [][]byte `protobuf:"bytes,2,rep,name=proof,proto3" json:"proof,omitempty"`
	Index    uint64   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Leaves   uint64   `protobuf:"varint,4,opt,name=leaves,proto3" json:"leaves,omitempty"`
	Length   int32    `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
}

func (*ProofRequest) Descriptor

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

func (*ProofRequest) GetIndex

func (m *ProofRequest) GetIndex() uint64

func (*ProofRequest) GetLeaves

func (m *ProofRequest) GetLeaves() uint64

func (*ProofRequest) GetLength

func (m *ProofRequest) GetLength() int32

func (*ProofRequest) GetProof

func (m *ProofRequest) GetProof() [][]byte

func (*ProofRequest) GetRootHash

func (m *ProofRequest) GetRootHash() []byte

func (*ProofRequest) Marshal

func (m *ProofRequest) Marshal() (dAtA []byte, err error)

func (*ProofRequest) MarshalTo

func (m *ProofRequest) MarshalTo(dAtA []byte) (int, error)

func (*ProofRequest) MarshalToSizedBuffer

func (m *ProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProofRequest) ProtoMessage

func (*ProofRequest) ProtoMessage()

func (*ProofRequest) Reset

func (m *ProofRequest) Reset()

func (*ProofRequest) Size

func (m *ProofRequest) Size() (n int)

func (*ProofRequest) String

func (m *ProofRequest) String() string

func (*ProofRequest) Unmarshal

func (m *ProofRequest) Unmarshal(dAtA []byte) error

func (*ProofRequest) XXX_DiscardUnknown

func (m *ProofRequest) XXX_DiscardUnknown()

func (*ProofRequest) XXX_Marshal

func (m *ProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofRequest) XXX_Merge

func (m *ProofRequest) XXX_Merge(src proto.Message)

func (*ProofRequest) XXX_Size

func (m *ProofRequest) XXX_Size() int

func (*ProofRequest) XXX_Unmarshal

func (m *ProofRequest) XXX_Unmarshal(b []byte) error

type RBCRequest

type RBCRequest struct {
	// Types that are valid to be assigned to Message:
	//	*RBCRequest_ProofRequest
	//	*RBCRequest_EchoRequest
	//	*RBCRequest_ReadyRequest
	Message isRBCRequest_Message `protobuf_oneof:"message"`
}

func (*RBCRequest) Descriptor

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

func (*RBCRequest) GetEchoRequest

func (m *RBCRequest) GetEchoRequest() *EchoRequest

func (*RBCRequest) GetMessage

func (m *RBCRequest) GetMessage() isRBCRequest_Message

func (*RBCRequest) GetProofRequest

func (m *RBCRequest) GetProofRequest() *ProofRequest

func (*RBCRequest) GetReadyRequest

func (m *RBCRequest) GetReadyRequest() *ReadyRequest

func (*RBCRequest) Marshal

func (m *RBCRequest) Marshal() (dAtA []byte, err error)

func (*RBCRequest) MarshalTo

func (m *RBCRequest) MarshalTo(dAtA []byte) (int, error)

func (*RBCRequest) MarshalToSizedBuffer

func (m *RBCRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RBCRequest) ProtoMessage

func (*RBCRequest) ProtoMessage()

func (*RBCRequest) Reset

func (m *RBCRequest) Reset()

func (*RBCRequest) Size

func (m *RBCRequest) Size() (n int)

func (*RBCRequest) String

func (m *RBCRequest) String() string

func (*RBCRequest) Unmarshal

func (m *RBCRequest) Unmarshal(dAtA []byte) error

func (*RBCRequest) XXX_DiscardUnknown

func (m *RBCRequest) XXX_DiscardUnknown()

func (*RBCRequest) XXX_Marshal

func (m *RBCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RBCRequest) XXX_Merge

func (m *RBCRequest) XXX_Merge(src proto.Message)

func (*RBCRequest) XXX_OneofWrappers

func (*RBCRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RBCRequest) XXX_Size

func (m *RBCRequest) XXX_Size() int

func (*RBCRequest) XXX_Unmarshal

func (m *RBCRequest) XXX_Unmarshal(b []byte) error

type RBCRequest_EchoRequest

type RBCRequest_EchoRequest struct {
	EchoRequest *EchoRequest `protobuf:"bytes,2,opt,name=echo_request,json=echoRequest,proto3,oneof" json:"echo_request,omitempty"`
}

func (*RBCRequest_EchoRequest) MarshalTo

func (m *RBCRequest_EchoRequest) MarshalTo(dAtA []byte) (int, error)

func (*RBCRequest_EchoRequest) MarshalToSizedBuffer

func (m *RBCRequest_EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RBCRequest_EchoRequest) Size

func (m *RBCRequest_EchoRequest) Size() (n int)

type RBCRequest_ProofRequest

type RBCRequest_ProofRequest struct {
	ProofRequest *ProofRequest `protobuf:"bytes,1,opt,name=proof_request,json=proofRequest,proto3,oneof" json:"proof_request,omitempty"`
}

func (*RBCRequest_ProofRequest) MarshalTo

func (m *RBCRequest_ProofRequest) MarshalTo(dAtA []byte) (int, error)

func (*RBCRequest_ProofRequest) MarshalToSizedBuffer

func (m *RBCRequest_ProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RBCRequest_ProofRequest) Size

func (m *RBCRequest_ProofRequest) Size() (n int)

type RBCRequest_ReadyRequest

type RBCRequest_ReadyRequest struct {
	ReadyRequest *ReadyRequest `protobuf:"bytes,3,opt,name=ready_request,json=readyRequest,proto3,oneof" json:"ready_request,omitempty"`
}

func (*RBCRequest_ReadyRequest) MarshalTo

func (m *RBCRequest_ReadyRequest) MarshalTo(dAtA []byte) (int, error)

func (*RBCRequest_ReadyRequest) MarshalToSizedBuffer

func (m *RBCRequest_ReadyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RBCRequest_ReadyRequest) Size

func (m *RBCRequest_ReadyRequest) Size() (n int)

type ReadyRequest

type ReadyRequest struct {
	RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
}

func (*ReadyRequest) Descriptor

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

func (*ReadyRequest) GetRootHash

func (m *ReadyRequest) GetRootHash() []byte

func (*ReadyRequest) Marshal

func (m *ReadyRequest) Marshal() (dAtA []byte, err error)

func (*ReadyRequest) MarshalTo

func (m *ReadyRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReadyRequest) MarshalToSizedBuffer

func (m *ReadyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReadyRequest) ProtoMessage

func (*ReadyRequest) ProtoMessage()

func (*ReadyRequest) Reset

func (m *ReadyRequest) Reset()

func (*ReadyRequest) Size

func (m *ReadyRequest) Size() (n int)

func (*ReadyRequest) String

func (m *ReadyRequest) String() string

func (*ReadyRequest) Unmarshal

func (m *ReadyRequest) Unmarshal(dAtA []byte) error

func (*ReadyRequest) XXX_DiscardUnknown

func (m *ReadyRequest) XXX_DiscardUnknown()

func (*ReadyRequest) XXX_Marshal

func (m *ReadyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadyRequest) XXX_Merge

func (m *ReadyRequest) XXX_Merge(src proto.Message)

func (*ReadyRequest) XXX_Size

func (m *ReadyRequest) XXX_Size() int

func (*ReadyRequest) XXX_Unmarshal

func (m *ReadyRequest) XXX_Unmarshal(b []byte) error

type TxBatchAfterABA

type TxBatchAfterABA struct {
	BlockHeight uint64   `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	TxBatchHash [][]byte `protobuf:"bytes,2,rep,name=tx_batch_hash,json=txBatchHash,proto3" json:"tx_batch_hash,omitempty"`
}

func (*TxBatchAfterABA) Descriptor

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

func (*TxBatchAfterABA) GetBlockHeight

func (m *TxBatchAfterABA) GetBlockHeight() uint64

func (*TxBatchAfterABA) GetTxBatchHash

func (m *TxBatchAfterABA) GetTxBatchHash() [][]byte

func (*TxBatchAfterABA) Marshal

func (m *TxBatchAfterABA) Marshal() (dAtA []byte, err error)

func (*TxBatchAfterABA) MarshalTo

func (m *TxBatchAfterABA) MarshalTo(dAtA []byte) (int, error)

func (*TxBatchAfterABA) MarshalToSizedBuffer

func (m *TxBatchAfterABA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxBatchAfterABA) ProtoMessage

func (*TxBatchAfterABA) ProtoMessage()

func (*TxBatchAfterABA) Reset

func (m *TxBatchAfterABA) Reset()

func (*TxBatchAfterABA) Size

func (m *TxBatchAfterABA) Size() (n int)

func (*TxBatchAfterABA) String

func (m *TxBatchAfterABA) String() string

func (*TxBatchAfterABA) Unmarshal

func (m *TxBatchAfterABA) Unmarshal(dAtA []byte) error

func (*TxBatchAfterABA) XXX_DiscardUnknown

func (m *TxBatchAfterABA) XXX_DiscardUnknown()

func (*TxBatchAfterABA) XXX_Marshal

func (m *TxBatchAfterABA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxBatchAfterABA) XXX_Merge

func (m *TxBatchAfterABA) XXX_Merge(src proto.Message)

func (*TxBatchAfterABA) XXX_Size

func (m *TxBatchAfterABA) XXX_Size() int

func (*TxBatchAfterABA) XXX_Unmarshal

func (m *TxBatchAfterABA) XXX_Unmarshal(b []byte) error

type WalEntry

type WalEntry struct {
	Height           uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	HeightFirstIndex uint64 `protobuf:"varint,2,opt,name=heightFirstIndex,proto3" json:"heightFirstIndex,omitempty"`
	Topic            int32  `protobuf:"varint,3,opt,name=topic,proto3" json:"topic,omitempty"`
	Data             []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
}

WalEntry represents the log entry in Wal

func (*WalEntry) Descriptor

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

func (*WalEntry) GetData

func (m *WalEntry) GetData() []byte

func (*WalEntry) GetHeight

func (m *WalEntry) GetHeight() uint64

func (*WalEntry) GetHeightFirstIndex

func (m *WalEntry) GetHeightFirstIndex() uint64

func (*WalEntry) GetTopic

func (m *WalEntry) GetTopic() int32

func (*WalEntry) Marshal

func (m *WalEntry) Marshal() (dAtA []byte, err error)

func (*WalEntry) MarshalTo

func (m *WalEntry) MarshalTo(dAtA []byte) (int, error)

func (*WalEntry) MarshalToSizedBuffer

func (m *WalEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WalEntry) ProtoMessage

func (*WalEntry) ProtoMessage()

func (*WalEntry) Reset

func (m *WalEntry) Reset()

func (*WalEntry) Size

func (m *WalEntry) Size() (n int)

func (*WalEntry) String

func (m *WalEntry) String() string

func (*WalEntry) Unmarshal

func (m *WalEntry) Unmarshal(dAtA []byte) error

func (*WalEntry) XXX_DiscardUnknown

func (m *WalEntry) XXX_DiscardUnknown()

func (*WalEntry) XXX_Marshal

func (m *WalEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalEntry) XXX_Merge

func (m *WalEntry) XXX_Merge(src proto.Message)

func (*WalEntry) XXX_Size

func (m *WalEntry) XXX_Size() int

func (*WalEntry) XXX_Unmarshal

func (m *WalEntry) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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