remote

package
v0.0.0-...-1f13f73 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Event_name = map[int32]string{
		0: "HEADER",
		1: "PENDING_LOGS",
		2: "PENDING_BLOCK",
	}
	Event_value = map[string]int32{
		"HEADER":        0,
		"PENDING_LOGS":  1,
		"PENDING_BLOCK": 2,
	}
)

Enum value maps for Event.

View Source
var (
	Op_name = map[int32]string{
		0:  "FIRST",
		1:  "FIRST_DUP",
		2:  "SEEK",
		3:  "SEEK_BOTH",
		4:  "CURRENT",
		6:  "LAST",
		7:  "LAST_DUP",
		8:  "NEXT",
		9:  "NEXT_DUP",
		11: "NEXT_NO_DUP",
		12: "PREV",
		13: "PREV_DUP",
		14: "PREV_NO_DUP",
		15: "SEEK_EXACT",
		16: "SEEK_BOTH_EXACT",
		30: "OPEN",
		31: "CLOSE",
	}
	Op_value = map[string]int32{
		"FIRST":           0,
		"FIRST_DUP":       1,
		"SEEK":            2,
		"SEEK_BOTH":       3,
		"CURRENT":         4,
		"LAST":            6,
		"LAST_DUP":        7,
		"NEXT":            8,
		"NEXT_DUP":        9,
		"NEXT_NO_DUP":     11,
		"PREV":            12,
		"PREV_DUP":        13,
		"PREV_NO_DUP":     14,
		"SEEK_EXACT":      15,
		"SEEK_BOTH_EXACT": 16,
		"OPEN":            30,
		"CLOSE":           31,
	}
)

Enum value maps for Op.

View Source
var (
	Action_name = map[int32]string{
		0: "STORAGE",
		1: "UPSERT",
		2: "CODE",
		3: "UPSERT_CODE",
		4: "DELETE",
	}
	Action_value = map[string]int32{
		"STORAGE":     0,
		"UPSERT":      1,
		"CODE":        2,
		"UPSERT_CODE": 3,
		"DELETE":      4,
	}
)

Enum value maps for Action.

View Source
var (
	Direction_name = map[int32]string{
		0: "FORWARD",
		1: "UNWIND",
	}
	Direction_value = map[string]int32{
		"FORWARD": 0,
		"UNWIND":  1,
	}
)

Enum value maps for Direction.

View Source
var ETHBACKEND_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "remote.ETHBACKEND",
	HandlerType: (*ETHBACKENDServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Etherbase",
			Handler:    _ETHBACKEND_Etherbase_Handler,
		},
		{
			MethodName: "NetVersion",
			Handler:    _ETHBACKEND_NetVersion_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _ETHBACKEND_Version_Handler,
		},
		{
			MethodName: "ProtocolVersion",
			Handler:    _ETHBACKEND_ProtocolVersion_Handler,
		},
		{
			MethodName: "ClientVersion",
			Handler:    _ETHBACKEND_ClientVersion_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Subscribe",
			Handler:       _ETHBACKEND_Subscribe_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "remote/ethbackend.proto",
}

ETHBACKEND_ServiceDesc is the grpc.ServiceDesc for ETHBACKEND service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_remote_ethbackend_proto protoreflect.FileDescriptor
View Source
var File_remote_kv_proto protoreflect.FileDescriptor
View Source
var KV_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "remote.KV",
	HandlerType: (*KVServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Version",
			Handler:    _KV_Version_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Tx",
			Handler:       _KV_Tx_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "ReceiveStateChanges",
			Handler:       _KV_ReceiveStateChanges_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "remote/kv.proto",
}

KV_ServiceDesc is the grpc.ServiceDesc for KV service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterETHBACKENDServer

func RegisterETHBACKENDServer(s grpc.ServiceRegistrar, srv ETHBACKENDServer)

func RegisterKVServer

func RegisterKVServer(s grpc.ServiceRegistrar, srv KVServer)

Types

type AccountChange

