cometbft_services_pruning_v1

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPruning        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPruning          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPruning = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterPruningServiceServer

func RegisterPruningServiceServer(s grpc1.Server, srv PruningServiceServer)

Types

type GetBlockIndexerRetainHeightRequest

type GetBlockIndexerRetainHeightRequest struct {
}

GetBlockIndexerRetainHeightRequest is a request for the retain height.

func (*GetBlockIndexerRetainHeightRequest) Descriptor

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

func (*GetBlockIndexerRetainHeightRequest) Marshal

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

func (*GetBlockIndexerRetainHeightRequest) MarshalTo

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

func (*GetBlockIndexerRetainHeightRequest) MarshalToSizedBuffer

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

func (*GetBlockIndexerRetainHeightRequest) ProtoMessage

func (*GetBlockIndexerRetainHeightRequest) ProtoMessage()

func (*GetBlockIndexerRetainHeightRequest) Reset

func (*GetBlockIndexerRetainHeightRequest) Size

func (*GetBlockIndexerRetainHeightRequest) String

func (*GetBlockIndexerRetainHeightRequest) Unmarshal

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

func (*GetBlockIndexerRetainHeightRequest) XXX_DiscardUnknown

func (m *GetBlockIndexerRetainHeightRequest) XXX_DiscardUnknown()

func (*GetBlockIndexerRetainHeightRequest) XXX_Marshal

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

func (*GetBlockIndexerRetainHeightRequest) XXX_Merge

func (*GetBlockIndexerRetainHeightRequest) XXX_Size

func (*GetBlockIndexerRetainHeightRequest) XXX_Unmarshal

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

type GetBlockIndexerRetainHeightResponse

type GetBlockIndexerRetainHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

GetBlockIndexerRetainHeightResponse returns the retain height for the block indexer.

func (*GetBlockIndexerRetainHeightResponse) Descriptor

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

func (*GetBlockIndexerRetainHeightResponse) GetHeight

func (*GetBlockIndexerRetainHeightResponse) Marshal

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

func (*GetBlockIndexerRetainHeightResponse) MarshalTo

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

func (*GetBlockIndexerRetainHeightResponse) MarshalToSizedBuffer

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

func (*GetBlockIndexerRetainHeightResponse) ProtoMessage

func (*GetBlockIndexerRetainHeightResponse) ProtoMessage()

func (*GetBlockIndexerRetainHeightResponse) Reset

func (*GetBlockIndexerRetainHeightResponse) Size

func (*GetBlockIndexerRetainHeightResponse) String

func (*GetBlockIndexerRetainHeightResponse) Unmarshal

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

func (*GetBlockIndexerRetainHeightResponse) XXX_DiscardUnknown

func (m *GetBlockIndexerRetainHeightResponse) XXX_DiscardUnknown()

func (*GetBlockIndexerRetainHeightResponse) XXX_Marshal

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

func (*GetBlockIndexerRetainHeightResponse) XXX_Merge

func (*GetBlockIndexerRetainHeightResponse) XXX_Size

func (*GetBlockIndexerRetainHeightResponse) XXX_Unmarshal

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

type GetBlockResultsRetainHeightRequest

type GetBlockResultsRetainHeightRequest struct {
}

GetBlockResultsRetainHeightRequest is a request for the retain height.

func (*GetBlockResultsRetainHeightRequest) Descriptor

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

func (*GetBlockResultsRetainHeightRequest) Marshal

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

func (*GetBlockResultsRetainHeightRequest) MarshalTo

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

func (*GetBlockResultsRetainHeightRequest) MarshalToSizedBuffer

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

func (*GetBlockResultsRetainHeightRequest) ProtoMessage

func (*GetBlockResultsRetainHeightRequest) ProtoMessage()

func (*GetBlockResultsRetainHeightRequest) Reset

func (*GetBlockResultsRetainHeightRequest) Size

func (*GetBlockResultsRetainHeightRequest) String

func (*GetBlockResultsRetainHeightRequest) Unmarshal

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

func (*GetBlockResultsRetainHeightRequest) XXX_DiscardUnknown

func (m *GetBlockResultsRetainHeightRequest) XXX_DiscardUnknown()

func (*GetBlockResultsRetainHeightRequest) XXX_Marshal

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

func (*GetBlockResultsRetainHeightRequest) XXX_Merge

func (*GetBlockResultsRetainHeightRequest) XXX_Size

