sctv1alpha1

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSct        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSct          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSct = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)

Types

type CommitmentSource

type CommitmentSource struct {
	// Types that are valid to be assigned to Source:
	//	*CommitmentSource_Transaction_
	//	*CommitmentSource_Ics_20Transfer
	//	*CommitmentSource_FundingStreamReward_
	//	*CommitmentSource_CommunityPoolOutput_
	//	*CommitmentSource_Genesis_
	Source isCommitmentSource_Source `protobuf_oneof:"source"`
}

Metadata describing the source of a commitment in the state commitment tree.

This message allows clients to track provenance of state commitments, and to decide whether or not to download block data.

func (*CommitmentSource) Descriptor

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

func (*CommitmentSource) GetCommunityPoolOutput

func (m *CommitmentSource) GetCommunityPoolOutput() *CommitmentSource_CommunityPoolOutput

func (*CommitmentSource) GetFundingStreamReward

func (m *CommitmentSource) GetFundingStreamReward() *CommitmentSource_FundingStreamReward

func (*CommitmentSource) GetGenesis

func (m *CommitmentSource) GetGenesis() *CommitmentSource_Genesis

func (*CommitmentSource) GetIcs_20Transfer

func (m *CommitmentSource) GetIcs_20Transfer() *CommitmentSource_Ics20Transfer

func (*CommitmentSource) GetSource

func (m *CommitmentSource) GetSource() isCommitmentSource_Source

func (*CommitmentSource) GetTransaction

func (m *CommitmentSource) GetTransaction() *CommitmentSource_Transaction

func (*CommitmentSource) Marshal

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

func (*CommitmentSource) MarshalTo

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

func (*CommitmentSource) MarshalToSizedBuffer

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

func (*CommitmentSource) ProtoMessage

func (*CommitmentSource) ProtoMessage()

func (*CommitmentSource) Reset

func (m *CommitmentSource) Reset()

func (*CommitmentSource) Size

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

func (*CommitmentSource) String

func (m *CommitmentSource) String() string

func (*CommitmentSource) Unmarshal

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

func (*CommitmentSource) XXX_DiscardUnknown

func (m *CommitmentSource) XXX_DiscardUnknown()

func (*CommitmentSource) XXX_Marshal

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

func (*CommitmentSource) XXX_Merge

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

func (*CommitmentSource) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CommitmentSource) XXX_Size

func (m *CommitmentSource) XXX_Size() int

func (*CommitmentSource) XXX_Unmarshal

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

type CommitmentSource_CommunityPoolOutput

type CommitmentSource_CommunityPoolOutput struct {
}

The commitment was created through a `CommunityPoolOutput` in a governance-initated transaction.

func (*CommitmentSource_CommunityPoolOutput) Descriptor

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

func (*CommitmentSource_CommunityPoolOutput) Marshal

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

func (*CommitmentSource_CommunityPoolOutput) MarshalTo

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

func (*CommitmentSource_CommunityPoolOutput) MarshalToSizedBuffer

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

func (*CommitmentSource_CommunityPoolOutput) ProtoMessage

func (*CommitmentSource_CommunityPoolOutput) ProtoMessage()

func (*CommitmentSource_CommunityPoolOutput) Reset

func (*CommitmentSource_CommunityPoolOutput) Size

func (*CommitmentSource_CommunityPoolOutput) String

func (*CommitmentSource_CommunityPoolOutput) Unmarshal

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

func (*CommitmentSource_CommunityPoolOutput) XXX_DiscardUnknown

func (m *CommitmentSource_CommunityPoolOutput) XXX_DiscardUnknown()

func (*CommitmentSource_CommunityPoolOutput) XXX_Marshal

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

func (*CommitmentSource_CommunityPoolOutput) XXX_Merge

func (*CommitmentSource_CommunityPoolOutput) XXX_Size

func (*CommitmentSource_CommunityPoolOutput) XXX_Unmarshal

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

type CommitmentSource_CommunityPoolOutput_

type CommitmentSource_CommunityPoolOutput_ struct {
	CommunityPoolOutput *CommitmentSource_CommunityPoolOutput `` /* 127-byte string literal not displayed */
}

func (*CommitmentSource_CommunityPoolOutput_) MarshalTo

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

