blocksv2

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_eproxy_blocks_v2_blocks_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Block

type Block struct {

	// Current block height
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// Current block hash
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// Block time
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Previous block hash
	PrevHash string `protobuf:"bytes,4,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetCreatedAt

func (x *Block) GetCreatedAt() *timestamppb.Timestamp

func (*Block) GetHash

func (x *Block) GetHash() string

func (*Block) GetHeight

func (x *Block) GetHeight() uint64

func (*Block) GetPrevHash

func (x *Block) GetPrevHash() string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type FindRequest

type FindRequest struct {
	Blockchain      v2.Blockchain         `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
	Common          *v2.FindRequestCommon `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"`
	FromBlockHeight *uint64               `protobuf:"varint,3,opt,name=from_block_height,json=fromBlockHeight,proto3,oneof" json:"from_block_height,omitempty"`
	// contains filtered or unexported fields
}

Find request

func (*FindRequest) Descriptor deprecated

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

Deprecated: Use FindRequest.ProtoReflect.Descriptor instead.

func (*FindRequest) GetBlockchain

func (x *FindRequest) GetBlockchain() v2.Blockchain

func (*FindRequest) GetCommon

func (x *FindRequest) GetCommon() *v2.FindRequestCommon

func (*FindRequest) GetFromBlockHeight

func (x *FindRequest) GetFromBlockHeight() uint64

func (*FindRequest) ProtoMessage

func (*FindRequest) ProtoMessage()

func (*FindRequest) ProtoReflect

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

func (*FindRequest) Reset

func (x *FindRequest) Reset()

func (*FindRequest) String

func (x *FindRequest) String() string

type FindResponse

type FindResponse struct {
	Items []*Block `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Count uint64   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*FindResponse) Descriptor deprecated

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

Deprecated: Use FindResponse.ProtoReflect.Descriptor instead.

func (*FindResponse) GetCount

func (x *FindResponse) GetCount() uint64

func (*FindResponse) GetItems

func (x *FindResponse) GetItems() []*Block

func (*FindResponse) ProtoMessage

func (*FindResponse) ProtoMessage()

func (*FindResponse) ProtoReflect

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

func (*FindResponse) Reset

func (x *FindResponse) Reset()

func (*FindResponse) String

func (x *FindResponse) String() string

type GetRequest

type GetRequest struct {
	Blockchain v2.Blockchain `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
	Height     uint64        `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

Get request

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetBlockchain

func (x *GetRequest) GetBlockchain() v2.Blockchain

func (*GetRequest) GetHeight

func (x *GetRequest) GetHeight() uint64

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	Item *Block `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetItem

func (x *GetResponse) GetItem() *Block

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type LastBlockHeightRequest

type LastBlockHeightRequest struct {
	Blockchain v2.Blockchain `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
	// contains filtered or unexported fields
}

LastBlockHeight

func (*LastBlockHeightRequest) Descriptor deprecated

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

Deprecated: Use LastBlockHeightRequest.ProtoReflect.Descriptor instead.

func (*LastBlockHeightRequest) GetBlockchain

func (x *LastBlockHeightRequest) GetBlockchain() v2.Blockchain

func (*LastBlockHeightRequest) ProtoMessage

func (*LastBlockHeightRequest) ProtoMessage()

func (*LastBlockHeightRequest) ProtoReflect

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

func (*LastBlockHeightRequest) Reset

func (x *LastBlockHeightRequest) Reset()

func (*LastBlockHeightRequest) String

func (x *LastBlockHeightRequest) String() string

type LastBlockHeightResponse

type LastBlockHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*LastBlockHeightResponse) Descriptor deprecated

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

Deprecated: Use LastBlockHeightResponse.ProtoReflect.Descriptor instead.

func (*LastBlockHeightResponse) GetHeight

func (x *LastBlockHeightResponse) GetHeight() uint64

func (*LastBlockHeightResponse) ProtoMessage

func (*LastBlockHeightResponse) ProtoMessage()

func (*LastBlockHeightResponse) ProtoReflect

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

func (*LastBlockHeightResponse) Reset

func (x *LastBlockHeightResponse) Reset()

func (*LastBlockHeightResponse) String

func (x *LastBlockHeightResponse) String() string

type MinBlockHeightRequest

type MinBlockHeightRequest struct {
	Blockchain v2.Blockchain `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
	// contains filtered or unexported fields
}

MinBlockHeight

func (*MinBlockHeightRequest) Descriptor deprecated

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

Deprecated: Use MinBlockHeightRequest.ProtoReflect.Descriptor instead.

func (*MinBlockHeightRequest) GetBlockchain

func (x *MinBlockHeightRequest) GetBlockchain() v2.Blockchain

func (*MinBlockHeightRequest) ProtoMessage

func (*MinBlockHeightRequest) ProtoMessage()

func (*MinBlockHeightRequest) ProtoReflect

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

func (*MinBlockHeightRequest) Reset

func (x *MinBlockHeightRequest) Reset()

func (*MinBlockHeightRequest) String

func (x *MinBlockHeightRequest) String() string

type MinBlockHeightResponse

type MinBlockHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*MinBlockHeightResponse) Descriptor deprecated

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