func (*GetBlockResultsRetainHeightRequest) XXX_Unmarshal

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

type GetBlockResultsRetainHeightResponse

type GetBlockResultsRetainHeightResponse struct {
	// The retain height set by the pruning service (e.g. by the data
	// companion) specifically for block results.
	PruningServiceRetainHeight uint64 `` /* 144-byte string literal not displayed */
}

GetBlockResultsRetainHeightResponse returns the retain height for block results.

func (*GetBlockResultsRetainHeightResponse) Descriptor

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

func (*GetBlockResultsRetainHeightResponse) GetPruningServiceRetainHeight

func (m *GetBlockResultsRetainHeightResponse) GetPruningServiceRetainHeight() uint64

func (*GetBlockResultsRetainHeightResponse) Marshal

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

func (*GetBlockResultsRetainHeightResponse) MarshalTo

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

func (*GetBlockResultsRetainHeightResponse) MarshalToSizedBuffer

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

func (*GetBlockResultsRetainHeightResponse) ProtoMessage

func (*GetBlockResultsRetainHeightResponse) ProtoMessage()

func (*GetBlockResultsRetainHeightResponse) Reset

func (*GetBlockResultsRetainHeightResponse) Size

func (*GetBlockResultsRetainHeightResponse) String

func (*GetBlockResultsRetainHeightResponse) Unmarshal

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

func (*GetBlockResultsRetainHeightResponse) XXX_DiscardUnknown

func (m *GetBlockResultsRetainHeightResponse) XXX_DiscardUnknown()

func (*GetBlockResultsRetainHeightResponse) XXX_Marshal

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

func (*GetBlockResultsRetainHeightResponse) XXX_Merge

func (*GetBlockResultsRetainHeightResponse) XXX_Size

func (*GetBlockResultsRetainHeightResponse) XXX_Unmarshal

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

type GetBlockRetainHeightRequest

type GetBlockRetainHeightRequest struct {
}

GetBlockRetainHeightRequest is a request for the retain height.

func (*GetBlockRetainHeightRequest) Descriptor

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

func (*GetBlockRetainHeightRequest) Marshal

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

func (*GetBlockRetainHeightRequest) MarshalTo

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

func (*GetBlockRetainHeightRequest) MarshalToSizedBuffer

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

func (*GetBlockRetainHeightRequest) ProtoMessage

func (*GetBlockRetainHeightRequest) ProtoMessage()

func (*GetBlockRetainHeightRequest) Reset

func (m *GetBlockRetainHeightRequest) Reset()

func (*GetBlockRetainHeightRequest) Size

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

func (*GetBlockRetainHeightRequest) String

func (m *GetBlockRetainHeightRequest) String() string

func (*GetBlockRetainHeightRequest) Unmarshal

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

func (*GetBlockRetainHeightRequest) XXX_DiscardUnknown

func (m *GetBlockRetainHeightRequest) XXX_DiscardUnknown()

func (*GetBlockRetainHeightRequest) XXX_Marshal

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

func (*GetBlockRetainHeightRequest) XXX_Merge

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

func (*GetBlockRetainHeightRequest) XXX_Size

func (m *GetBlockRetainHeightRequest) XXX_Size() int

func (*GetBlockRetainHeightRequest) XXX_Unmarshal

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

type GetBlockRetainHeightResponse

type GetBlockRetainHeightResponse struct {
	// The retain height set by the application.
	AppRetainHeight uint64 `protobuf:"varint,1,opt,name=app_retain_height,json=appRetainHeight,proto3" json:"app_retain_height,omitempty"`
	// The retain height set via the pruning service (e.g. by the data
	// companion) specifically for blocks.
	PruningServiceRetainHeight uint64 `` /* 144-byte string literal not displayed */
}

GetBlockRetainHeightResponse returns the retain height for blocks.

func (*GetBlockRetainHeightResponse) Descriptor

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

func (*GetBlockRetainHeightResponse) GetAppRetainHeight

func (m *GetBlockRetainHeightResponse) GetAppRetainHeight() uint64

func (*GetBlockRetainHeightResponse) GetPruningServiceRetainHeight

func (m *GetBlockRetainHeightResponse) GetPruningServiceRetainHeight() uint64

func (*GetBlockRetainHeightResponse) Marshal

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

func (*GetBlockRetainHeightResponse) MarshalTo

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