func (*CommitmentSource_CommunityPoolOutput_) MarshalToSizedBuffer

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

func (*CommitmentSource_CommunityPoolOutput_) Size

type CommitmentSource_FundingStreamReward

type CommitmentSource_FundingStreamReward struct {
	// The epoch index the rewards were issued in.
	EpochIndex uint64 `protobuf:"varint,1,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"`
}

The commitment was created through a validator's funding stream.

func (*CommitmentSource_FundingStreamReward) Descriptor

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

func (*CommitmentSource_FundingStreamReward) GetEpochIndex

func (m *CommitmentSource_FundingStreamReward) GetEpochIndex() uint64

func (*CommitmentSource_FundingStreamReward) Marshal

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

func (*CommitmentSource_FundingStreamReward) MarshalTo

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

func (*CommitmentSource_FundingStreamReward) MarshalToSizedBuffer

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

func (*CommitmentSource_FundingStreamReward) ProtoMessage

func (*CommitmentSource_FundingStreamReward) ProtoMessage()

func (*CommitmentSource_FundingStreamReward) Reset

func (*CommitmentSource_FundingStreamReward) Size

func (*CommitmentSource_FundingStreamReward) String

func (*CommitmentSource_FundingStreamReward) Unmarshal

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

func (*CommitmentSource_FundingStreamReward) XXX_DiscardUnknown

func (m *CommitmentSource_FundingStreamReward) XXX_DiscardUnknown()

func (*CommitmentSource_FundingStreamReward) XXX_Marshal

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

func (*CommitmentSource_FundingStreamReward) XXX_Merge

func (*CommitmentSource_FundingStreamReward) XXX_Size

func (*CommitmentSource_FundingStreamReward) XXX_Unmarshal

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

type CommitmentSource_FundingStreamReward_

type CommitmentSource_FundingStreamReward_ struct {
	FundingStreamReward *CommitmentSource_FundingStreamReward `` /* 127-byte string literal not displayed */
}

func (*CommitmentSource_FundingStreamReward_) MarshalTo

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

func (*CommitmentSource_FundingStreamReward_) MarshalToSizedBuffer

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

func (*CommitmentSource_FundingStreamReward_) Size

type CommitmentSource_Genesis

type CommitmentSource_Genesis struct {
}

The state commitment was included in the genesis state.

func (*CommitmentSource_Genesis) Descriptor

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

func (*CommitmentSource_Genesis) Marshal

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

func (*CommitmentSource_Genesis) MarshalTo

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

func (*CommitmentSource_Genesis) MarshalToSizedBuffer

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

func (*CommitmentSource_Genesis) ProtoMessage

func (*CommitmentSource_Genesis) ProtoMessage()

func (*CommitmentSource_Genesis) Reset

func (m *CommitmentSource_Genesis) Reset()

func (*CommitmentSource_Genesis) Size

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

func (*CommitmentSource_Genesis) String

func (m *CommitmentSource_Genesis) String() string

func (*CommitmentSource_Genesis) Unmarshal

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

func (*CommitmentSource_Genesis) XXX_DiscardUnknown

func (m *CommitmentSource_Genesis) XXX_DiscardUnknown()

func (*CommitmentSource_Genesis) XXX_Marshal

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

func (*CommitmentSource_Genesis) XXX_Merge

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

func (*CommitmentSource_Genesis) XXX_Size

func (m *CommitmentSource_Genesis) XXX_Size() int

func (*CommitmentSource_Genesis) XXX_Unmarshal

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

type CommitmentSource_Genesis_

type CommitmentSource_Genesis_ struct {
	Genesis *CommitmentSource_Genesis `protobuf:"bytes,40,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"`
}

func (*CommitmentSource_Genesis_) MarshalTo

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

func (*CommitmentSource_Genesis_) MarshalToSizedBuffer

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

func (*CommitmentSource_Genesis_) Size

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

type CommitmentSource_Ics20Transfer

type CommitmentSource_Ics20Transfer struct {
	// The sequence number of the packet that triggered the transfer
	PacketSeq uint64 `protobuf:"varint,1,opt,name=packet_seq,json=packetSeq,proto3" json:"packet_seq,omitempty"`
	// The channel id the transfer happened on
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The sender address on the counterparty chain
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
}