type AccountChange struct {
	Address        *types.H160      `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Incarnation    uint64           `protobuf:"varint,2,opt,name=incarnation,proto3" json:"incarnation,omitempty"`
	Action         Action           `protobuf:"varint,3,opt,name=action,proto3,enum=remote.Action" json:"action,omitempty"`
	Data           []byte           `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // nil if there is no UPSERT in action
	Code           []byte           `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` // nil if there is no CODE in action
	StorageChanges []*StorageChange `protobuf:"bytes,6,rep,name=storageChanges,proto3" json:"storageChanges,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountChange) Descriptor deprecated

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

Deprecated: Use AccountChange.ProtoReflect.Descriptor instead.

func (*AccountChange) GetAction

func (x *AccountChange) GetAction() Action

func (*AccountChange) GetAddress

func (x *AccountChange) GetAddress() *types.H160

func (*AccountChange) GetCode

func (x *AccountChange) GetCode() []byte

func (*AccountChange) GetData

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

func (*AccountChange) GetIncarnation

func (x *AccountChange) GetIncarnation() uint64

func (*AccountChange) GetStorageChanges

func (x *AccountChange) GetStorageChanges() []*StorageChange

func (*AccountChange) ProtoMessage

func (*AccountChange) ProtoMessage()

func (*AccountChange) ProtoReflect

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

func (*AccountChange) Reset

func (x *AccountChange) Reset()

func (*AccountChange) String

func (x *AccountChange) String() string

type Action

type Action int32
const (
	Action_STORAGE     Action = 0 // Change only in the storage
	Action_UPSERT      Action = 1 // Change of balance or nonce (and optionally storage)
	Action_CODE        Action = 2 // Change of code (and optionally storage)
	Action_UPSERT_CODE Action = 3 // Change in (balance or nonce) and code (and optinally storage)
	Action_DELETE      Action = 4 // Account is deleted
)

func (Action) Descriptor

func (Action) Descriptor() protoreflect.EnumDescriptor

func (Action) Enum

func (x Action) Enum() *Action

func (Action) EnumDescriptor deprecated

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

Deprecated: Use Action.Descriptor instead.

func (Action) Number

func (x Action) Number() protoreflect.EnumNumber

func (Action) String

func (x Action) String() string

func (Action) Type

func (Action) Type() protoreflect.EnumType

type ClientVersionReply

type ClientVersionReply struct {
	NodeName string `protobuf:"bytes,1,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientVersionReply) Descriptor deprecated

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

Deprecated: Use ClientVersionReply.ProtoReflect.Descriptor instead.

func (*ClientVersionReply) GetNodeName

func (x *ClientVersionReply) GetNodeName() string

func (*ClientVersionReply) ProtoMessage

func (*ClientVersionReply) ProtoMessage()

func (*ClientVersionReply) ProtoReflect

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

func (*ClientVersionReply) Reset

func (x *ClientVersionReply) Reset()

func (*ClientVersionReply) String

func (x *ClientVersionReply) String() string

type ClientVersionRequest

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

func (*ClientVersionRequest) Descriptor deprecated

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

Deprecated: Use ClientVersionRequest.ProtoReflect.Descriptor instead.

func (*ClientVersionRequest) ProtoMessage

func (*ClientVersionRequest) ProtoMessage()

func (*ClientVersionRequest) ProtoReflect

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

func (*ClientVersionRequest) Reset

func (x *ClientVersionRequest) Reset()

func (*ClientVersionRequest) String

func (x *ClientVersionRequest) String() string

type Cursor

type Cursor struct {
	Op         Op     `protobuf:"varint,1,opt,name=op,proto3,enum=remote.Op" json:"op,omitempty"`
	BucketName string `protobuf:"bytes,2,opt,name=bucketName,proto3" json:"bucketName,omitempty"`
	Cursor     uint32 `protobuf:"varint,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	K          []byte `protobuf:"bytes,4,opt,name=k,proto3" json:"k,omitempty"`
	V          []byte `protobuf:"bytes,5,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Cursor) Descriptor deprecated

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

Deprecated: Use Cursor.ProtoReflect.Descriptor instead.

func (*Cursor) GetBucketName

func (x *Cursor) GetBucketName() string

func (*Cursor) GetCursor

func (x *Cursor) GetCursor() uint32

func (*Cursor) GetK

func (x *Cursor) GetK() []byte

func (*Cursor) GetOp

func (x *Cursor) GetOp() Op

func (*Cursor) GetV

func (x *Cursor) GetV() []byte

func (*Cursor) ProtoMessage

func (*Cursor) ProtoMessage()

func (*Cursor) ProtoReflect

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

func (*Cursor) Reset

func (x *Cursor) Reset()

func (*Cursor) String

func (x *Cursor) String() string

type Direction

type Direction int32
const (
	Direction_FORWARD Direction = 0
	Direction_UNWIND  Direction = 1
)

func (Direction) Descriptor

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated

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

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String

func (x Direction) String() string

func (Direction) Type

type ETHBACKENDClient

type ETHBACKENDClient interface {
	Etherbase(ctx context.Context, in *EtherbaseRequest, opts ...grpc.CallOption) (*EtherbaseReply, error)
	NetVersion(ctx context.Context, in *NetVersionRequest, opts ...grpc.CallOption) (*NetVersionReply, error)
	// Version returns the service version number
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.VersionReply, error)
	// ProtocolVersion returns the Ethereum protocol version number (e.g. 66 for ETH66).
	ProtocolVersion(ctx context.Context, in *ProtocolVersionRequest, opts ...grpc.CallOption) (*ProtocolVersionReply, error)
	// ClientVersion returns the Ethereum client version string using node name convention (e.g. Erigon/v2021.03.2-alpha/Linux).
	ClientVersion(ctx context.Context, in *ClientVersionRequest, opts ...grpc.CallOption) (*ClientVersionReply, error)
	Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (ETHBACKEND_SubscribeClient, error)
}

ETHBACKENDClient is the client API for ETHBACKEND service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewETHBACKENDClient

func NewETHBACKENDClient(cc grpc.ClientConnInterface) ETHBACKENDClient

type ETHBACKENDServer

type ETHBACKENDServer interface {
	Etherbase(context.Context, *EtherbaseRequest) (*EtherbaseReply, error)
	NetVersion(context.Context, *NetVersionRequest) (*NetVersionReply, error)
	// Version returns the service version number
	Version(context.Context, *emptypb.Empty) (*types.VersionReply, error)
	// ProtocolVersion returns the Ethereum protocol version number (e.g. 66 for ETH66).
	ProtocolVersion(context.Context, *ProtocolVersionRequest) (*ProtocolVersionReply, error)
	// ClientVersion returns the Ethereum client version string using node name convention (e.g. Erigon/v2021.03.2-alpha/Linux).
	ClientVersion(context.Context, *ClientVersionRequest) (*ClientVersionReply, error)
	Subscribe(*SubscribeRequest, ETHBACKEND_SubscribeServer) error
	// contains filtered or unexported methods
}

ETHBACKENDServer is the server API for ETHBACKEND service. All implementations must embed UnimplementedETHBACKENDServer for forward compatibility

type ETHBACKEND_SubscribeClient

type ETHBACKEND_SubscribeClient interface {
	Recv() (*SubscribeReply, error)
	grpc.ClientStream
}

type ETHBACKEND_SubscribeServer

type ETHBACKEND_SubscribeServer interface {
	Send(*SubscribeReply) error
	grpc.ServerStream
}

type EtherbaseReply

type EtherbaseReply struct {
	Address *types.H160 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*EtherbaseReply) Descriptor deprecated

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

Deprecated: Use EtherbaseReply.ProtoReflect.Descriptor instead.

func (*EtherbaseReply) GetAddress

func (x *EtherbaseReply) GetAddress() *types.H160

func (*EtherbaseReply) ProtoMessage

func (*EtherbaseReply) ProtoMessage()

func (*EtherbaseReply) ProtoReflect

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

func (*EtherbaseReply) Reset

func (x *EtherbaseReply) Reset()

func (*EtherbaseReply) String

func (x *EtherbaseReply) String() string

type EtherbaseRequest

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

func (*EtherbaseRequest) Descriptor deprecated

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

Deprecated: Use EtherbaseRequest.ProtoReflect.Descriptor instead.

func (*EtherbaseRequest) ProtoMessage

func (*EtherbaseRequest) ProtoMessage()

func (*EtherbaseRequest) ProtoReflect

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

func (*EtherbaseRequest) Reset

func (x *EtherbaseRequest) Reset()

func (*EtherbaseRequest) String

func (x *EtherbaseRequest) String() string

type Event

type Event int32
const (
	Event_HEADER        Event = 0
	Event_PENDING_LOGS  Event = 1
	Event_PENDING_BLOCK Event = 2
)

func (Event) Descriptor

func (Event) Descriptor() protoreflect.EnumDescriptor

func (Event) Enum

func (x Event) Enum() *Event

func (Event) EnumDescriptor deprecated

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

Deprecated: Use Event.Descriptor instead.

func (Event) Number

func (x Event) Number() protoreflect.EnumNumber

func (Event) String

func (x Event) String() string

func (Event) Type

func (Event) Type() protoreflect.EnumType

type KVClient

type KVClient interface {
	// Version returns the service version number
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.VersionReply, error)
	// Tx exposes read-only transactions for the key-value store
	Tx(ctx context.Context, opts ...grpc.CallOption) (KV_TxClient, error)
	ReceiveStateChanges(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (KV_ReceiveStateChangesClient, error)
}

KVClient is the client API for KV service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewKVClient

func NewKVClient(cc grpc.ClientConnInterface) KVClient

type KVServer

type KVServer interface {
	// Version returns the service version number
	Version(context.Context, *emptypb.Empty) (*types.VersionReply, error)
	// Tx exposes read-only transactions for the key-value store
	Tx(KV_TxServer) error
	ReceiveStateChanges(*emptypb.Empty, KV_ReceiveStateChangesServer) error
	// contains filtered or unexported methods
}

KVServer is the server API for KV service. All implementations must embed UnimplementedKVServer for forward compatibility

type KV_ReceiveStateChangesClient

type KV_ReceiveStateChangesClient interface {
	Recv() (*StateChange, error)
	grpc.ClientStream
}

type KV_ReceiveStateChangesServer

type KV_ReceiveStateChangesServer interface {
	Send(*StateChange) error
	grpc.ServerStream
}

type KV_TxClient

type KV_TxClient interface {
	Send(*Cursor) error
	Recv() (*Pair, error)
	grpc.ClientStream
}

type KV_TxServer

type KV_TxServer interface {
	Send(*Pair) error
	Recv() (*Cursor, error)
	grpc.ServerStream
}

type NetVersionReply

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

func (*NetVersionReply) Descriptor deprecated

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

Deprecated: Use NetVersionReply.ProtoReflect.Descriptor instead.

func (*NetVersionReply) GetId

func (x *NetVersionReply) GetId() uint64

func (*NetVersionReply) ProtoMessage

func (*NetVersionReply) ProtoMessage()

func (*NetVersionReply) ProtoReflect

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

func (*NetVersionReply) Reset

func (x *NetVersionReply) Reset()

func (*NetVersionReply) String

func (x *NetVersionReply) String() string

type NetVersionRequest

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

func (*NetVersionRequest) Descriptor deprecated

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

Deprecated: Use NetVersionRequest.ProtoReflect.Descriptor instead.

func (*NetVersionRequest) ProtoMessage

func (*NetVersionRequest) ProtoMessage()

func (*NetVersionRequest) ProtoReflect

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

func (*NetVersionRequest) Reset

func (x *NetVersionRequest) Reset()

func (*NetVersionRequest) String

func (x *NetVersionRequest) String() string

type Op

type Op int32
const (
	Op_FIRST           Op = 0
	Op_FIRST_DUP       Op = 1
	Op_SEEK            Op = 2
	Op_SEEK_BOTH       Op = 3
	Op_CURRENT         Op = 4
	Op_LAST            Op = 6
	Op_LAST_DUP        Op = 7
	Op_NEXT            Op = 8
	Op_NEXT_DUP        Op = 9
	Op_NEXT_NO_DUP     Op = 11
	Op_PREV            Op = 12
	Op_PREV_DUP        Op = 13
	Op_PREV_NO_DUP     Op = 14
	Op_SEEK_EXACT      Op = 15
	Op_SEEK_BOTH_EXACT Op = 16
	Op_OPEN            Op = 30
	Op_CLOSE           Op = 31
)

func (Op) Descriptor

func (Op) Descriptor() protoreflect.EnumDescriptor

func (Op) Enum

func (x Op) Enum() *Op

func (Op) EnumDescriptor deprecated

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

Deprecated: Use Op.Descriptor instead.

func (Op) Number

func (x Op) Number() protoreflect.EnumNumber

func (Op) String

func (x Op) String() string

func (Op) Type

func (Op) Type() protoreflect.EnumType

type Pair

type Pair struct {
	K        []byte `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"`
	V        []byte `protobuf:"bytes,2,opt,name=v,proto3" json:"v,omitempty"`
	CursorID uint32 `protobuf:"varint,3,opt,name=cursorID,proto3" json:"cursorID,omitempty"`
	// contains filtered or unexported fields
}

func (*Pair) Descriptor deprecated

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

Deprecated: Use Pair.ProtoReflect.Descriptor instead.

func (*Pair) GetCursorID

func (x *Pair) GetCursorID() uint32

func (*Pair) GetK

func (x *Pair) GetK() []byte

func (*Pair) GetV

func (x *Pair) GetV() []byte

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) ProtoReflect

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