func (*GetBlockRetainHeightResponse) MarshalToSizedBuffer

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

func (*GetBlockRetainHeightResponse) ProtoMessage

func (*GetBlockRetainHeightResponse) ProtoMessage()

func (*GetBlockRetainHeightResponse) Reset

func (m *GetBlockRetainHeightResponse) Reset()

func (*GetBlockRetainHeightResponse) Size

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

func (*GetBlockRetainHeightResponse) String

func (*GetBlockRetainHeightResponse) Unmarshal

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

func (*GetBlockRetainHeightResponse) XXX_DiscardUnknown

func (m *GetBlockRetainHeightResponse) XXX_DiscardUnknown()

func (*GetBlockRetainHeightResponse) XXX_Marshal

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

func (*GetBlockRetainHeightResponse) XXX_Merge

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

func (*GetBlockRetainHeightResponse) XXX_Size

func (m *GetBlockRetainHeightResponse) XXX_Size() int

func (*GetBlockRetainHeightResponse) XXX_Unmarshal

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

type GetTxIndexerRetainHeightRequest

type GetTxIndexerRetainHeightRequest struct {
}

GetTxIndexerRetainHeightRequest is a request for the retain height.

func (*GetTxIndexerRetainHeightRequest) Descriptor

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

func (*GetTxIndexerRetainHeightRequest) Marshal

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

func (*GetTxIndexerRetainHeightRequest) MarshalTo

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

func (*GetTxIndexerRetainHeightRequest) MarshalToSizedBuffer

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

func (*GetTxIndexerRetainHeightRequest) ProtoMessage

func (*GetTxIndexerRetainHeightRequest) ProtoMessage()

func (*GetTxIndexerRetainHeightRequest) Reset

func (*GetTxIndexerRetainHeightRequest) Size

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

func (*GetTxIndexerRetainHeightRequest) String

func (*GetTxIndexerRetainHeightRequest) Unmarshal

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

func (*GetTxIndexerRetainHeightRequest) XXX_DiscardUnknown

func (m *GetTxIndexerRetainHeightRequest) XXX_DiscardUnknown()

func (*GetTxIndexerRetainHeightRequest) XXX_Marshal

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

func (*GetTxIndexerRetainHeightRequest) XXX_Merge

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

func (*GetTxIndexerRetainHeightRequest) XXX_Size

func (m *GetTxIndexerRetainHeightRequest) XXX_Size() int

func (*GetTxIndexerRetainHeightRequest) XXX_Unmarshal

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

type GetTxIndexerRetainHeightResponse

type GetTxIndexerRetainHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

GetTxIndexerRetainHeightResponse returns the retain height for the tx indexer.

func (*GetTxIndexerRetainHeightResponse) Descriptor

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

func (*GetTxIndexerRetainHeightResponse) GetHeight

func (*GetTxIndexerRetainHeightResponse) Marshal

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

func (*GetTxIndexerRetainHeightResponse) MarshalTo

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

func (*GetTxIndexerRetainHeightResponse) MarshalToSizedBuffer

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

func (*GetTxIndexerRetainHeightResponse) ProtoMessage

func (*GetTxIndexerRetainHeightResponse) ProtoMessage()

func (*GetTxIndexerRetainHeightResponse) Reset

func (*GetTxIndexerRetainHeightResponse) Size

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

func (*GetTxIndexerRetainHeightResponse) String

func (*GetTxIndexerRetainHeightResponse) Unmarshal

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

func (*GetTxIndexerRetainHeightResponse) XXX_DiscardUnknown

func (m *GetTxIndexerRetainHeightResponse) XXX_DiscardUnknown()

func (*GetTxIndexerRetainHeightResponse) XXX_Marshal

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

func (*GetTxIndexerRetainHeightResponse) XXX_Merge

func (*GetTxIndexerRetainHeightResponse) XXX_Size

func (m *GetTxIndexerRetainHeightResponse) XXX_Size() int

func (*GetTxIndexerRetainHeightResponse) XXX_Unmarshal

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

type PruningServiceClient