The commitment was created by an inbound ICS20 transfer.

func (*CommitmentSource_Ics20Transfer) Descriptor

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

func (*CommitmentSource_Ics20Transfer) GetChannelId

func (m *CommitmentSource_Ics20Transfer) GetChannelId() string

func (*CommitmentSource_Ics20Transfer) GetPacketSeq

func (m *CommitmentSource_Ics20Transfer) GetPacketSeq() uint64

func (*CommitmentSource_Ics20Transfer) GetSender

func (m *CommitmentSource_Ics20Transfer) GetSender() string

func (*CommitmentSource_Ics20Transfer) Marshal

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

func (*CommitmentSource_Ics20Transfer) MarshalTo

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

func (*CommitmentSource_Ics20Transfer) MarshalToSizedBuffer

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

func (*CommitmentSource_Ics20Transfer) ProtoMessage

func (*CommitmentSource_Ics20Transfer) ProtoMessage()

func (*CommitmentSource_Ics20Transfer) Reset

func (m *CommitmentSource_Ics20Transfer) Reset()

func (*CommitmentSource_Ics20Transfer) Size

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

func (*CommitmentSource_Ics20Transfer) String

func (*CommitmentSource_Ics20Transfer) Unmarshal

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

func (*CommitmentSource_Ics20Transfer) XXX_DiscardUnknown

func (m *CommitmentSource_Ics20Transfer) XXX_DiscardUnknown()

func (*CommitmentSource_Ics20Transfer) XXX_Marshal

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

func (*CommitmentSource_Ics20Transfer) XXX_Merge

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

func (*CommitmentSource_Ics20Transfer) XXX_Size

func (m *CommitmentSource_Ics20Transfer) XXX_Size() int

func (*CommitmentSource_Ics20Transfer) XXX_Unmarshal

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

type CommitmentSource_Ics_20Transfer

type CommitmentSource_Ics_20Transfer struct {
	Ics_20Transfer *CommitmentSource_Ics20Transfer `protobuf:"bytes,2,opt,name=ics_20_transfer,json=ics20Transfer,proto3,oneof" json:"ics_20_transfer,omitempty"`
}

func (*CommitmentSource_Ics_20Transfer) MarshalTo

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

func (*CommitmentSource_Ics_20Transfer) MarshalToSizedBuffer

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

func (*CommitmentSource_Ics_20Transfer) Size

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

type CommitmentSource_Transaction