Deprecated: Use MinBlockHeightResponse.ProtoReflect.Descriptor instead.

func (*MinBlockHeightResponse) GetHeight

func (x *MinBlockHeightResponse) GetHeight() uint64

func (*MinBlockHeightResponse) ProtoMessage

func (*MinBlockHeightResponse) ProtoMessage()

func (*MinBlockHeightResponse) ProtoReflect

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

func (*MinBlockHeightResponse) Reset

func (x *MinBlockHeightResponse) Reset()

func (*MinBlockHeightResponse) String

func (x *MinBlockHeightResponse) String() string

type NodeLastBlockHeightRequest

type NodeLastBlockHeightRequest struct {
	Blockchain v2.Blockchain `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
	// contains filtered or unexported fields
}

NodeLastBlockHeight

func (*NodeLastBlockHeightRequest) Descriptor deprecated

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

Deprecated: Use NodeLastBlockHeightRequest.ProtoReflect.Descriptor instead.

func (*NodeLastBlockHeightRequest) GetBlockchain

func (x *NodeLastBlockHeightRequest) GetBlockchain() v2.Blockchain

func (*NodeLastBlockHeightRequest) ProtoMessage

func (*NodeLastBlockHeightRequest) ProtoMessage()

func (*NodeLastBlockHeightRequest) ProtoReflect

func (*NodeLastBlockHeightRequest) Reset

func (x *NodeLastBlockHeightRequest) Reset()

func (*NodeLastBlockHeightRequest) String

func (x *NodeLastBlockHeightRequest) String() string

type NodeLastBlockHeightResponse

type NodeLastBlockHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeLastBlockHeightResponse) Descriptor deprecated

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

Deprecated: Use NodeLastBlockHeightResponse.ProtoReflect.Descriptor instead.

func (*NodeLastBlockHeightResponse) GetHeight

func (x *NodeLastBlockHeightResponse) GetHeight() uint64

func (*NodeLastBlockHeightResponse) ProtoMessage

func (*NodeLastBlockHeightResponse) ProtoMessage()

func (*NodeLastBlockHeightResponse) ProtoReflect

func (*NodeLastBlockHeightResponse) Reset

func (x *NodeLastBlockHeightResponse) Reset()

func (*NodeLastBlockHeightResponse) String

func (x *NodeLastBlockHeightResponse) String() string

type SubscribeRequest

type SubscribeRequest struct {
	Blockchain v2.Blockchain `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
	// contains filtered or unexported fields
}

SubscribeRequest

func (*SubscribeRequest) Descriptor deprecated

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

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) GetBlockchain

func (x *SubscribeRequest) GetBlockchain() v2.Blockchain

func (*SubscribeRequest) ProtoMessage

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) ProtoReflect

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

func (*SubscribeRequest) Reset