type PruningServiceClient interface {
	// SetBlockRetainHeightRequest indicates to the node that it can safely
	// prune all block data up to the specified retain height.
	//
	// The lower of this retain height and that set by the application in its
	// Commit response will be used by the node to determine which heights' data
	// can be pruned.
	SetBlockRetainHeight(ctx context.Context, in *SetBlockRetainHeightRequest, opts ...grpc.CallOption) (*SetBlockRetainHeightResponse, error)
	// GetBlockRetainHeight returns information about the retain height
	// parameters used by the node to influence block retention/pruning.
	GetBlockRetainHeight(ctx context.Context, in *GetBlockRetainHeightRequest, opts ...grpc.CallOption) (*GetBlockRetainHeightResponse, error)
	// SetBlockResultsRetainHeightRequest indicates to the node that it can
	// safely prune all block results data up to the specified height.
	//
	// The node will always store the block results for the latest height to
	// help facilitate crash recovery.
	SetBlockResultsRetainHeight(ctx context.Context, in *SetBlockResultsRetainHeightRequest, opts ...grpc.CallOption) (*SetBlockResultsRetainHeightResponse, error)
	// GetBlockResultsRetainHeight returns information about the retain height
	// parameters used by the node to influence block results retention/pruning.
	GetBlockResultsRetainHeight(ctx context.Context, in *GetBlockResultsRetainHeightRequest, opts ...grpc.CallOption) (*GetBlockResultsRetainHeightResponse, error)
	// SetTxIndexerRetainHeightRequest indicates to the node that it can safely
	// prune all tx indices up to the specified retain height.
	SetTxIndexerRetainHeight(ctx context.Context, in *SetTxIndexerRetainHeightRequest, opts ...grpc.CallOption) (*SetTxIndexerRetainHeightResponse, error)
	// GetTxIndexerRetainHeight returns information about the retain height
	// parameters used by the node to influence TxIndexer pruning
	GetTxIndexerRetainHeight(ctx context.Context, in *GetTxIndexerRetainHeightRequest, opts ...grpc.CallOption) (*GetTxIndexerRetainHeightResponse, error)
	// SetBlockIndexerRetainHeightRequest indicates to the node that it can safely
	// prune all block indices up to the specified retain height.
	SetBlockIndexerRetainHeight(ctx context.Context, in *SetBlockIndexerRetainHeightRequest, opts ...grpc.CallOption) (*SetBlockIndexerRetainHeightResponse, error)
	// GetBlockIndexerRetainHeight returns information about the retain height
	// parameters used by the node to influence BlockIndexer pruning
	GetBlockIndexerRetainHeight(ctx context.Context, in *GetBlockIndexerRetainHeightRequest, opts ...grpc.CallOption) (*GetBlockIndexerRetainHeightResponse, error)
}

PruningServiceClient is the client API for PruningService service.

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

func NewPruningServiceClient

func NewPruningServiceClient(cc grpc1.ClientConn) PruningServiceClient

type PruningServiceServer

type PruningServiceServer interface {
	// SetBlockRetainHeightRequest indicates to the node that it can safely
	// prune all block data up to the specified retain height.
	//
	// The lower of this retain height and that set by the application in its
	// Commit response will be used by the node to determine which heights' data
	// can be pruned.
	SetBlockRetainHeight(context.Context, *SetBlockRetainHeightRequest) (*SetBlockRetainHeightResponse, error)
	// GetBlockRetainHeight returns information about the retain height
	// parameters used by the node to influence block retention/pruning.
	GetBlockRetainHeight(context.Context, *GetBlockRetainHeightRequest) (*GetBlockRetainHeightResponse, error)
	// SetBlockResultsRetainHeightRequest indicates to the node that it can
	// safely prune all block results data up to the specified height.
	//
	// The node will always store the block results for the latest height to
	// help facilitate crash recovery.
	SetBlockResultsRetainHeight(context.Context, *SetBlockResultsRetainHeightRequest) (*SetBlockResultsRetainHeightResponse, error)
	// GetBlockResultsRetainHeight returns information about the retain height
	// parameters used by the node to influence block results retention/pruning.
	GetBlockResultsRetainHeight(context.Context, *GetBlockResultsRetainHeightRequest) (*GetBlockResultsRetainHeightResponse, error)
	// SetTxIndexerRetainHeightRequest indicates to the node that it can safely
	// prune all tx indices up to the specified retain height.
	SetTxIndexerRetainHeight(context.Context, *SetTxIndexerRetainHeightRequest) (*SetTxIndexerRetainHeightResponse, error)
	// GetTxIndexerRetainHeight returns information about the retain height
	// parameters used by the node to influence TxIndexer pruning
	GetTxIndexerRetainHeight(context.Context, *GetTxIndexerRetainHeightRequest) (*GetTxIndexerRetainHeightResponse, error)
	// SetBlockIndexerRetainHeightRequest indicates to the node that it can safely
	// prune all block indices up to the specified retain height.
	SetBlockIndexerRetainHeight(context.Context, *SetBlockIndexerRetainHeightRequest) (*SetBlockIndexerRetainHeightResponse, error)
	// GetBlockIndexerRetainHeight returns information about the retain height
	// parameters used by the node to influence BlockIndexer pruning
	GetBlockIndexerRetainHeight(context.Context, *GetBlockIndexerRetainHeightRequest) (*GetBlockIndexerRetainHeightResponse, error)
}