func (*Pair) Reset

func (x *Pair) Reset()

func (*Pair) String

func (x *Pair) String() string

type ProtocolVersionReply

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

func (*ProtocolVersionReply) Descriptor deprecated

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

Deprecated: Use ProtocolVersionReply.ProtoReflect.Descriptor instead.

func (*ProtocolVersionReply) GetId

func (x *ProtocolVersionReply) GetId() uint64

func (*ProtocolVersionReply) ProtoMessage

func (*ProtocolVersionReply) ProtoMessage()

func (*ProtocolVersionReply) ProtoReflect

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

func (*ProtocolVersionReply) Reset

func (x *ProtocolVersionReply) Reset()

func (*ProtocolVersionReply) String

func (x *ProtocolVersionReply) String() string

type ProtocolVersionRequest

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

func (*ProtocolVersionRequest) Descriptor deprecated

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

Deprecated: Use ProtocolVersionRequest.ProtoReflect.Descriptor instead.

func (*ProtocolVersionRequest) ProtoMessage

func (*ProtocolVersionRequest) ProtoMessage()

func (*ProtocolVersionRequest) ProtoReflect

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

func (*ProtocolVersionRequest) Reset

func (x *ProtocolVersionRequest) Reset()

func (*ProtocolVersionRequest) String