type CommitmentSource_Transaction struct {
	// The transaction ID, if specified.
	//
	// This field may be omitted to save space, and should not be required to be present.
	// If the bytes are missing, the message should be interpreted as "Transaction (Unknown)".
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

The commitment was created by a transaction.

When included in a `CompactBlock` via a `StatePayload`, the transaction source is "dehydrated" by stripping the `id` field and putting empty bytes in its place. When clients perform extended transaction fetch, they should match up transaction hashes to "rehydrate" the source info.

func (*CommitmentSource_Transaction) Descriptor

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

func (*CommitmentSource_Transaction) GetId

func (m *CommitmentSource_Transaction) GetId() []byte

func (*CommitmentSource_Transaction) Marshal

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

func (*CommitmentSource_Transaction) MarshalTo

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

func (*CommitmentSource_Transaction) MarshalToSizedBuffer

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

func (*CommitmentSource_Transaction) ProtoMessage

func (*CommitmentSource_Transaction) ProtoMessage()

func (*CommitmentSource_Transaction) Reset

func (m *CommitmentSource_Transaction) Reset()

func (*CommitmentSource_Transaction) Size

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

func (*CommitmentSource_Transaction) String

func (*CommitmentSource_Transaction) Unmarshal

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

func (*CommitmentSource_Transaction) XXX_DiscardUnknown

func (m *CommitmentSource_Transaction) XXX_DiscardUnknown()

func (*CommitmentSource_Transaction) XXX_Marshal

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

func (*CommitmentSource_Transaction) XXX_Merge

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

func (*CommitmentSource_Transaction) XXX_Size

func (m *CommitmentSource_Transaction) XXX_Size() int

func (*CommitmentSource_Transaction) XXX_Unmarshal

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

type CommitmentSource_Transaction_

type CommitmentSource_Transaction_ struct {
	Transaction *CommitmentSource_Transaction `protobuf:"bytes,1,opt,name=transaction,proto3,oneof" json:"transaction,omitempty"`
}

func (*CommitmentSource_Transaction_) MarshalTo

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

func (*CommitmentSource_Transaction_) MarshalToSizedBuffer

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

func (*CommitmentSource_Transaction_) Size

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

type EventAnchor

type EventAnchor struct {
	Anchor *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"`
	Height uint64               `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

Event recording an SCT anchor (global root).

func (*EventAnchor) Descriptor

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

func (*EventAnchor) GetAnchor

func (m *EventAnchor) GetAnchor() *v1alpha1.MerkleRoot

func (*EventAnchor) GetHeight

func (m *EventAnchor) GetHeight() uint64

func (*EventAnchor) Marshal

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

func (*EventAnchor) MarshalTo

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

func (*EventAnchor) MarshalToSizedBuffer

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

func (*EventAnchor) ProtoMessage

func (*EventAnchor) ProtoMessage()

func (*EventAnchor) Reset

func (m *EventAnchor) Reset()

func (*EventAnchor) Size

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

func (*EventAnchor) String

func (m *EventAnchor) String() string

func (*EventAnchor) Unmarshal

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

func (*EventAnchor) XXX_DiscardUnknown

func (m *EventAnchor) XXX_DiscardUnknown()

func (*EventAnchor) XXX_Marshal

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

func (*EventAnchor) XXX_Merge

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

func (*EventAnchor) XXX_Size

func (m *EventAnchor) XXX_Size() int

func (*EventAnchor) XXX_Unmarshal

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

type EventBlockRoot

type EventBlockRoot struct {
	Root   *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Height uint64               `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

Event recording an SCT block root.

func (*EventBlockRoot) Descriptor

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

func (*EventBlockRoot) GetHeight

func (m *EventBlockRoot) GetHeight() uint64

func (*EventBlockRoot) GetRoot

func (m *EventBlockRoot) GetRoot() *v1alpha1.MerkleRoot

func (*EventBlockRoot) Marshal

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

func (*EventBlockRoot) MarshalTo

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

func (*EventBlockRoot) MarshalToSizedBuffer

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

func (*EventBlockRoot) ProtoMessage

func (*EventBlockRoot) ProtoMessage()

func (*EventBlockRoot) Reset

func (m *EventBlockRoot) Reset()

func (*EventBlockRoot) Size

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

func (*EventBlockRoot) String

func (m *EventBlockRoot) String() string

func (*EventBlockRoot) Unmarshal

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

func (*EventBlockRoot) XXX_DiscardUnknown

func (m *EventBlockRoot) XXX_DiscardUnknown()

func (*EventBlockRoot) XXX_Marshal

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

func (*EventBlockRoot) XXX_Merge

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

func (*EventBlockRoot) XXX_Size

func (m *EventBlockRoot) XXX_Size() int

func (*EventBlockRoot) XXX_Unmarshal

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

type EventCommitment

type EventCommitment struct {
	Commitment *v1alpha1.StateCommitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Position   uint64                    `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
	Source     *CommitmentSource         `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
}

Event recording a new commitment added to the SCT.

func (*EventCommitment) Descriptor

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

func (*EventCommitment) GetCommitment

func (m *EventCommitment) GetCommitment() *v1alpha1.StateCommitment

func (*EventCommitment) GetPosition

func (m *EventCommitment) GetPosition() uint64

func (*EventCommitment) GetSource

func (m *EventCommitment) GetSource() *CommitmentSource

func (*EventCommitment) Marshal

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

func (*EventCommitment) MarshalTo

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

func (*EventCommitment) MarshalToSizedBuffer

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

func (*EventCommitment) ProtoMessage

func (*EventCommitment) ProtoMessage()

func (*EventCommitment) Reset

func (m *EventCommitment) Reset()

func (*EventCommitment) Size

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

func (*EventCommitment) String

func (m *EventCommitment) String() string

func (*EventCommitment) Unmarshal

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

func (*EventCommitment) XXX_DiscardUnknown

func (m *EventCommitment) XXX_DiscardUnknown()

func (*EventCommitment) XXX_Marshal

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

func (*EventCommitment) XXX_Merge

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

func (*EventCommitment) XXX_Size

func (m *EventCommitment) XXX_Size() int

func (*EventCommitment) XXX_Unmarshal

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

type EventEpochRoot

type EventEpochRoot struct {
	Root  *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Index uint64               `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
}

Event recording an SCT epoch root.

func (*EventEpochRoot) Descriptor

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

func (*EventEpochRoot) GetIndex

func (m *EventEpochRoot) GetIndex() uint64

func (*EventEpochRoot) GetRoot

func (m *EventEpochRoot) GetRoot() *v1alpha1.MerkleRoot

func (*EventEpochRoot) Marshal

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

func (*EventEpochRoot) MarshalTo

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

func (*EventEpochRoot) MarshalToSizedBuffer

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

func (*EventEpochRoot) ProtoMessage

func (*EventEpochRoot) ProtoMessage()

func (*EventEpochRoot) Reset

func (m *EventEpochRoot) Reset()

func (*EventEpochRoot) Size

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

func (*EventEpochRoot) String

func (m *EventEpochRoot) String() string

func (*EventEpochRoot) Unmarshal

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

func (*EventEpochRoot) XXX_DiscardUnknown

func (m *EventEpochRoot) XXX_DiscardUnknown()

func (*EventEpochRoot) XXX_Marshal

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

func (*EventEpochRoot) XXX_Merge

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

func (*EventEpochRoot) XXX_Size

func (m *EventEpochRoot) XXX_Size() int

func (*EventEpochRoot) XXX_Unmarshal

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

type NullificationInfo

type NullificationInfo struct {
	Id          []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SpendHeight uint64 `protobuf:"varint,2,opt,name=spend_height,json=spendHeight,proto3" json:"spend_height,omitempty"`
}

Records information about what transaction spent a nullifier.

func (*NullificationInfo) Descriptor

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

func (*NullificationInfo) GetId

func (m *NullificationInfo) GetId() []byte

func (*NullificationInfo) GetSpendHeight

func (m *NullificationInfo) GetSpendHeight() uint64

func (*NullificationInfo) Marshal

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

func (*NullificationInfo) MarshalTo

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

func (*NullificationInfo) MarshalToSizedBuffer

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

func (*NullificationInfo) ProtoMessage

func (*NullificationInfo) ProtoMessage()

func (*NullificationInfo) Reset

func (m *NullificationInfo) Reset()

func (*NullificationInfo) Size

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

func (*NullificationInfo) String

func (m *NullificationInfo) String() string

func (*NullificationInfo) Unmarshal

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

func (*NullificationInfo) XXX_DiscardUnknown

func (m *NullificationInfo) XXX_DiscardUnknown()

func (*NullificationInfo) XXX_Marshal

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

func (*NullificationInfo) XXX_Merge

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

func (*NullificationInfo) XXX_Size

func (m *NullificationInfo) XXX_Size() int

func (*NullificationInfo) XXX_Unmarshal

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

type Nullifier

type Nullifier struct {
	Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}

func (*Nullifier) Descriptor

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

func (*Nullifier) GetInner

func (m *Nullifier) GetInner() []byte

func (*Nullifier) Marshal

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

func (*Nullifier) MarshalTo

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

func (*Nullifier) MarshalToSizedBuffer

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

func (*Nullifier) ProtoMessage

func (*Nullifier) ProtoMessage()

func (*Nullifier) Reset

func (m *Nullifier) Reset()

func (*Nullifier) Size

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

func (*Nullifier) String

func (m *Nullifier) String() string

func (*Nullifier) Unmarshal

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

func (*Nullifier) XXX_DiscardUnknown

func (m *Nullifier) XXX_DiscardUnknown()

func (*Nullifier) XXX_Marshal

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

func (*Nullifier) XXX_Merge

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

func (*Nullifier) XXX_Size

func (m *Nullifier) XXX_Size() int

func (*Nullifier) XXX_Unmarshal

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

type QueryServiceClient

type QueryServiceClient interface {
}

QueryServiceClient is the client API for QueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryServiceClient

func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient

type QueryServiceServer

type QueryServiceServer interface {
}

QueryServiceServer is the server API for QueryService service.

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.

Jump to

Keyboard shortcuts

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