PruningServiceServer is the server API for PruningService service.

type SetBlockIndexerRetainHeightRequest

type SetBlockIndexerRetainHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

SetBlockIndexerRetainHeightRequest sets the retain height for the block indexer.

func (*SetBlockIndexerRetainHeightRequest) Descriptor

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

func (*SetBlockIndexerRetainHeightRequest) GetHeight

func (*SetBlockIndexerRetainHeightRequest) Marshal

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

func (*SetBlockIndexerRetainHeightRequest) MarshalTo

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

func (*SetBlockIndexerRetainHeightRequest) MarshalToSizedBuffer

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

func (*SetBlockIndexerRetainHeightRequest) ProtoMessage

func (*SetBlockIndexerRetainHeightRequest) ProtoMessage()

func (*SetBlockIndexerRetainHeightRequest) Reset

func (*SetBlockIndexerRetainHeightRequest) Size

func (*SetBlockIndexerRetainHeightRequest) String

func (*SetBlockIndexerRetainHeightRequest) Unmarshal

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

func (*SetBlockIndexerRetainHeightRequest) XXX_DiscardUnknown

func (m *SetBlockIndexerRetainHeightRequest) XXX_DiscardUnknown()

func (*SetBlockIndexerRetainHeightRequest) XXX_Marshal

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

func (*SetBlockIndexerRetainHeightRequest) XXX_Merge

func (*SetBlockIndexerRetainHeightRequest) XXX_Size

func (*SetBlockIndexerRetainHeightRequest) XXX_Unmarshal

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

type SetBlockIndexerRetainHeightResponse

type SetBlockIndexerRetainHeightResponse struct {
}

SetBlockIndexerRetainHeightResponse is empty.

func (*SetBlockIndexerRetainHeightResponse) Descriptor

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

func (*SetBlockIndexerRetainHeightResponse) Marshal

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

func (*SetBlockIndexerRetainHeightResponse) MarshalTo

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

func (*SetBlockIndexerRetainHeightResponse) MarshalToSizedBuffer

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

func (*SetBlockIndexerRetainHeightResponse) ProtoMessage

func (*SetBlockIndexerRetainHeightResponse) ProtoMessage()

func (*SetBlockIndexerRetainHeightResponse) Reset

func (*SetBlockIndexerRetainHeightResponse) Size

func (*SetBlockIndexerRetainHeightResponse) String

func (*SetBlockIndexerRetainHeightResponse) Unmarshal

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

func (*SetBlockIndexerRetainHeightResponse) XXX_DiscardUnknown

func (m *SetBlockIndexerRetainHeightResponse) XXX_DiscardUnknown()

func (*SetBlockIndexerRetainHeightResponse) XXX_Marshal

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

func (*SetBlockIndexerRetainHeightResponse) XXX_Merge

func (*SetBlockIndexerRetainHeightResponse) XXX_Size

func (*SetBlockIndexerRetainHeightResponse) XXX_Unmarshal

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

type SetBlockResultsRetainHeightRequest

type SetBlockResultsRetainHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

SetBlockResultsRetainHeightRequest sets the retain height for block results.

func (*SetBlockResultsRetainHeightRequest) Descriptor

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

func (*SetBlockResultsRetainHeightRequest) GetHeight

func (*SetBlockResultsRetainHeightRequest) Marshal

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

func (*SetBlockResultsRetainHeightRequest) MarshalTo

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

func (*SetBlockResultsRetainHeightRequest) MarshalToSizedBuffer

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

func (*SetBlockResultsRetainHeightRequest) ProtoMessage

func (*SetBlockResultsRetainHeightRequest) ProtoMessage()

func (*SetBlockResultsRetainHeightRequest) Reset

func (*SetBlockResultsRetainHeightRequest) Size