func (x *ProtocolVersionRequest) String() string

type StateChange

type StateChange struct {
	Direction   Direction        `protobuf:"varint,1,opt,name=direction,proto3,enum=remote.Direction" json:"direction,omitempty"`
	BlockHeight uint64           `protobuf:"varint,2,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	BlockHash   *types.H256      `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Changes     []*AccountChange `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*StateChange) Descriptor deprecated

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

Deprecated: Use StateChange.ProtoReflect.Descriptor instead.

func (*StateChange) GetBlockHash

func (x *StateChange) GetBlockHash() *types.H256

func (*StateChange) GetBlockHeight

func (x *StateChange) GetBlockHeight() uint64

func (*StateChange) GetChanges

func (x *StateChange) GetChanges() []*AccountChange

func (*StateChange) GetDirection

func (x *StateChange) GetDirection() Direction

func (*StateChange) ProtoMessage

func (*StateChange) ProtoMessage()

func (*StateChange) ProtoReflect

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

func (*StateChange) Reset

func (x *StateChange) Reset()

func (*StateChange) String

func (x *StateChange) String() string

type StorageChange

type StorageChange struct {
	Location *types.H256 `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	Data     []byte      `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageChange) Descriptor deprecated

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

Deprecated: Use StorageChange.ProtoReflect.Descriptor instead.

func (*StorageChange) GetData

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

func (*StorageChange) GetLocation

func (x *StorageChange) GetLocation() *types.H256

func (*StorageChange) ProtoMessage

func (*StorageChange) ProtoMessage()

func (*StorageChange) ProtoReflect

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

func (*StorageChange) Reset

func (x *StorageChange) Reset()

func (*StorageChange) String

func (x *StorageChange) String() string

type SubscribeReply

type SubscribeReply struct {
	Type Event  `protobuf:"varint,1,opt,name=type,proto3,enum=remote.Event" json:"type,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` //  serialized data
	// contains filtered or unexported fields
}