func (x *SubscribeRequest) Reset()

func (*SubscribeRequest) String

func (x *SubscribeRequest) String() string

type SubscribeResponse

type SubscribeResponse struct {
	Item *Block `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeResponse) Descriptor deprecated

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

Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.

func (*SubscribeResponse) GetItem

func (x *SubscribeResponse) GetItem() *Block

func (*SubscribeResponse) ProtoMessage

func (*SubscribeResponse) ProtoMessage()

func (*SubscribeResponse) ProtoReflect

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

func (*SubscribeResponse) Reset

func (x *SubscribeResponse) Reset()

func (*SubscribeResponse) String

func (x *SubscribeResponse) String() string

type TotalInfoRequest

type TotalInfoRequest struct {
	// contains filtered or unexported fields
}

TotalInfo

func (*TotalInfoRequest) Descriptor deprecated

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

Deprecated: Use TotalInfoRequest.ProtoReflect.Descriptor instead.

func (*TotalInfoRequest) ProtoMessage

func (*TotalInfoRequest) ProtoMessage()

func (*TotalInfoRequest) ProtoReflect

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

func (*TotalInfoRequest) Reset

func (x *TotalInfoRequest) Reset()

func (*TotalInfoRequest) String

func (x *TotalInfoRequest) String() string

type TotalInfoResponse

type TotalInfoResponse struct {
	Info map[string]*TotalInfoResponse_Item `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TotalInfoResponse) Descriptor deprecated

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

Deprecated: Use TotalInfoResponse.ProtoReflect.Descriptor instead.

func (*TotalInfoResponse) GetInfo

func (*TotalInfoResponse) ProtoMessage

func (*TotalInfoResponse) ProtoMessage()

func (*TotalInfoResponse) ProtoReflect

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

func (*TotalInfoResponse) Reset

func (x *TotalInfoResponse) Reset()

func (*TotalInfoResponse) String

func (x *TotalInfoResponse) String() string

type TotalInfoResponse_Item

type TotalInfoResponse_Item struct {
	DbMin    uint64 `protobuf:"varint,1,opt,name=db_min,json=dbMin,proto3" json:"db_min,omitempty"`
	DbMax    uint64 `protobuf:"varint,2,opt,name=db_max,json=dbMax,proto3" json:"db_max,omitempty"`
	DbDiff   uint64 `protobuf:"varint,3,opt,name=db_diff,json=dbDiff,proto3" json:"db_diff,omitempty"`
	NodeMax  uint64 `protobuf:"varint,4,opt,name=node_max,json=nodeMax,proto3" json:"node_max,omitempty"`
	NodeDiff uint64 `protobuf:"varint,5,opt,name=node_diff,json=nodeDiff,proto3" json:"node_diff,omitempty"`
	// contains filtered or unexported fields
}

func (*TotalInfoResponse_Item) Descriptor deprecated

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

Deprecated: Use TotalInfoResponse_Item.ProtoReflect.Descriptor instead.

func (*TotalInfoResponse_Item) GetDbDiff

func (x *TotalInfoResponse_Item) GetDbDiff() uint64

func (*TotalInfoResponse_Item) GetDbMax

func (x *TotalInfoResponse_Item) GetDbMax() uint64

func (*TotalInfoResponse_Item) GetDbMin

func (x *TotalInfoResponse_Item) GetDbMin() uint64

func (*TotalInfoResponse_Item) GetNodeDiff

func (x *TotalInfoResponse_Item) GetNodeDiff() uint64

func (*TotalInfoResponse_Item) GetNodeMax

func (x *TotalInfoResponse_Item) GetNodeMax() uint64

func (*TotalInfoResponse_Item) ProtoMessage

func (*TotalInfoResponse_Item) ProtoMessage()

func (*TotalInfoResponse_Item) ProtoReflect

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

func (*TotalInfoResponse_Item) Reset

func (x *TotalInfoResponse_Item) Reset()

func (*TotalInfoResponse_Item) String

func (x *TotalInfoResponse_Item) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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