func (*SetBlockResultsRetainHeightRequest) String

func (*SetBlockResultsRetainHeightRequest) Unmarshal

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

func (*SetBlockResultsRetainHeightRequest) XXX_DiscardUnknown

func (m *SetBlockResultsRetainHeightRequest) XXX_DiscardUnknown()

func (*SetBlockResultsRetainHeightRequest) XXX_Marshal

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

func (*SetBlockResultsRetainHeightRequest) XXX_Merge

func (*SetBlockResultsRetainHeightRequest) XXX_Size

func (*SetBlockResultsRetainHeightRequest) XXX_Unmarshal

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

type SetBlockResultsRetainHeightResponse

type SetBlockResultsRetainHeightResponse struct {
}

SetBlockResultsRetainHeightResponse is empty.

func (*SetBlockResultsRetainHeightResponse) Descriptor

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

func (*SetBlockResultsRetainHeightResponse) Marshal

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

func (*SetBlockResultsRetainHeightResponse) MarshalTo

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

func (*SetBlockResultsRetainHeightResponse) MarshalToSizedBuffer

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

func (*SetBlockResultsRetainHeightResponse) ProtoMessage

func (*SetBlockResultsRetainHeightResponse) ProtoMessage()

func (*SetBlockResultsRetainHeightResponse) Reset

func (*SetBlockResultsRetainHeightResponse) Size

func (*SetBlockResultsRetainHeightResponse) String

func (*SetBlockResultsRetainHeightResponse) Unmarshal

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

func (*SetBlockResultsRetainHeightResponse) XXX_DiscardUnknown

func (m *SetBlockResultsRetainHeightResponse) XXX_DiscardUnknown()

func (*SetBlockResultsRetainHeightResponse) XXX_Marshal

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

func (*SetBlockResultsRetainHeightResponse) XXX_Merge

func (*SetBlockResultsRetainHeightResponse) XXX_Size

func (*SetBlockResultsRetainHeightResponse) XXX_Unmarshal

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

type SetBlockRetainHeightRequest

type SetBlockRetainHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

SetBlockRetainHeightRequest sets the retain height for blocks.

func (*SetBlockRetainHeightRequest) Descriptor

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

func (*SetBlockRetainHeightRequest) GetHeight

func (m *SetBlockRetainHeightRequest) GetHeight() uint64

func (*SetBlockRetainHeightRequest) Marshal

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

func (*SetBlockRetainHeightRequest) MarshalTo

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

func (*SetBlockRetainHeightRequest) MarshalToSizedBuffer

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

func (*SetBlockRetainHeightRequest) ProtoMessage

func (*SetBlockRetainHeightRequest) ProtoMessage()

func (*SetBlockRetainHeightRequest) Reset

func (m *SetBlockRetainHeightRequest) Reset()

func (*SetBlockRetainHeightRequest) Size

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

func (*SetBlockRetainHeightRequest) String

func (m *SetBlockRetainHeightRequest) String() string

func (*SetBlockRetainHeightRequest) Unmarshal

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

func (*SetBlockRetainHeightRequest) XXX_DiscardUnknown

func (m *SetBlockRetainHeightRequest) XXX_DiscardUnknown()

func (*SetBlockRetainHeightRequest) XXX_Marshal

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

func (*SetBlockRetainHeightRequest) XXX_Merge

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

func (*SetBlockRetainHeightRequest) XXX_Size

func (m *SetBlockRetainHeightRequest) XXX_Size() int

func (*SetBlockRetainHeightRequest) XXX_Unmarshal

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

type SetBlockRetainHeightResponse

type SetBlockRetainHeightResponse struct {
}

SetBlockRetainHeightResponse is empty.

func (*SetBlockRetainHeightResponse) Descriptor

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

func (*SetBlockRetainHeightResponse) Marshal

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

func (*SetBlockRetainHeightResponse) MarshalTo

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

func (*SetBlockRetainHeightResponse) MarshalToSizedBuffer

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

func (*SetBlockRetainHeightResponse) ProtoMessage

func (*SetBlockRetainHeightResponse) ProtoMessage()

func (*SetBlockRetainHeightResponse) Reset

func (m *SetBlockRetainHeightResponse) Reset()

func (*SetBlockRetainHeightResponse) Size

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

func (*SetBlockRetainHeightResponse) String

func (*SetBlockRetainHeightResponse) Unmarshal

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