func (*SubscribeReply) Descriptor deprecated

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

Deprecated: Use SubscribeReply.ProtoReflect.Descriptor instead.

func (*SubscribeReply) GetData

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

func (*SubscribeReply) GetType

func (x *SubscribeReply) GetType() Event

func (*SubscribeReply) ProtoMessage

func (*SubscribeReply) ProtoMessage()

func (*SubscribeReply) ProtoReflect

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

func (*SubscribeReply) Reset

func (x *SubscribeReply) Reset()

func (*SubscribeReply) String

func (x *SubscribeReply) String() string

type SubscribeRequest

type SubscribeRequest struct {
	Type Event `protobuf:"varint,1,opt,name=type,proto3,enum=remote.Event" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeRequest) Descriptor deprecated

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

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) GetType

func (x *SubscribeRequest) GetType() Event

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 UnimplementedETHBACKENDServer

type UnimplementedETHBACKENDServer struct {
}

UnimplementedETHBACKENDServer must be embedded to have forward compatible implementations.

func (UnimplementedETHBACKENDServer) ClientVersion

func (UnimplementedETHBACKENDServer) Etherbase

func (UnimplementedETHBACKENDServer) NetVersion

func (UnimplementedETHBACKENDServer) ProtocolVersion

func (UnimplementedETHBACKENDServer) Subscribe

func (UnimplementedETHBACKENDServer) Version

type UnimplementedKVServer

type UnimplementedKVServer struct {
}

UnimplementedKVServer must be embedded to have forward compatible implementations.

func (UnimplementedKVServer) ReceiveStateChanges

func (UnimplementedKVServer) Tx

func (UnimplementedKVServer) Version

type UnsafeETHBACKENDServer

type UnsafeETHBACKENDServer interface {
	// contains filtered or unexported methods
}

UnsafeETHBACKENDServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ETHBACKENDServer will result in compilation errors.

type UnsafeKVServer

type UnsafeKVServer interface {
	// contains filtered or unexported methods
}

UnsafeKVServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KVServer will result in compilation errors.

Jump to

Keyboard shortcuts

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