Documentation ¶
Overview ¶
Package txpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterTxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TxServiceClient) error
- func RegisterTxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TxServiceServer) error
- func RegisterTxServiceServer(s grpc.ServiceRegistrar, srv TxServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetBalance() string
- func (x *Account) GetIdentifier() []byte
- func (x *Account) GetNonce() int64
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountStatus
- func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AccountStatus) Enum() *AccountStatus
- func (AccountStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountStatus) Number() protoreflect.EnumNumber
- func (x AccountStatus) String() string
- func (AccountStatus) Type() protoreflect.EnumType
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetAnnotations() []string
- func (x *Action) GetAuxiliaries() []string
- func (x *Action) GetInputs() []string
- func (x *Action) GetMutability() string
- func (x *Action) GetName() string
- func (x *Action) GetPublic() bool
- func (x *Action) GetStatements() []string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type Attribute
- type BroadcastErrorDetails
- func (*BroadcastErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastErrorDetails) GetCode() uint32
- func (x *BroadcastErrorDetails) GetHash() string
- func (x *BroadcastErrorDetails) GetMessage() string
- func (*BroadcastErrorDetails) ProtoMessage()
- func (x *BroadcastErrorDetails) ProtoReflect() protoreflect.Message
- func (x *BroadcastErrorDetails) Reset()
- func (x *BroadcastErrorDetails) String() string
- type BroadcastRequest
- func (*BroadcastRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastRequest) GetSync() BroadcastSync
- func (x *BroadcastRequest) GetTx() *Transaction
- func (*BroadcastRequest) ProtoMessage()
- func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastRequest) Reset()
- func (x *BroadcastRequest) String() string
- type BroadcastResponse
- type BroadcastSync
- func (BroadcastSync) Descriptor() protoreflect.EnumDescriptor
- func (x BroadcastSync) Enum() *BroadcastSync
- func (BroadcastSync) EnumDescriptor() ([]byte, []int)deprecated
- func (x BroadcastSync) Number() protoreflect.EnumNumber
- func (x BroadcastSync) String() string
- func (BroadcastSync) Type() protoreflect.EnumType
- type CallRequest
- func (*CallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallRequest) GetAuthType() string
- func (x *CallRequest) GetBody() *CallRequest_Body
- func (x *CallRequest) GetSender() []byte
- func (*CallRequest) ProtoMessage()
- func (x *CallRequest) ProtoReflect() protoreflect.Message
- func (x *CallRequest) Reset()
- func (x *CallRequest) String() string
- type CallRequest_Body
- type CallResponse
- type ChainInfoRequest
- type ChainInfoResponse
- func (*ChainInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChainInfoResponse) GetChainId() string
- func (x *ChainInfoResponse) GetHash() string
- func (x *ChainInfoResponse) GetHeight() uint64
- func (*ChainInfoResponse) ProtoMessage()
- func (x *ChainInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ChainInfoResponse) Reset()
- func (x *ChainInfoResponse) String() string
- type Column
- func (*Column) Descriptor() ([]byte, []int)deprecated
- func (x *Column) GetAttributes() []*Attribute
- func (x *Column) GetName() string
- func (x *Column) GetType() string
- func (*Column) ProtoMessage()
- func (x *Column) ProtoReflect() protoreflect.Message
- func (x *Column) Reset()
- func (x *Column) String() string
- type CurrentValidatorsRequest
- type CurrentValidatorsResponse
- func (*CurrentValidatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentValidatorsResponse) GetValidators() []*Validator
- func (*CurrentValidatorsResponse) ProtoMessage()
- func (x *CurrentValidatorsResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentValidatorsResponse) Reset()
- func (x *CurrentValidatorsResponse) String() string
- type DatasetInfo
- func (*DatasetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetInfo) GetDbid() string
- func (x *DatasetInfo) GetName() string
- func (x *DatasetInfo) GetOwner() []byte
- func (*DatasetInfo) ProtoMessage()
- func (x *DatasetInfo) ProtoReflect() protoreflect.Message
- func (x *DatasetInfo) Reset()
- func (x *DatasetInfo) String() string
- type EstimatePriceRequest
- func (*EstimatePriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimatePriceRequest) GetTx() *Transaction
- func (*EstimatePriceRequest) ProtoMessage()
- func (x *EstimatePriceRequest) ProtoReflect() protoreflect.Message
- func (x *EstimatePriceRequest) Reset()
- func (x *EstimatePriceRequest) String() string
- type EstimatePriceResponse
- func (*EstimatePriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimatePriceResponse) GetPrice() string
- func (*EstimatePriceResponse) ProtoMessage()
- func (x *EstimatePriceResponse) ProtoReflect() protoreflect.Message
- func (x *EstimatePriceResponse) Reset()
- func (x *EstimatePriceResponse) String() string
- type Extensions
- func (*Extensions) Descriptor() ([]byte, []int)deprecated
- func (x *Extensions) GetAlias() string
- func (x *Extensions) GetInitialization() []*Extensions_ExtensionConfig
- func (x *Extensions) GetName() string
- func (*Extensions) ProtoMessage()
- func (x *Extensions) ProtoReflect() protoreflect.Message
- func (x *Extensions) Reset()
- func (x *Extensions) String() string
- type Extensions_ExtensionConfig
- func (*Extensions_ExtensionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Extensions_ExtensionConfig) GetArgument() string
- func (x *Extensions_ExtensionConfig) GetValue() string
- func (*Extensions_ExtensionConfig) ProtoMessage()
- func (x *Extensions_ExtensionConfig) ProtoReflect() protoreflect.Message
- func (x *Extensions_ExtensionConfig) Reset()
- func (x *Extensions_ExtensionConfig) String() string
- type ForeignKey
- func (*ForeignKey) Descriptor() ([]byte, []int)deprecated
- func (x *ForeignKey) GetActions() []*ForeignKeyAction
- func (x *ForeignKey) GetChildKeys() []string
- func (x *ForeignKey) GetParentKeys() []string
- func (x *ForeignKey) GetParentTable() string
- func (*ForeignKey) ProtoMessage()
- func (x *ForeignKey) ProtoReflect() protoreflect.Message
- func (x *ForeignKey) Reset()
- func (x *ForeignKey) String() string
- type ForeignKeyAction
- func (*ForeignKeyAction) Descriptor() ([]byte, []int)deprecated
- func (x *ForeignKeyAction) GetDo() string
- func (x *ForeignKeyAction) GetOn() string
- func (*ForeignKeyAction) ProtoMessage()
- func (x *ForeignKeyAction) ProtoReflect() protoreflect.Message
- func (x *ForeignKeyAction) Reset()
- func (x *ForeignKeyAction) String() string
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRequest) GetIdentifier() []byte
- func (x *GetAccountRequest) GetStatus() AccountStatus
- func (*GetAccountRequest) ProtoMessage()
- func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountRequest) Reset()
- func (x *GetAccountRequest) String() string
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountResponse) GetAccount() *Account
- func (*GetAccountResponse) ProtoMessage()
- func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountResponse) Reset()
- func (x *GetAccountResponse) String() string
- type GetConfigRequest
- type GetConfigResponse
- func (*GetConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigResponse) GetChainCode() int64
- func (x *GetConfigResponse) GetPoolAddress() string
- func (x *GetConfigResponse) GetProviderAddress() string
- func (*GetConfigResponse) ProtoMessage()
- func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigResponse) Reset()
- func (x *GetConfigResponse) String() string
- type GetSchemaRequest
- type GetSchemaResponse
- type Index
- type ListDatabasesRequest
- func (*ListDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesRequest) GetOwner() []byte
- func (*ListDatabasesRequest) ProtoMessage()
- func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesRequest) Reset()
- func (x *ListDatabasesRequest) String() string
- type ListDatabasesResponse
- func (*ListDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesResponse) GetDatabases() []*DatasetInfo
- func (*ListDatabasesResponse) ProtoMessage()
- func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesResponse) Reset()
- func (x *ListDatabasesResponse) String() string
- type NodeInfoRequest
- type NodeInfoResponse
- func (*NodeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoResponse) GetNodeId() string
- func (x *NodeInfoResponse) GetP2PAddress() string
- func (x *NodeInfoResponse) GetPublicKey() []byte
- func (*NodeInfoResponse) ProtoMessage()
- func (x *NodeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *NodeInfoResponse) Reset()
- func (x *NodeInfoResponse) String() string
- type PingRequest
- type PingResponse
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetDbid() string
- func (x *QueryRequest) GetQuery() string
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- type RequestStatus
- func (RequestStatus) Descriptor() protoreflect.EnumDescriptor
- func (x RequestStatus) Enum() *RequestStatus
- func (RequestStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestStatus) Number() protoreflect.EnumNumber
- func (x RequestStatus) String() string
- func (RequestStatus) Type() protoreflect.EnumType
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetActions() []*Action
- func (x *Schema) GetExtensions() []*Extensions
- func (x *Schema) GetName() string
- func (x *Schema) GetOwner() []byte
- func (x *Schema) GetTables() []*Table
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetSignatureBytes() []byte
- func (x *Signature) GetSignatureType() string
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type Table
- func (*Table) Descriptor() ([]byte, []int)deprecated
- func (x *Table) GetColumns() []*Column
- func (x *Table) GetForeignKeys() []*ForeignKey
- func (x *Table) GetIndexes() []*Index
- func (x *Table) GetName() string
- func (*Table) ProtoMessage()
- func (x *Table) ProtoReflect() protoreflect.Message
- func (x *Table) Reset()
- func (x *Table) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetBody() *Transaction_Body
- func (x *Transaction) GetSender() []byte
- func (x *Transaction) GetSerialization() string
- func (x *Transaction) GetSignature() *Signature
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionResult
- func (*TransactionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionResult) GetCode() uint32
- func (x *TransactionResult) GetData() []byte
- func (x *TransactionResult) GetEvents() [][]byte
- func (x *TransactionResult) GetGasUsed() int64
- func (x *TransactionResult) GetGasWanted() int64
- func (x *TransactionResult) GetLog() string
- func (*TransactionResult) ProtoMessage()
- func (x *TransactionResult) ProtoReflect() protoreflect.Message
- func (x *TransactionResult) Reset()
- func (x *TransactionResult) String() string
- type TransactionStatus
- func (*TransactionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionStatus) GetErrors() []string
- func (x *TransactionStatus) GetFee() string
- func (x *TransactionStatus) GetId() []byte
- func (x *TransactionStatus) GetStatus() string
- func (*TransactionStatus) ProtoMessage()
- func (x *TransactionStatus) ProtoReflect() protoreflect.Message
- func (x *TransactionStatus) Reset()
- func (x *TransactionStatus) String() string
- type Transaction_Body
- func (*Transaction_Body) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Body) GetChainId() string
- func (x *Transaction_Body) GetDescription() string
- func (x *Transaction_Body) GetFee() string
- func (x *Transaction_Body) GetNonce() uint64
- func (x *Transaction_Body) GetPayload() []byte
- func (x *Transaction_Body) GetPayloadType() string
- func (*Transaction_Body) ProtoMessage()
- func (x *Transaction_Body) ProtoReflect() protoreflect.Message
- func (x *Transaction_Body) Reset()
- func (x *Transaction_Body) String() string
- type TxQueryRequest
- type TxQueryResponse
- func (*TxQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TxQueryResponse) GetHash() []byte
- func (x *TxQueryResponse) GetHeight() int64
- func (x *TxQueryResponse) GetTx() *Transaction
- func (x *TxQueryResponse) GetTxResult() *TransactionResult
- func (*TxQueryResponse) ProtoMessage()
- func (x *TxQueryResponse) ProtoReflect() protoreflect.Message
- func (x *TxQueryResponse) Reset()
- func (x *TxQueryResponse) String() string
- type TxServiceClient
- type TxServiceServer
- type UnimplementedTxServiceServer
- func (UnimplementedTxServiceServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
- func (UnimplementedTxServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error)
- func (UnimplementedTxServiceServer) ChainInfo(context.Context, *ChainInfoRequest) (*ChainInfoResponse, error)
- func (UnimplementedTxServiceServer) EstimatePrice(context.Context, *EstimatePriceRequest) (*EstimatePriceResponse, error)
- func (UnimplementedTxServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
- func (UnimplementedTxServiceServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
- func (UnimplementedTxServiceServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
- func (UnimplementedTxServiceServer) ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
- func (UnimplementedTxServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedTxServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (UnimplementedTxServiceServer) TxQuery(context.Context, *TxQueryRequest) (*TxQueryResponse, error)
- type UnsafeTxServiceServer
- type Validator
- type ValidatorApprovalRequest
- func (*ValidatorApprovalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorApprovalRequest) GetPubKey() []byte
- func (*ValidatorApprovalRequest) ProtoMessage()
- func (x *ValidatorApprovalRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorApprovalRequest) Reset()
- func (x *ValidatorApprovalRequest) String() string
- type ValidatorApprovalResponse
- func (*ValidatorApprovalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorApprovalResponse) GetLog() string
- func (x *ValidatorApprovalResponse) GetStatus() RequestStatus
- func (*ValidatorApprovalResponse) ProtoMessage()
- func (x *ValidatorApprovalResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorApprovalResponse) Reset()
- func (x *ValidatorApprovalResponse) String() string
- type ValidatorJoinRequest
- func (*ValidatorJoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorJoinRequest) GetTx() *Transaction
- func (*ValidatorJoinRequest) ProtoMessage()
- func (x *ValidatorJoinRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorJoinRequest) Reset()
- func (x *ValidatorJoinRequest) String() string
- type ValidatorJoinResponse
- func (*ValidatorJoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorJoinResponse) GetReceipt() *TransactionStatus
- func (*ValidatorJoinResponse) ProtoMessage()
- func (x *ValidatorJoinResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorJoinResponse) Reset()
- func (x *ValidatorJoinResponse) String() string
- type ValidatorJoinStatusRequest
- func (*ValidatorJoinStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorJoinStatusRequest) GetPubkey() []byte
- func (*ValidatorJoinStatusRequest) ProtoMessage()
- func (x *ValidatorJoinStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorJoinStatusRequest) Reset()
- func (x *ValidatorJoinStatusRequest) String() string
- type ValidatorJoinStatusResponse
- func (*ValidatorJoinStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorJoinStatusResponse) GetApprovedValidators() [][]byte
- func (x *ValidatorJoinStatusResponse) GetPendingValidators() [][]byte
- func (x *ValidatorJoinStatusResponse) GetPower() int64
- func (*ValidatorJoinStatusResponse) ProtoMessage()
- func (x *ValidatorJoinStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorJoinStatusResponse) Reset()
- func (x *ValidatorJoinStatusResponse) String() string
- type ValidatorLeaveRequest
- func (*ValidatorLeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorLeaveRequest) GetTx() *Transaction
- func (*ValidatorLeaveRequest) ProtoMessage()
- func (x *ValidatorLeaveRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorLeaveRequest) Reset()
- func (x *ValidatorLeaveRequest) String() string
- type ValidatorLeaveResponse
- func (*ValidatorLeaveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorLeaveResponse) GetReceipt() *TransactionStatus
- func (*ValidatorLeaveResponse) ProtoMessage()
- func (x *ValidatorLeaveResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorLeaveResponse) Reset()
- func (x *ValidatorLeaveResponse) String() string
Constants ¶
const ( TxService_ChainInfo_FullMethodName = "/tx.TxService/ChainInfo" TxService_Broadcast_FullMethodName = "/tx.TxService/Broadcast" TxService_EstimatePrice_FullMethodName = "/tx.TxService/EstimatePrice" TxService_Query_FullMethodName = "/tx.TxService/Query" TxService_GetAccount_FullMethodName = "/tx.TxService/GetAccount" TxService_Ping_FullMethodName = "/tx.TxService/Ping" TxService_GetConfig_FullMethodName = "/tx.TxService/GetConfig" TxService_ListDatabases_FullMethodName = "/tx.TxService/ListDatabases" TxService_GetSchema_FullMethodName = "/tx.TxService/GetSchema" TxService_Call_FullMethodName = "/tx.TxService/Call" TxService_TxQuery_FullMethodName = "/tx.TxService/TxQuery" )
Variables ¶
var ( AccountStatus_name = map[int32]string{ 0: "latest", 1: "pending", } AccountStatus_value = map[string]int32{ "latest": 0, "pending": 1, } )
Enum value maps for AccountStatus.
var ( BroadcastSync_name = map[int32]string{ 0: "async", 1: "sync", 2: "commit", } BroadcastSync_value = map[string]int32{ "async": 0, "sync": 1, "commit": 2, } )
Enum value maps for BroadcastSync.
var ( RequestStatus_name = map[int32]string{ 0: "OK", 1: "ERROR", } RequestStatus_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for RequestStatus.
var File_kwil_tx_v1_account_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_broadcast_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_call_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_chain_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_config_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_dataset_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_info_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_list_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_ping_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_price_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_query_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_service_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_signature_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_tx_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_tx_query_proto protoreflect.FileDescriptor
var File_kwil_tx_v1_validator_proto protoreflect.FileDescriptor
var TxService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tx.TxService", HandlerType: (*TxServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ChainInfo", Handler: _TxService_ChainInfo_Handler, }, { MethodName: "Broadcast", Handler: _TxService_Broadcast_Handler, }, { MethodName: "EstimatePrice", Handler: _TxService_EstimatePrice_Handler, }, { MethodName: "Query", Handler: _TxService_Query_Handler, }, { MethodName: "GetAccount", Handler: _TxService_GetAccount_Handler, }, { MethodName: "Ping", Handler: _TxService_Ping_Handler, }, { MethodName: "GetConfig", Handler: _TxService_GetConfig_Handler, }, { MethodName: "ListDatabases", Handler: _TxService_ListDatabases_Handler, }, { MethodName: "GetSchema", Handler: _TxService_GetSchema_Handler, }, { MethodName: "Call", Handler: _TxService_Call_Handler, }, { MethodName: "TxQuery", Handler: _TxService_TxQuery_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kwil/tx/v1/service.proto", }
TxService_ServiceDesc is the grpc.ServiceDesc for TxService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTxServiceHandler ¶
func RegisterTxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTxServiceHandler registers the http handlers for service TxService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTxServiceHandlerClient ¶
func RegisterTxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TxServiceClient) error
RegisterTxServiceHandlerClient registers the http handlers for service TxService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TxServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TxServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TxServiceClient" to call the correct interceptors.
func RegisterTxServiceHandlerFromEndpoint ¶
func RegisterTxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTxServiceHandlerFromEndpoint is same as RegisterTxServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTxServiceHandlerServer ¶
func RegisterTxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TxServiceServer) error
RegisterTxServiceHandlerServer registers the http handlers for service TxService to "mux". UnaryRPC :call TxServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTxServiceHandlerFromEndpoint instead.
func RegisterTxServiceServer ¶
func RegisterTxServiceServer(s grpc.ServiceRegistrar, srv TxServiceServer)
Types ¶
type Account ¶
type Account struct { Identifier []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` Nonce int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetBalance ¶
func (*Account) GetIdentifier ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountStatus ¶
type AccountStatus int32
const ( AccountStatus_latest AccountStatus = 0 AccountStatus_pending AccountStatus = 1 )
func (AccountStatus) Descriptor ¶
func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
func (AccountStatus) Enum ¶
func (x AccountStatus) Enum() *AccountStatus
func (AccountStatus) EnumDescriptor
deprecated
func (AccountStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountStatus.Descriptor instead.
func (AccountStatus) Number ¶
func (x AccountStatus) Number() protoreflect.EnumNumber
func (AccountStatus) String ¶
func (x AccountStatus) String() string
func (AccountStatus) Type ¶
func (AccountStatus) Type() protoreflect.EnumType
type Action ¶
type Action struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Public bool `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"` Inputs []string `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` Statements []string `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"` Mutability string `protobuf:"bytes,5,opt,name=mutability,proto3" json:"mutability,omitempty"` Auxiliaries []string `protobuf:"bytes,6,rep,name=auxiliaries,proto3" json:"auxiliaries,omitempty"` Annotations []string `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetAnnotations ¶
func (*Action) GetAuxiliaries ¶
func (*Action) GetMutability ¶
func (*Action) GetStatements ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type Attribute ¶
type Attribute struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type BroadcastErrorDetails ¶
type BroadcastErrorDetails struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // may be empty if it could not even deserialize our tx Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*BroadcastErrorDetails) Descriptor
deprecated
func (*BroadcastErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastErrorDetails.ProtoReflect.Descriptor instead.
func (*BroadcastErrorDetails) GetCode ¶
func (x *BroadcastErrorDetails) GetCode() uint32
func (*BroadcastErrorDetails) GetHash ¶
func (x *BroadcastErrorDetails) GetHash() string
func (*BroadcastErrorDetails) GetMessage ¶
func (x *BroadcastErrorDetails) GetMessage() string
func (*BroadcastErrorDetails) ProtoMessage ¶
func (*BroadcastErrorDetails) ProtoMessage()
func (*BroadcastErrorDetails) ProtoReflect ¶
func (x *BroadcastErrorDetails) ProtoReflect() protoreflect.Message
func (*BroadcastErrorDetails) Reset ¶
func (x *BroadcastErrorDetails) Reset()
func (*BroadcastErrorDetails) String ¶
func (x *BroadcastErrorDetails) String() string
type BroadcastRequest ¶
type BroadcastRequest struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Sync *BroadcastSync `protobuf:"varint,2,opt,name=sync,proto3,enum=tx.BroadcastSync,oneof" json:"sync,omitempty"` // contains filtered or unexported fields }
func (*BroadcastRequest) Descriptor
deprecated
func (*BroadcastRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.
func (*BroadcastRequest) GetSync ¶
func (x *BroadcastRequest) GetSync() BroadcastSync
func (*BroadcastRequest) GetTx ¶
func (x *BroadcastRequest) GetTx() *Transaction
func (*BroadcastRequest) ProtoMessage ¶
func (*BroadcastRequest) ProtoMessage()
func (*BroadcastRequest) ProtoReflect ¶
func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
func (*BroadcastRequest) Reset ¶
func (x *BroadcastRequest) Reset()
func (*BroadcastRequest) String ¶
func (x *BroadcastRequest) String() string
type BroadcastResponse ¶
type BroadcastResponse struct { TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*BroadcastResponse) Descriptor
deprecated
func (*BroadcastResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead.
func (*BroadcastResponse) GetTxHash ¶
func (x *BroadcastResponse) GetTxHash() []byte
func (*BroadcastResponse) ProtoMessage ¶
func (*BroadcastResponse) ProtoMessage()
func (*BroadcastResponse) ProtoReflect ¶
func (x *BroadcastResponse) ProtoReflect() protoreflect.Message
func (*BroadcastResponse) Reset ¶
func (x *BroadcastResponse) Reset()
func (*BroadcastResponse) String ¶
func (x *BroadcastResponse) String() string
type BroadcastSync ¶
type BroadcastSync int32
const ( BroadcastSync_async BroadcastSync = 0 // do not wait for acceptance into mempool BroadcastSync_sync BroadcastSync = 1 // ensure it is accepted to mempool before returning BroadcastSync_commit BroadcastSync = 2 // wait for the transaction to be included in a block )
func (BroadcastSync) Descriptor ¶
func (BroadcastSync) Descriptor() protoreflect.EnumDescriptor
func (BroadcastSync) Enum ¶
func (x BroadcastSync) Enum() *BroadcastSync
func (BroadcastSync) EnumDescriptor
deprecated
func (BroadcastSync) EnumDescriptor() ([]byte, []int)
Deprecated: Use BroadcastSync.Descriptor instead.
func (BroadcastSync) Number ¶
func (x BroadcastSync) Number() protoreflect.EnumNumber
func (BroadcastSync) String ¶
func (x BroadcastSync) String() string
func (BroadcastSync) Type ¶
func (BroadcastSync) Type() protoreflect.EnumType
type CallRequest ¶
type CallRequest struct { Body *CallRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // auth_type is the type of authenticator that will be used to derive // identifier from the sender. AuthType string `protobuf:"bytes,2,opt,name=auth_type,proto3" json:"auth_type,omitempty"` Sender []byte `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // contains filtered or unexported fields }
func (*CallRequest) Descriptor
deprecated
func (*CallRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.
func (*CallRequest) GetAuthType ¶
func (x *CallRequest) GetAuthType() string
func (*CallRequest) GetBody ¶
func (x *CallRequest) GetBody() *CallRequest_Body
func (*CallRequest) GetSender ¶
func (x *CallRequest) GetSender() []byte
func (*CallRequest) ProtoMessage ¶
func (*CallRequest) ProtoMessage()
func (*CallRequest) ProtoReflect ¶
func (x *CallRequest) ProtoReflect() protoreflect.Message
func (*CallRequest) Reset ¶
func (x *CallRequest) Reset()
func (*CallRequest) String ¶
func (x *CallRequest) String() string
type CallRequest_Body ¶
type CallRequest_Body struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*CallRequest_Body) Descriptor
deprecated
func (*CallRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use CallRequest_Body.ProtoReflect.Descriptor instead.
func (*CallRequest_Body) GetPayload ¶
func (x *CallRequest_Body) GetPayload() []byte
func (*CallRequest_Body) ProtoMessage ¶
func (*CallRequest_Body) ProtoMessage()
func (*CallRequest_Body) ProtoReflect ¶
func (x *CallRequest_Body) ProtoReflect() protoreflect.Message
func (*CallRequest_Body) Reset ¶
func (x *CallRequest_Body) Reset()
func (*CallRequest_Body) String ¶
func (x *CallRequest_Body) String() string
type CallResponse ¶
type CallResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CallResponse) Descriptor
deprecated
func (*CallResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.
func (*CallResponse) GetResult ¶
func (x *CallResponse) GetResult() []byte
func (*CallResponse) ProtoMessage ¶
func (*CallResponse) ProtoMessage()
func (*CallResponse) ProtoReflect ¶
func (x *CallResponse) ProtoReflect() protoreflect.Message
func (*CallResponse) Reset ¶
func (x *CallResponse) Reset()
func (*CallResponse) String ¶
func (x *CallResponse) String() string
type ChainInfoRequest ¶
type ChainInfoRequest struct {
// contains filtered or unexported fields
}
func (*ChainInfoRequest) Descriptor
deprecated
func (*ChainInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChainInfoRequest.ProtoReflect.Descriptor instead.
func (*ChainInfoRequest) ProtoMessage ¶
func (*ChainInfoRequest) ProtoMessage()
func (*ChainInfoRequest) ProtoReflect ¶
func (x *ChainInfoRequest) ProtoReflect() protoreflect.Message
func (*ChainInfoRequest) Reset ¶
func (x *ChainInfoRequest) Reset()
func (*ChainInfoRequest) String ¶
func (x *ChainInfoRequest) String() string
type ChainInfoResponse ¶
type ChainInfoResponse struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,proto3" json:"chain_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*ChainInfoResponse) Descriptor
deprecated
func (*ChainInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChainInfoResponse.ProtoReflect.Descriptor instead.
func (*ChainInfoResponse) GetChainId ¶
func (x *ChainInfoResponse) GetChainId() string
func (*ChainInfoResponse) GetHash ¶
func (x *ChainInfoResponse) GetHash() string
func (*ChainInfoResponse) GetHeight ¶
func (x *ChainInfoResponse) GetHeight() uint64
func (*ChainInfoResponse) ProtoMessage ¶
func (*ChainInfoResponse) ProtoMessage()
func (*ChainInfoResponse) ProtoReflect ¶
func (x *ChainInfoResponse) ProtoReflect() protoreflect.Message
func (*ChainInfoResponse) Reset ¶
func (x *ChainInfoResponse) Reset()
func (*ChainInfoResponse) String ¶
func (x *ChainInfoResponse) String() string
type Column ¶
type Column struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Attributes []*Attribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Column) Descriptor
deprecated
func (*Column) GetAttributes ¶
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
type CurrentValidatorsRequest ¶
type CurrentValidatorsRequest struct {
// contains filtered or unexported fields
}
func (*CurrentValidatorsRequest) Descriptor
deprecated
func (*CurrentValidatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrentValidatorsRequest.ProtoReflect.Descriptor instead.
func (*CurrentValidatorsRequest) ProtoMessage ¶
func (*CurrentValidatorsRequest) ProtoMessage()
func (*CurrentValidatorsRequest) ProtoReflect ¶
func (x *CurrentValidatorsRequest) ProtoReflect() protoreflect.Message
func (*CurrentValidatorsRequest) Reset ¶
func (x *CurrentValidatorsRequest) Reset()
func (*CurrentValidatorsRequest) String ¶
func (x *CurrentValidatorsRequest) String() string
type CurrentValidatorsResponse ¶
type CurrentValidatorsResponse struct { Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // contains filtered or unexported fields }
func (*CurrentValidatorsResponse) Descriptor
deprecated
func (*CurrentValidatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentValidatorsResponse.ProtoReflect.Descriptor instead.
func (*CurrentValidatorsResponse) GetValidators ¶
func (x *CurrentValidatorsResponse) GetValidators() []*Validator
func (*CurrentValidatorsResponse) ProtoMessage ¶
func (*CurrentValidatorsResponse) ProtoMessage()
func (*CurrentValidatorsResponse) ProtoReflect ¶
func (x *CurrentValidatorsResponse) ProtoReflect() protoreflect.Message
func (*CurrentValidatorsResponse) Reset ¶
func (x *CurrentValidatorsResponse) Reset()
func (*CurrentValidatorsResponse) String ¶
func (x *CurrentValidatorsResponse) String() string
type DatasetInfo ¶
type DatasetInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Owner []byte `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Dbid string `protobuf:"bytes,3,opt,name=dbid,proto3" json:"dbid,omitempty"` // contains filtered or unexported fields }
func (*DatasetInfo) Descriptor
deprecated
func (*DatasetInfo) Descriptor() ([]byte, []int)
Deprecated: Use DatasetInfo.ProtoReflect.Descriptor instead.
func (*DatasetInfo) GetDbid ¶
func (x *DatasetInfo) GetDbid() string
func (*DatasetInfo) GetName ¶
func (x *DatasetInfo) GetName() string
func (*DatasetInfo) GetOwner ¶
func (x *DatasetInfo) GetOwner() []byte
func (*DatasetInfo) ProtoMessage ¶
func (*DatasetInfo) ProtoMessage()
func (*DatasetInfo) ProtoReflect ¶
func (x *DatasetInfo) ProtoReflect() protoreflect.Message
func (*DatasetInfo) Reset ¶
func (x *DatasetInfo) Reset()
func (*DatasetInfo) String ¶
func (x *DatasetInfo) String() string
type EstimatePriceRequest ¶
type EstimatePriceRequest struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*EstimatePriceRequest) Descriptor
deprecated
func (*EstimatePriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimatePriceRequest.ProtoReflect.Descriptor instead.
func (*EstimatePriceRequest) GetTx ¶
func (x *EstimatePriceRequest) GetTx() *Transaction
func (*EstimatePriceRequest) ProtoMessage ¶
func (*EstimatePriceRequest) ProtoMessage()
func (*EstimatePriceRequest) ProtoReflect ¶
func (x *EstimatePriceRequest) ProtoReflect() protoreflect.Message
func (*EstimatePriceRequest) Reset ¶
func (x *EstimatePriceRequest) Reset()
func (*EstimatePriceRequest) String ¶
func (x *EstimatePriceRequest) String() string
type EstimatePriceResponse ¶
type EstimatePriceResponse struct { Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
func (*EstimatePriceResponse) Descriptor
deprecated
func (*EstimatePriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimatePriceResponse.ProtoReflect.Descriptor instead.
func (*EstimatePriceResponse) GetPrice ¶
func (x *EstimatePriceResponse) GetPrice() string
func (*EstimatePriceResponse) ProtoMessage ¶
func (*EstimatePriceResponse) ProtoMessage()
func (*EstimatePriceResponse) ProtoReflect ¶
func (x *EstimatePriceResponse) ProtoReflect() protoreflect.Message
func (*EstimatePriceResponse) Reset ¶
func (x *EstimatePriceResponse) Reset()
func (*EstimatePriceResponse) String ¶
func (x *EstimatePriceResponse) String() string
type Extensions ¶
type Extensions struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Initialization []*Extensions_ExtensionConfig `protobuf:"bytes,2,rep,name=initialization,proto3" json:"initialization,omitempty"` Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
func (*Extensions) Descriptor
deprecated
func (*Extensions) Descriptor() ([]byte, []int)
Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
func (*Extensions) GetAlias ¶
func (x *Extensions) GetAlias() string
func (*Extensions) GetInitialization ¶
func (x *Extensions) GetInitialization() []*Extensions_ExtensionConfig
func (*Extensions) GetName ¶
func (x *Extensions) GetName() string
func (*Extensions) ProtoMessage ¶
func (*Extensions) ProtoMessage()
func (*Extensions) ProtoReflect ¶
func (x *Extensions) ProtoReflect() protoreflect.Message
func (*Extensions) Reset ¶
func (x *Extensions) Reset()
func (*Extensions) String ¶
func (x *Extensions) String() string
type Extensions_ExtensionConfig ¶
type Extensions_ExtensionConfig struct { Argument string `protobuf:"bytes,1,opt,name=argument,proto3" json:"argument,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Extensions_ExtensionConfig) Descriptor
deprecated
func (*Extensions_ExtensionConfig) Descriptor() ([]byte, []int)
Deprecated: Use Extensions_ExtensionConfig.ProtoReflect.Descriptor instead.
func (*Extensions_ExtensionConfig) GetArgument ¶
func (x *Extensions_ExtensionConfig) GetArgument() string
func (*Extensions_ExtensionConfig) GetValue ¶
func (x *Extensions_ExtensionConfig) GetValue() string
func (*Extensions_ExtensionConfig) ProtoMessage ¶
func (*Extensions_ExtensionConfig) ProtoMessage()
func (*Extensions_ExtensionConfig) ProtoReflect ¶
func (x *Extensions_ExtensionConfig) ProtoReflect() protoreflect.Message
func (*Extensions_ExtensionConfig) Reset ¶
func (x *Extensions_ExtensionConfig) Reset()
func (*Extensions_ExtensionConfig) String ¶
func (x *Extensions_ExtensionConfig) String() string
type ForeignKey ¶
type ForeignKey struct { ChildKeys []string `protobuf:"bytes,1,rep,name=child_keys,proto3" json:"child_keys,omitempty"` ParentKeys []string `protobuf:"bytes,2,rep,name=parent_keys,proto3" json:"parent_keys,omitempty"` ParentTable string `protobuf:"bytes,3,opt,name=parent_table,proto3" json:"parent_table,omitempty"` Actions []*ForeignKeyAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*ForeignKey) Descriptor
deprecated
func (*ForeignKey) Descriptor() ([]byte, []int)
Deprecated: Use ForeignKey.ProtoReflect.Descriptor instead.
func (*ForeignKey) GetActions ¶
func (x *ForeignKey) GetActions() []*ForeignKeyAction
func (*ForeignKey) GetChildKeys ¶
func (x *ForeignKey) GetChildKeys() []string
func (*ForeignKey) GetParentKeys ¶
func (x *ForeignKey) GetParentKeys() []string
func (*ForeignKey) GetParentTable ¶
func (x *ForeignKey) GetParentTable() string
func (*ForeignKey) ProtoMessage ¶
func (*ForeignKey) ProtoMessage()
func (*ForeignKey) ProtoReflect ¶
func (x *ForeignKey) ProtoReflect() protoreflect.Message
func (*ForeignKey) Reset ¶
func (x *ForeignKey) Reset()
func (*ForeignKey) String ¶
func (x *ForeignKey) String() string
type ForeignKeyAction ¶
type ForeignKeyAction struct { On string `protobuf:"bytes,1,opt,name=on,proto3" json:"on,omitempty"` Do string `protobuf:"bytes,2,opt,name=do,proto3" json:"do,omitempty"` // contains filtered or unexported fields }
func (*ForeignKeyAction) Descriptor
deprecated
func (*ForeignKeyAction) Descriptor() ([]byte, []int)
Deprecated: Use ForeignKeyAction.ProtoReflect.Descriptor instead.
func (*ForeignKeyAction) GetDo ¶
func (x *ForeignKeyAction) GetDo() string
func (*ForeignKeyAction) GetOn ¶
func (x *ForeignKeyAction) GetOn() string
func (*ForeignKeyAction) ProtoMessage ¶
func (*ForeignKeyAction) ProtoMessage()
func (*ForeignKeyAction) ProtoReflect ¶
func (x *ForeignKeyAction) ProtoReflect() protoreflect.Message
func (*ForeignKeyAction) Reset ¶
func (x *ForeignKeyAction) Reset()
func (*ForeignKeyAction) String ¶
func (x *ForeignKeyAction) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { Identifier []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Status *AccountStatus `protobuf:"varint,2,opt,name=status,proto3,enum=tx.AccountStatus,oneof" json:"status,omitempty"` // Mapped to URL query parameter `status`. // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetIdentifier ¶
func (x *GetAccountRequest) GetIdentifier() []byte
func (*GetAccountRequest) GetStatus ¶
func (x *GetAccountRequest) GetStatus() AccountStatus
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetAccountResponse ¶
type GetAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetAccountResponse) Descriptor
deprecated
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetAccount ¶
func (x *GetAccountResponse) GetAccount() *Account
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (x *GetAccountResponse) String() string
type GetConfigRequest ¶
type GetConfigRequest struct {
// contains filtered or unexported fields
}
func (*GetConfigRequest) Descriptor
deprecated
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) ProtoMessage ¶
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect ¶
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset ¶
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶
func (x *GetConfigRequest) String() string
type GetConfigResponse ¶
type GetConfigResponse struct { ChainCode int64 `protobuf:"varint,1,opt,name=chain_code,proto3" json:"chain_code,omitempty"` ProviderAddress string `protobuf:"bytes,2,opt,name=provider_address,proto3" json:"provider_address,omitempty"` PoolAddress string `protobuf:"bytes,3,opt,name=pool_address,proto3" json:"pool_address,omitempty"` // contains filtered or unexported fields }
func (*GetConfigResponse) Descriptor
deprecated
func (*GetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) GetChainCode ¶
func (x *GetConfigResponse) GetChainCode() int64
func (*GetConfigResponse) GetPoolAddress ¶
func (x *GetConfigResponse) GetPoolAddress() string
func (*GetConfigResponse) GetProviderAddress ¶
func (x *GetConfigResponse) GetProviderAddress() string
func (*GetConfigResponse) ProtoMessage ¶
func (*GetConfigResponse) ProtoMessage()
func (*GetConfigResponse) ProtoReflect ¶
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
func (*GetConfigResponse) Reset ¶
func (x *GetConfigResponse) Reset()
func (*GetConfigResponse) String ¶
func (x *GetConfigResponse) String() string
type GetSchemaRequest ¶
type GetSchemaRequest struct { Dbid string `protobuf:"bytes,1,opt,name=dbid,proto3" json:"dbid,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaRequest) Descriptor
deprecated
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaRequest) GetDbid ¶
func (x *GetSchemaRequest) GetDbid() string
func (*GetSchemaRequest) ProtoMessage ¶
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) ProtoReflect ¶
func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetSchemaRequest) Reset ¶
func (x *GetSchemaRequest) Reset()
func (*GetSchemaRequest) String ¶
func (x *GetSchemaRequest) String() string
type GetSchemaResponse ¶
type GetSchemaResponse struct { Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaResponse) Descriptor
deprecated
func (*GetSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.
func (*GetSchemaResponse) GetSchema ¶
func (x *GetSchemaResponse) GetSchema() *Schema
func (*GetSchemaResponse) ProtoMessage ¶
func (*GetSchemaResponse) ProtoMessage()
func (*GetSchemaResponse) ProtoReflect ¶
func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
func (*GetSchemaResponse) Reset ¶
func (x *GetSchemaResponse) Reset()
func (*GetSchemaResponse) String ¶
func (x *GetSchemaResponse) String() string
type Index ¶
type Index struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Index) Descriptor
deprecated
func (*Index) GetColumns ¶
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) ProtoReflect ¶
func (x *Index) ProtoReflect() protoreflect.Message
type ListDatabasesRequest ¶
type ListDatabasesRequest struct { Owner []byte `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*ListDatabasesRequest) Descriptor
deprecated
func (*ListDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) GetOwner ¶
func (x *ListDatabasesRequest) GetOwner() []byte
func (*ListDatabasesRequest) ProtoMessage ¶
func (*ListDatabasesRequest) ProtoMessage()
func (*ListDatabasesRequest) ProtoReflect ¶
func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
func (*ListDatabasesRequest) Reset ¶
func (x *ListDatabasesRequest) Reset()
func (*ListDatabasesRequest) String ¶
func (x *ListDatabasesRequest) String() string
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { Databases []*DatasetInfo `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // contains filtered or unexported fields }
func (*ListDatabasesResponse) Descriptor
deprecated
func (*ListDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) GetDatabases ¶
func (x *ListDatabasesResponse) GetDatabases() []*DatasetInfo
func (*ListDatabasesResponse) ProtoMessage ¶
func (*ListDatabasesResponse) ProtoMessage()
func (*ListDatabasesResponse) ProtoReflect ¶
func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
func (*ListDatabasesResponse) Reset ¶
func (x *ListDatabasesResponse) Reset()
func (*ListDatabasesResponse) String ¶
func (x *ListDatabasesResponse) String() string
type NodeInfoRequest ¶
type NodeInfoRequest struct {
// contains filtered or unexported fields
}
NodeInfoRequest requests a node's information.
func (*NodeInfoRequest) Descriptor
deprecated
func (*NodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoRequest.ProtoReflect.Descriptor instead.
func (*NodeInfoRequest) ProtoMessage ¶
func (*NodeInfoRequest) ProtoMessage()
func (*NodeInfoRequest) ProtoReflect ¶
func (x *NodeInfoRequest) ProtoReflect() protoreflect.Message
func (*NodeInfoRequest) Reset ¶
func (x *NodeInfoRequest) Reset()
func (*NodeInfoRequest) String ¶
func (x *NodeInfoRequest) String() string
type NodeInfoResponse ¶
type NodeInfoResponse struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,proto3" json:"node_id,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,proto3" json:"public_key,omitempty"` P2PAddress string `protobuf:"bytes,3,opt,name=p2p_address,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
NodeInfoResponse is a node's information.
func (*NodeInfoResponse) Descriptor
deprecated
func (*NodeInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoResponse.ProtoReflect.Descriptor instead.
func (*NodeInfoResponse) GetNodeId ¶
func (x *NodeInfoResponse) GetNodeId() string
func (*NodeInfoResponse) GetP2PAddress ¶
func (x *NodeInfoResponse) GetP2PAddress() string
func (*NodeInfoResponse) GetPublicKey ¶
func (x *NodeInfoResponse) GetPublicKey() []byte
func (*NodeInfoResponse) ProtoMessage ¶
func (*NodeInfoResponse) ProtoMessage()
func (*NodeInfoResponse) ProtoReflect ¶
func (x *NodeInfoResponse) ProtoReflect() protoreflect.Message
func (*NodeInfoResponse) Reset ¶
func (x *NodeInfoResponse) Reset()
func (*NodeInfoResponse) String ¶
func (x *NodeInfoResponse) String() string
type PingRequest ¶
type PingRequest struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) GetMessage ¶
func (x *PingRequest) GetMessage() string
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetMessage ¶
func (x *PingResponse) GetMessage() string
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type QueryRequest ¶
type QueryRequest struct { Dbid string `protobuf:"bytes,1,opt,name=dbid,proto3" json:"dbid,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetDbid ¶
func (x *QueryRequest) GetDbid() string
func (*QueryRequest) GetQuery ¶
func (x *QueryRequest) GetQuery() string
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetResult ¶
func (x *QueryResponse) GetResult() []byte
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type RequestStatus ¶
type RequestStatus int32
const ( RequestStatus_OK RequestStatus = 0 RequestStatus_ERROR RequestStatus = 1 )
func (RequestStatus) Descriptor ¶
func (RequestStatus) Descriptor() protoreflect.EnumDescriptor
func (RequestStatus) Enum ¶
func (x RequestStatus) Enum() *RequestStatus
func (RequestStatus) EnumDescriptor
deprecated
func (RequestStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestStatus.Descriptor instead.
func (RequestStatus) Number ¶
func (x RequestStatus) Number() protoreflect.EnumNumber
func (RequestStatus) String ¶
func (x RequestStatus) String() string
func (RequestStatus) Type ¶
func (RequestStatus) Type() protoreflect.EnumType
type Schema ¶
type Schema struct { Owner []byte `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tables []*Table `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"` Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` Extensions []*Extensions `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"` // contains filtered or unexported fields }
func (*Schema) Descriptor
deprecated
func (*Schema) GetActions ¶
func (*Schema) GetExtensions ¶
func (x *Schema) GetExtensions() []*Extensions
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type Signature ¶
type Signature struct { SignatureBytes []byte `protobuf:"bytes,1,opt,name=signature_bytes,proto3" json:"signature_bytes,omitempty"` SignatureType string `protobuf:"bytes,2,opt,name=signature_type,proto3" json:"signature_type,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
func (*Signature) GetSignatureBytes ¶
func (*Signature) GetSignatureType ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type Table ¶
type Table struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Columns []*Column `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` Indexes []*Index `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"` ForeignKeys []*ForeignKey `protobuf:"bytes,4,rep,name=foreign_keys,proto3" json:"foreign_keys,omitempty"` // contains filtered or unexported fields }
func (*Table) Descriptor
deprecated
func (*Table) GetColumns ¶
func (*Table) GetForeignKeys ¶
func (x *Table) GetForeignKeys() []*ForeignKey
func (*Table) GetIndexes ¶
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type Transaction ¶
type Transaction struct { Body *Transaction_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Sender []byte `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` Serialization string `protobuf:"bytes,4,opt,name=serialization,proto3" json:"serialization,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetBody ¶
func (x *Transaction) GetBody() *Transaction_Body
func (*Transaction) GetSender ¶
func (x *Transaction) GetSender() []byte
func (*Transaction) GetSerialization ¶
func (x *Transaction) GetSerialization() string
func (*Transaction) GetSignature ¶
func (x *Transaction) GetSignature() *Signature
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionResult ¶
type TransactionResult struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` GasUsed int64 `protobuf:"varint,3,opt,name=gas_used,proto3" json:"gas_used,omitempty"` GasWanted int64 `protobuf:"varint,4,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // Data contains the output of the transaction. Events [][]byte `protobuf:"bytes,6,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*TransactionResult) Descriptor
deprecated
func (*TransactionResult) Descriptor() ([]byte, []int)
Deprecated: Use TransactionResult.ProtoReflect.Descriptor instead.
func (*TransactionResult) GetCode ¶
func (x *TransactionResult) GetCode() uint32
func (*TransactionResult) GetData ¶
func (x *TransactionResult) GetData() []byte
func (*TransactionResult) GetEvents ¶
func (x *TransactionResult) GetEvents() [][]byte
func (*TransactionResult) GetGasUsed ¶
func (x *TransactionResult) GetGasUsed() int64
func (*TransactionResult) GetGasWanted ¶
func (x *TransactionResult) GetGasWanted() int64
func (*TransactionResult) GetLog ¶
func (x *TransactionResult) GetLog() string
func (*TransactionResult) ProtoMessage ¶
func (*TransactionResult) ProtoMessage()
func (*TransactionResult) ProtoReflect ¶
func (x *TransactionResult) ProtoReflect() protoreflect.Message
func (*TransactionResult) Reset ¶
func (x *TransactionResult) Reset()
func (*TransactionResult) String ¶
func (x *TransactionResult) String() string
type TransactionStatus ¶
type TransactionStatus struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fee string `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Errors []string `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
deprecated
func (*TransactionStatus) Descriptor
deprecated
func (*TransactionStatus) Descriptor() ([]byte, []int)
Deprecated: Use TransactionStatus.ProtoReflect.Descriptor instead.
func (*TransactionStatus) GetErrors ¶
func (x *TransactionStatus) GetErrors() []string
func (*TransactionStatus) GetFee ¶
func (x *TransactionStatus) GetFee() string
func (*TransactionStatus) GetId ¶
func (x *TransactionStatus) GetId() []byte
func (*TransactionStatus) GetStatus ¶
func (x *TransactionStatus) GetStatus() string
func (*TransactionStatus) ProtoMessage ¶
func (*TransactionStatus) ProtoMessage()
func (*TransactionStatus) ProtoReflect ¶
func (x *TransactionStatus) ProtoReflect() protoreflect.Message
func (*TransactionStatus) Reset ¶
func (x *TransactionStatus) Reset()
func (*TransactionStatus) String ¶
func (x *TransactionStatus) String() string
type Transaction_Body ¶
type Transaction_Body struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` PayloadType string `protobuf:"bytes,2,opt,name=payload_type,proto3" json:"payload_type,omitempty"` Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` ChainId string `protobuf:"bytes,5,opt,name=chain_id,proto3" json:"chain_id,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Transaction_Body) Descriptor
deprecated
func (*Transaction_Body) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Body.ProtoReflect.Descriptor instead.
func (*Transaction_Body) GetChainId ¶
func (x *Transaction_Body) GetChainId() string
func (*Transaction_Body) GetDescription ¶
func (x *Transaction_Body) GetDescription() string
func (*Transaction_Body) GetFee ¶
func (x *Transaction_Body) GetFee() string
func (*Transaction_Body) GetNonce ¶
func (x *Transaction_Body) GetNonce() uint64
func (*Transaction_Body) GetPayload ¶
func (x *Transaction_Body) GetPayload() []byte
func (*Transaction_Body) GetPayloadType ¶
func (x *Transaction_Body) GetPayloadType() string
func (*Transaction_Body) ProtoMessage ¶
func (*Transaction_Body) ProtoMessage()
func (*Transaction_Body) ProtoReflect ¶
func (x *Transaction_Body) ProtoReflect() protoreflect.Message
func (*Transaction_Body) Reset ¶
func (x *Transaction_Body) Reset()
func (*Transaction_Body) String ¶
func (x *Transaction_Body) String() string
type TxQueryRequest ¶
type TxQueryRequest struct { TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*TxQueryRequest) Descriptor
deprecated
func (*TxQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use TxQueryRequest.ProtoReflect.Descriptor instead.
func (*TxQueryRequest) GetTxHash ¶
func (x *TxQueryRequest) GetTxHash() []byte
func (*TxQueryRequest) ProtoMessage ¶
func (*TxQueryRequest) ProtoMessage()
func (*TxQueryRequest) ProtoReflect ¶
func (x *TxQueryRequest) ProtoReflect() protoreflect.Message
func (*TxQueryRequest) Reset ¶
func (x *TxQueryRequest) Reset()
func (*TxQueryRequest) String ¶
func (x *TxQueryRequest) String() string
type TxQueryResponse ¶
type TxQueryResponse struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Tx *Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` TxResult *TransactionResult `protobuf:"bytes,4,opt,name=tx_result,proto3" json:"tx_result,omitempty"` // contains filtered or unexported fields }
func (*TxQueryResponse) Descriptor
deprecated
func (*TxQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use TxQueryResponse.ProtoReflect.Descriptor instead.
func (*TxQueryResponse) GetHash ¶
func (x *TxQueryResponse) GetHash() []byte
func (*TxQueryResponse) GetHeight ¶
func (x *TxQueryResponse) GetHeight() int64
func (*TxQueryResponse) GetTx ¶
func (x *TxQueryResponse) GetTx() *Transaction
func (*TxQueryResponse) GetTxResult ¶
func (x *TxQueryResponse) GetTxResult() *TransactionResult
func (*TxQueryResponse) ProtoMessage ¶
func (*TxQueryResponse) ProtoMessage()
func (*TxQueryResponse) ProtoReflect ¶
func (x *TxQueryResponse) ProtoReflect() protoreflect.Message
func (*TxQueryResponse) Reset ¶
func (x *TxQueryResponse) Reset()
func (*TxQueryResponse) String ¶
func (x *TxQueryResponse) String() string
type TxServiceClient ¶
type TxServiceClient interface { ChainInfo(ctx context.Context, in *ChainInfoRequest, opts ...grpc.CallOption) (*ChainInfoResponse, error) Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error) EstimatePrice(ctx context.Context, in *EstimatePriceRequest, opts ...grpc.CallOption) (*EstimatePriceResponse, error) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error) Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) TxQuery(ctx context.Context, in *TxQueryRequest, opts ...grpc.CallOption) (*TxQueryResponse, error) }
TxServiceClient is the client API for TxService 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 NewTxServiceClient ¶
func NewTxServiceClient(cc grpc.ClientConnInterface) TxServiceClient
type TxServiceServer ¶
type TxServiceServer interface { ChainInfo(context.Context, *ChainInfoRequest) (*ChainInfoResponse, error) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error) EstimatePrice(context.Context, *EstimatePriceRequest) (*EstimatePriceResponse, error) Query(context.Context, *QueryRequest) (*QueryResponse, error) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error) ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error) Call(context.Context, *CallRequest) (*CallResponse, error) TxQuery(context.Context, *TxQueryRequest) (*TxQueryResponse, error) // contains filtered or unexported methods }
TxServiceServer is the server API for TxService service. All implementations must embed UnimplementedTxServiceServer for forward compatibility
type UnimplementedTxServiceServer ¶
type UnimplementedTxServiceServer struct { }
UnimplementedTxServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTxServiceServer) Broadcast ¶
func (UnimplementedTxServiceServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
func (UnimplementedTxServiceServer) Call ¶
func (UnimplementedTxServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error)
func (UnimplementedTxServiceServer) ChainInfo ¶
func (UnimplementedTxServiceServer) ChainInfo(context.Context, *ChainInfoRequest) (*ChainInfoResponse, error)
func (UnimplementedTxServiceServer) EstimatePrice ¶
func (UnimplementedTxServiceServer) EstimatePrice(context.Context, *EstimatePriceRequest) (*EstimatePriceResponse, error)
func (UnimplementedTxServiceServer) GetAccount ¶
func (UnimplementedTxServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
func (UnimplementedTxServiceServer) GetConfig ¶
func (UnimplementedTxServiceServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
func (UnimplementedTxServiceServer) GetSchema ¶
func (UnimplementedTxServiceServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
func (UnimplementedTxServiceServer) ListDatabases ¶
func (UnimplementedTxServiceServer) ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
func (UnimplementedTxServiceServer) Ping ¶
func (UnimplementedTxServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedTxServiceServer) Query ¶
func (UnimplementedTxServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (UnimplementedTxServiceServer) TxQuery ¶
func (UnimplementedTxServiceServer) TxQuery(context.Context, *TxQueryRequest) (*TxQueryResponse, error)
type UnsafeTxServiceServer ¶
type UnsafeTxServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TxServiceServer will result in compilation errors.
type Validator ¶
type Validator struct { Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // ED25519 PubKey Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` // contains filtered or unexported fields }
func (*Validator) Descriptor
deprecated
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type ValidatorApprovalRequest ¶
type ValidatorApprovalRequest struct { PubKey []byte `protobuf:"bytes,1,opt,name=PubKey,proto3" json:"PubKey,omitempty"` // ED25519 PubKey // contains filtered or unexported fields }
func (*ValidatorApprovalRequest) Descriptor
deprecated
func (*ValidatorApprovalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorApprovalRequest.ProtoReflect.Descriptor instead.
func (*ValidatorApprovalRequest) GetPubKey ¶
func (x *ValidatorApprovalRequest) GetPubKey() []byte
func (*ValidatorApprovalRequest) ProtoMessage ¶
func (*ValidatorApprovalRequest) ProtoMessage()
func (*ValidatorApprovalRequest) ProtoReflect ¶
func (x *ValidatorApprovalRequest) ProtoReflect() protoreflect.Message
func (*ValidatorApprovalRequest) Reset ¶
func (x *ValidatorApprovalRequest) Reset()
func (*ValidatorApprovalRequest) String ¶
func (x *ValidatorApprovalRequest) String() string
type ValidatorApprovalResponse ¶
type ValidatorApprovalResponse struct { Status RequestStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tx.RequestStatus" json:"status,omitempty"` Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*ValidatorApprovalResponse) Descriptor
deprecated
func (*ValidatorApprovalResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorApprovalResponse.ProtoReflect.Descriptor instead.
func (*ValidatorApprovalResponse) GetLog ¶
func (x *ValidatorApprovalResponse) GetLog() string
func (*ValidatorApprovalResponse) GetStatus ¶
func (x *ValidatorApprovalResponse) GetStatus() RequestStatus
func (*ValidatorApprovalResponse) ProtoMessage ¶
func (*ValidatorApprovalResponse) ProtoMessage()
func (*ValidatorApprovalResponse) ProtoReflect ¶
func (x *ValidatorApprovalResponse) ProtoReflect() protoreflect.Message
func (*ValidatorApprovalResponse) Reset ¶
func (x *ValidatorApprovalResponse) Reset()
func (*ValidatorApprovalResponse) String ¶
func (x *ValidatorApprovalResponse) String() string
type ValidatorJoinRequest ¶
type ValidatorJoinRequest struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
TODO: these should not wrap Transactions; all of these should just get forwarded to the broadcast endpoint
func (*ValidatorJoinRequest) Descriptor
deprecated
func (*ValidatorJoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorJoinRequest.ProtoReflect.Descriptor instead.
func (*ValidatorJoinRequest) GetTx ¶
func (x *ValidatorJoinRequest) GetTx() *Transaction
func (*ValidatorJoinRequest) ProtoMessage ¶
func (*ValidatorJoinRequest) ProtoMessage()
func (*ValidatorJoinRequest) ProtoReflect ¶
func (x *ValidatorJoinRequest) ProtoReflect() protoreflect.Message
func (*ValidatorJoinRequest) Reset ¶
func (x *ValidatorJoinRequest) Reset()
func (*ValidatorJoinRequest) String ¶
func (x *ValidatorJoinRequest) String() string
type ValidatorJoinResponse ¶
type ValidatorJoinResponse struct { Receipt *TransactionStatus `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*ValidatorJoinResponse) Descriptor
deprecated
func (*ValidatorJoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorJoinResponse.ProtoReflect.Descriptor instead.
func (*ValidatorJoinResponse) GetReceipt ¶
func (x *ValidatorJoinResponse) GetReceipt() *TransactionStatus
func (*ValidatorJoinResponse) ProtoMessage ¶
func (*ValidatorJoinResponse) ProtoMessage()
func (*ValidatorJoinResponse) ProtoReflect ¶
func (x *ValidatorJoinResponse) ProtoReflect() protoreflect.Message
func (*ValidatorJoinResponse) Reset ¶
func (x *ValidatorJoinResponse) Reset()
func (*ValidatorJoinResponse) String ¶
func (x *ValidatorJoinResponse) String() string
type ValidatorJoinStatusRequest ¶
type ValidatorJoinStatusRequest struct { Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // ED25519 PubKey // contains filtered or unexported fields }
func (*ValidatorJoinStatusRequest) Descriptor
deprecated
func (*ValidatorJoinStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorJoinStatusRequest.ProtoReflect.Descriptor instead.
func (*ValidatorJoinStatusRequest) GetPubkey ¶
func (x *ValidatorJoinStatusRequest) GetPubkey() []byte
func (*ValidatorJoinStatusRequest) ProtoMessage ¶
func (*ValidatorJoinStatusRequest) ProtoMessage()
func (*ValidatorJoinStatusRequest) ProtoReflect ¶
func (x *ValidatorJoinStatusRequest) ProtoReflect() protoreflect.Message
func (*ValidatorJoinStatusRequest) Reset ¶
func (x *ValidatorJoinStatusRequest) Reset()
func (*ValidatorJoinStatusRequest) String ¶
func (x *ValidatorJoinStatusRequest) String() string
type ValidatorJoinStatusResponse ¶
type ValidatorJoinStatusResponse struct { ApprovedValidators [][]byte `protobuf:"bytes,1,rep,name=approved_validators,proto3" json:"approved_validators,omitempty"` PendingValidators [][]byte `protobuf:"bytes,2,rep,name=pending_validators,proto3" json:"pending_validators,omitempty"` Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` // contains filtered or unexported fields }
func (*ValidatorJoinStatusResponse) Descriptor
deprecated
func (*ValidatorJoinStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorJoinStatusResponse.ProtoReflect.Descriptor instead.
func (*ValidatorJoinStatusResponse) GetApprovedValidators ¶
func (x *ValidatorJoinStatusResponse) GetApprovedValidators() [][]byte
func (*ValidatorJoinStatusResponse) GetPendingValidators ¶
func (x *ValidatorJoinStatusResponse) GetPendingValidators() [][]byte
func (*ValidatorJoinStatusResponse) GetPower ¶
func (x *ValidatorJoinStatusResponse) GetPower() int64
func (*ValidatorJoinStatusResponse) ProtoMessage ¶
func (*ValidatorJoinStatusResponse) ProtoMessage()
func (*ValidatorJoinStatusResponse) ProtoReflect ¶
func (x *ValidatorJoinStatusResponse) ProtoReflect() protoreflect.Message
func (*ValidatorJoinStatusResponse) Reset ¶
func (x *ValidatorJoinStatusResponse) Reset()
func (*ValidatorJoinStatusResponse) String ¶
func (x *ValidatorJoinStatusResponse) String() string
type ValidatorLeaveRequest ¶
type ValidatorLeaveRequest struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*ValidatorLeaveRequest) Descriptor
deprecated
func (*ValidatorLeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorLeaveRequest.ProtoReflect.Descriptor instead.
func (*ValidatorLeaveRequest) GetTx ¶
func (x *ValidatorLeaveRequest) GetTx() *Transaction
func (*ValidatorLeaveRequest) ProtoMessage ¶
func (*ValidatorLeaveRequest) ProtoMessage()
func (*ValidatorLeaveRequest) ProtoReflect ¶
func (x *ValidatorLeaveRequest) ProtoReflect() protoreflect.Message
func (*ValidatorLeaveRequest) Reset ¶
func (x *ValidatorLeaveRequest) Reset()
func (*ValidatorLeaveRequest) String ¶
func (x *ValidatorLeaveRequest) String() string
type ValidatorLeaveResponse ¶
type ValidatorLeaveResponse struct { Receipt *TransactionStatus `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*ValidatorLeaveResponse) Descriptor
deprecated
func (*ValidatorLeaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorLeaveResponse.ProtoReflect.Descriptor instead.
func (*ValidatorLeaveResponse) GetReceipt ¶
func (x *ValidatorLeaveResponse) GetReceipt() *TransactionStatus
func (*ValidatorLeaveResponse) ProtoMessage ¶
func (*ValidatorLeaveResponse) ProtoMessage()
func (*ValidatorLeaveResponse) ProtoReflect ¶
func (x *ValidatorLeaveResponse) ProtoReflect() protoreflect.Message
func (*ValidatorLeaveResponse) Reset ¶
func (x *ValidatorLeaveResponse) Reset()
func (*ValidatorLeaveResponse) String ¶
func (x *ValidatorLeaveResponse) String() string