func (*SetBlockRetainHeightResponse) XXX_DiscardUnknown

func (m *SetBlockRetainHeightResponse) XXX_DiscardUnknown()

func (*SetBlockRetainHeightResponse) XXX_Marshal

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

func (*SetBlockRetainHeightResponse) XXX_Merge

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

func (*SetBlockRetainHeightResponse) XXX_Size

func (m *SetBlockRetainHeightResponse) XXX_Size() int

func (*SetBlockRetainHeightResponse) XXX_Unmarshal

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

type SetTxIndexerRetainHeightRequest

type SetTxIndexerRetainHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

SetTxIndexerRetainHeightRequest sets the retain height for the tx indexer.

func (*SetTxIndexerRetainHeightRequest) Descriptor

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

func (*SetTxIndexerRetainHeightRequest) GetHeight

func (m *SetTxIndexerRetainHeightRequest) GetHeight() uint64

func (*SetTxIndexerRetainHeightRequest) Marshal

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

func (*SetTxIndexerRetainHeightRequest) MarshalTo

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

func (*SetTxIndexerRetainHeightRequest) MarshalToSizedBuffer

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

func (*SetTxIndexerRetainHeightRequest) ProtoMessage

func (*SetTxIndexerRetainHeightRequest) ProtoMessage()

func (*SetTxIndexerRetainHeightRequest) Reset

func (*SetTxIndexerRetainHeightRequest) Size

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

func (*SetTxIndexerRetainHeightRequest) String

func (*SetTxIndexerRetainHeightRequest) Unmarshal

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

func (*SetTxIndexerRetainHeightRequest) XXX_DiscardUnknown

func (m *SetTxIndexerRetainHeightRequest) XXX_DiscardUnknown()

func (*SetTxIndexerRetainHeightRequest) XXX_Marshal

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

func (*SetTxIndexerRetainHeightRequest) XXX_Merge

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

func (*SetTxIndexerRetainHeightRequest) XXX_Size

func (m *SetTxIndexerRetainHeightRequest) XXX_Size() int

func (*SetTxIndexerRetainHeightRequest) XXX_Unmarshal

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

type SetTxIndexerRetainHeightResponse

type SetTxIndexerRetainHeightResponse struct {
}

SetTxIndexerRetainHeightResponse is empty.

func (*SetTxIndexerRetainHeightResponse) Descriptor

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

func (*SetTxIndexerRetainHeightResponse) Marshal

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

func (*SetTxIndexerRetainHeightResponse) MarshalTo

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

func (*SetTxIndexerRetainHeightResponse) MarshalToSizedBuffer

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

func (*SetTxIndexerRetainHeightResponse) ProtoMessage

func (*SetTxIndexerRetainHeightResponse) ProtoMessage()

func (*SetTxIndexerRetainHeightResponse) Reset

func (*SetTxIndexerRetainHeightResponse) Size

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

func (*SetTxIndexerRetainHeightResponse) String

func (*SetTxIndexerRetainHeightResponse) Unmarshal

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

func (*SetTxIndexerRetainHeightResponse) XXX_DiscardUnknown

func (m *SetTxIndexerRetainHeightResponse) XXX_DiscardUnknown()

func (*SetTxIndexerRetainHeightResponse) XXX_Marshal

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

func (*SetTxIndexerRetainHeightResponse) XXX_Merge

func (*SetTxIndexerRetainHeightResponse) XXX_Size

func (m *SetTxIndexerRetainHeightResponse) XXX_Size() int

func (*SetTxIndexerRetainHeightResponse) XXX_Unmarshal

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

type UnimplementedPruningServiceServer

type UnimplementedPruningServiceServer struct {
}

UnimplementedPruningServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPruningServiceServer) GetBlockIndexerRetainHeight

func (*UnimplementedPruningServiceServer) GetBlockResultsRetainHeight

func (*UnimplementedPruningServiceServer) GetBlockRetainHeight

func (*UnimplementedPruningServiceServer) GetTxIndexerRetainHeight

func (*UnimplementedPruningServiceServer) SetBlockIndexerRetainHeight

func (*UnimplementedPruningServiceServer) SetBlockResultsRetainHeight

func (*UnimplementedPruningServiceServer) SetBlockRetainHeight

func (*UnimplementedPruningServiceServer) SetTxIndexerRetainHeight

Jump to

Keyboard shortcuts

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