Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterKashwalletdServer(s grpc.ServiceRegistrar, srv KashwalletdServer)
- type AddressBalances
- func (*AddressBalances) Descriptor() ([]byte, []int)deprecated
- func (x *AddressBalances) GetAddress() string
- func (x *AddressBalances) GetAssetType() uint32
- func (x *AddressBalances) GetAvailable() uint64
- func (x *AddressBalances) GetPending() uint64
- func (*AddressBalances) ProtoMessage()
- func (x *AddressBalances) ProtoReflect() protoreflect.Message
- func (x *AddressBalances) Reset()
- func (x *AddressBalances) String() string
- type AssetBalance
- func (*AssetBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AssetBalance) GetAddressBalances() []*AddressBalances
- func (x *AssetBalance) GetAssetType() uint32
- func (x *AssetBalance) GetAvailable() uint64
- func (x *AssetBalance) GetPending() uint64
- func (*AssetBalance) ProtoMessage()
- func (x *AssetBalance) ProtoReflect() protoreflect.Message
- func (x *AssetBalance) Reset()
- func (x *AssetBalance) String() string
- type BroadcastRequest
- func (*BroadcastRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastRequest) GetIsDomain() bool
- func (x *BroadcastRequest) GetTransactions() [][]byte
- func (*BroadcastRequest) ProtoMessage()
- func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastRequest) Reset()
- func (x *BroadcastRequest) String() string
- type BroadcastResponse
- type CreateUnsignedTransactionsRequest
- func (*CreateUnsignedTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUnsignedTransactionsRequest) GetAddress() string
- func (x *CreateUnsignedTransactionsRequest) GetAmount() uint64
- func (x *CreateUnsignedTransactionsRequest) GetAssetType() uint32
- func (x *CreateUnsignedTransactionsRequest) GetFrom() []string
- func (x *CreateUnsignedTransactionsRequest) GetIsSendAll() bool
- func (x *CreateUnsignedTransactionsRequest) GetUseExistingChangeAddress() bool
- func (*CreateUnsignedTransactionsRequest) ProtoMessage()
- func (x *CreateUnsignedTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUnsignedTransactionsRequest) Reset()
- func (x *CreateUnsignedTransactionsRequest) String() string
- type CreateUnsignedTransactionsResponse
- func (*CreateUnsignedTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUnsignedTransactionsResponse) GetUnsignedTransactions() [][]byte
- func (*CreateUnsignedTransactionsResponse) ProtoMessage()
- func (x *CreateUnsignedTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUnsignedTransactionsResponse) Reset()
- func (x *CreateUnsignedTransactionsResponse) String() string
- type GetBalanceRequest
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetAssetBalances() []*AssetBalance
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- type GetExternalSpendableUTXOsRequest
- func (*GetExternalSpendableUTXOsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExternalSpendableUTXOsRequest) GetAddress() string
- func (*GetExternalSpendableUTXOsRequest) ProtoMessage()
- func (x *GetExternalSpendableUTXOsRequest) ProtoReflect() protoreflect.Message
- func (x *GetExternalSpendableUTXOsRequest) Reset()
- func (x *GetExternalSpendableUTXOsRequest) String() string
- type GetExternalSpendableUTXOsResponse
- func (*GetExternalSpendableUTXOsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExternalSpendableUTXOsResponse) GetEntries() []*UtxosByAddressesEntry
- func (*GetExternalSpendableUTXOsResponse) ProtoMessage()
- func (x *GetExternalSpendableUTXOsResponse) ProtoReflect() protoreflect.Message
- func (x *GetExternalSpendableUTXOsResponse) Reset()
- func (x *GetExternalSpendableUTXOsResponse) String() string
- type KashwalletdClient
- type KashwalletdServer
- type NewAddressRequest
- type NewAddressResponse
- func (*NewAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddressResponse) GetAddress() string
- func (*NewAddressResponse) ProtoMessage()
- func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
- func (x *NewAddressResponse) Reset()
- func (x *NewAddressResponse) String() string
- type Outpoint
- type ScriptPublicKey
- func (*ScriptPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptPublicKey) GetScriptPublicKey() string
- func (x *ScriptPublicKey) GetVersion() uint32
- func (*ScriptPublicKey) ProtoMessage()
- func (x *ScriptPublicKey) ProtoReflect() protoreflect.Message
- func (x *ScriptPublicKey) Reset()
- func (x *ScriptPublicKey) String() string
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendRequest) GetAmount() uint64
- func (x *SendRequest) GetAssetType() uint32
- func (x *SendRequest) GetFrom() []string
- func (x *SendRequest) GetIsSendAll() bool
- func (x *SendRequest) GetPassword() string
- func (x *SendRequest) GetToAddress() string
- func (x *SendRequest) GetUseExistingChangeAddress() bool
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) ProtoReflect() protoreflect.Message
- func (x *SendRequest) Reset()
- func (x *SendRequest) String() string
- type SendResponse
- func (*SendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendResponse) GetSignedTransactions() [][]byte
- func (x *SendResponse) GetTxIDs() []string
- func (*SendResponse) ProtoMessage()
- func (x *SendResponse) ProtoReflect() protoreflect.Message
- func (x *SendResponse) Reset()
- func (x *SendResponse) String() string
- type ShowAddressesRequest
- type ShowAddressesResponse
- func (*ShowAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowAddressesResponse) GetAddress() []string
- func (*ShowAddressesResponse) ProtoMessage()
- func (x *ShowAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *ShowAddressesResponse) Reset()
- func (x *ShowAddressesResponse) String() string
- type ShutdownRequest
- type ShutdownResponse
- type SignRequest
- func (*SignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignRequest) GetPassword() string
- func (x *SignRequest) GetUnsignedTransactions() [][]byte
- func (*SignRequest) ProtoMessage()
- func (x *SignRequest) ProtoReflect() protoreflect.Message
- func (x *SignRequest) Reset()
- func (x *SignRequest) String() string
- type SignResponse
- type UnimplementedKashwalletdServer
- func (UnimplementedKashwalletdServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
- func (UnimplementedKashwalletdServer) CreateUnsignedTransactions(context.Context, *CreateUnsignedTransactionsRequest) (*CreateUnsignedTransactionsResponse, error)
- func (UnimplementedKashwalletdServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
- func (UnimplementedKashwalletdServer) GetExternalSpendableUTXOs(context.Context, *GetExternalSpendableUTXOsRequest) (*GetExternalSpendableUTXOsResponse, error)
- func (UnimplementedKashwalletdServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
- func (UnimplementedKashwalletdServer) Send(context.Context, *SendRequest) (*SendResponse, error)
- func (UnimplementedKashwalletdServer) ShowAddresses(context.Context, *ShowAddressesRequest) (*ShowAddressesResponse, error)
- func (UnimplementedKashwalletdServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
- func (UnimplementedKashwalletdServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
- type UnsafeKashwalletdServer
- type UtxoEntry
- func (*UtxoEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UtxoEntry) GetAmount() uint64
- func (x *UtxoEntry) GetAssetType() uint32
- func (x *UtxoEntry) GetBlockDaaScore() uint64
- func (x *UtxoEntry) GetIsCoinbase() bool
- func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey
- func (*UtxoEntry) ProtoMessage()
- func (x *UtxoEntry) ProtoReflect() protoreflect.Message
- func (x *UtxoEntry) Reset()
- func (x *UtxoEntry) String() string
- type UtxosByAddressesEntry
- func (*UtxosByAddressesEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UtxosByAddressesEntry) GetAddress() string
- func (x *UtxosByAddressesEntry) GetOutpoint() *Outpoint
- func (x *UtxosByAddressesEntry) GetUtxoEntry() *UtxoEntry
- func (*UtxosByAddressesEntry) ProtoMessage()
- func (x *UtxosByAddressesEntry) ProtoReflect() protoreflect.Message
- func (x *UtxosByAddressesEntry) Reset()
- func (x *UtxosByAddressesEntry) String() string
Constants ¶
const ( Kashwalletd_GetBalance_FullMethodName = "/kashwalletd.kashwalletd/GetBalance" Kashwalletd_GetExternalSpendableUTXOs_FullMethodName = "/kashwalletd.kashwalletd/GetExternalSpendableUTXOs" Kashwalletd_CreateUnsignedTransactions_FullMethodName = "/kashwalletd.kashwalletd/CreateUnsignedTransactions" Kashwalletd_ShowAddresses_FullMethodName = "/kashwalletd.kashwalletd/ShowAddresses" Kashwalletd_NewAddress_FullMethodName = "/kashwalletd.kashwalletd/NewAddress" Kashwalletd_Shutdown_FullMethodName = "/kashwalletd.kashwalletd/Shutdown" Kashwalletd_Broadcast_FullMethodName = "/kashwalletd.kashwalletd/Broadcast" Kashwalletd_Send_FullMethodName = "/kashwalletd.kashwalletd/Send" Kashwalletd_Sign_FullMethodName = "/kashwalletd.kashwalletd/Sign" )
Variables ¶
var File_kashwalletd_proto protoreflect.FileDescriptor
var Kashwalletd_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kashwalletd.kashwalletd", HandlerType: (*KashwalletdServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBalance", Handler: _Kashwalletd_GetBalance_Handler, }, { MethodName: "GetExternalSpendableUTXOs", Handler: _Kashwalletd_GetExternalSpendableUTXOs_Handler, }, { MethodName: "CreateUnsignedTransactions", Handler: _Kashwalletd_CreateUnsignedTransactions_Handler, }, { MethodName: "ShowAddresses", Handler: _Kashwalletd_ShowAddresses_Handler, }, { MethodName: "NewAddress", Handler: _Kashwalletd_NewAddress_Handler, }, { MethodName: "Shutdown", Handler: _Kashwalletd_Shutdown_Handler, }, { MethodName: "Broadcast", Handler: _Kashwalletd_Broadcast_Handler, }, { MethodName: "Send", Handler: _Kashwalletd_Send_Handler, }, { MethodName: "Sign", Handler: _Kashwalletd_Sign_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kashwalletd.proto", }
Kashwalletd_ServiceDesc is the grpc.ServiceDesc for Kashwalletd service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKashwalletdServer ¶
func RegisterKashwalletdServer(s grpc.ServiceRegistrar, srv KashwalletdServer)
Types ¶
type AddressBalances ¶
type AddressBalances struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` AssetType uint32 `protobuf:"varint,2,opt,name=assetType,proto3" json:"assetType,omitempty"` Available uint64 `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"` Pending uint64 `protobuf:"varint,4,opt,name=pending,proto3" json:"pending,omitempty"` // contains filtered or unexported fields }
func (*AddressBalances) Descriptor
deprecated
func (*AddressBalances) Descriptor() ([]byte, []int)
Deprecated: Use AddressBalances.ProtoReflect.Descriptor instead.
func (*AddressBalances) GetAddress ¶
func (x *AddressBalances) GetAddress() string
func (*AddressBalances) GetAssetType ¶
func (x *AddressBalances) GetAssetType() uint32
func (*AddressBalances) GetAvailable ¶
func (x *AddressBalances) GetAvailable() uint64
func (*AddressBalances) GetPending ¶
func (x *AddressBalances) GetPending() uint64
func (*AddressBalances) ProtoMessage ¶
func (*AddressBalances) ProtoMessage()
func (*AddressBalances) ProtoReflect ¶
func (x *AddressBalances) ProtoReflect() protoreflect.Message
func (*AddressBalances) Reset ¶
func (x *AddressBalances) Reset()
func (*AddressBalances) String ¶
func (x *AddressBalances) String() string
type AssetBalance ¶
type AssetBalance struct { AssetType uint32 `protobuf:"varint,1,opt,name=assetType,proto3" json:"assetType,omitempty"` Available uint64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` Pending uint64 `protobuf:"varint,3,opt,name=pending,proto3" json:"pending,omitempty"` AddressBalances []*AddressBalances `protobuf:"bytes,4,rep,name=addressBalances,proto3" json:"addressBalances,omitempty"` // contains filtered or unexported fields }
func (*AssetBalance) Descriptor
deprecated
func (*AssetBalance) Descriptor() ([]byte, []int)
Deprecated: Use AssetBalance.ProtoReflect.Descriptor instead.
func (*AssetBalance) GetAddressBalances ¶
func (x *AssetBalance) GetAddressBalances() []*AddressBalances
func (*AssetBalance) GetAssetType ¶
func (x *AssetBalance) GetAssetType() uint32
func (*AssetBalance) GetAvailable ¶
func (x *AssetBalance) GetAvailable() uint64
func (*AssetBalance) GetPending ¶
func (x *AssetBalance) GetPending() uint64
func (*AssetBalance) ProtoMessage ¶
func (*AssetBalance) ProtoMessage()
func (*AssetBalance) ProtoReflect ¶
func (x *AssetBalance) ProtoReflect() protoreflect.Message
func (*AssetBalance) Reset ¶
func (x *AssetBalance) Reset()
func (*AssetBalance) String ¶
func (x *AssetBalance) String() string
type BroadcastRequest ¶
type BroadcastRequest struct { IsDomain bool `protobuf:"varint,1,opt,name=isDomain,proto3" json:"isDomain,omitempty"` Transactions [][]byte `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*BroadcastRequest) Descriptor
deprecated
func (*BroadcastRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.
func (*BroadcastRequest) GetIsDomain ¶
func (x *BroadcastRequest) GetIsDomain() bool
func (*BroadcastRequest) GetTransactions ¶
func (x *BroadcastRequest) GetTransactions() [][]byte
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 { TxIDs []string `protobuf:"bytes,1,rep,name=txIDs,proto3" json:"txIDs,omitempty"` // contains filtered or unexported fields }
func (*BroadcastResponse) Descriptor
deprecated
func (*BroadcastResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead.
func (*BroadcastResponse) GetTxIDs ¶
func (x *BroadcastResponse) GetTxIDs() []string
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 CreateUnsignedTransactionsRequest ¶
type CreateUnsignedTransactionsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` AssetType uint32 `protobuf:"varint,2,opt,name=assetType,proto3" json:"assetType,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` From []string `protobuf:"bytes,4,rep,name=from,proto3" json:"from,omitempty"` UseExistingChangeAddress bool `protobuf:"varint,5,opt,name=useExistingChangeAddress,proto3" json:"useExistingChangeAddress,omitempty"` IsSendAll bool `protobuf:"varint,6,opt,name=isSendAll,proto3" json:"isSendAll,omitempty"` // contains filtered or unexported fields }
func (*CreateUnsignedTransactionsRequest) Descriptor
deprecated
func (*CreateUnsignedTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUnsignedTransactionsRequest.ProtoReflect.Descriptor instead.
func (*CreateUnsignedTransactionsRequest) GetAddress ¶
func (x *CreateUnsignedTransactionsRequest) GetAddress() string
func (*CreateUnsignedTransactionsRequest) GetAmount ¶
func (x *CreateUnsignedTransactionsRequest) GetAmount() uint64
func (*CreateUnsignedTransactionsRequest) GetAssetType ¶
func (x *CreateUnsignedTransactionsRequest) GetAssetType() uint32
func (*CreateUnsignedTransactionsRequest) GetFrom ¶
func (x *CreateUnsignedTransactionsRequest) GetFrom() []string
func (*CreateUnsignedTransactionsRequest) GetIsSendAll ¶
func (x *CreateUnsignedTransactionsRequest) GetIsSendAll() bool
func (*CreateUnsignedTransactionsRequest) GetUseExistingChangeAddress ¶
func (x *CreateUnsignedTransactionsRequest) GetUseExistingChangeAddress() bool
func (*CreateUnsignedTransactionsRequest) ProtoMessage ¶
func (*CreateUnsignedTransactionsRequest) ProtoMessage()
func (*CreateUnsignedTransactionsRequest) ProtoReflect ¶
func (x *CreateUnsignedTransactionsRequest) ProtoReflect() protoreflect.Message
func (*CreateUnsignedTransactionsRequest) Reset ¶
func (x *CreateUnsignedTransactionsRequest) Reset()
func (*CreateUnsignedTransactionsRequest) String ¶
func (x *CreateUnsignedTransactionsRequest) String() string
type CreateUnsignedTransactionsResponse ¶
type CreateUnsignedTransactionsResponse struct { UnsignedTransactions [][]byte `protobuf:"bytes,1,rep,name=unsignedTransactions,proto3" json:"unsignedTransactions,omitempty"` // contains filtered or unexported fields }
func (*CreateUnsignedTransactionsResponse) Descriptor
deprecated
func (*CreateUnsignedTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUnsignedTransactionsResponse.ProtoReflect.Descriptor instead.
func (*CreateUnsignedTransactionsResponse) GetUnsignedTransactions ¶
func (x *CreateUnsignedTransactionsResponse) GetUnsignedTransactions() [][]byte
func (*CreateUnsignedTransactionsResponse) ProtoMessage ¶
func (*CreateUnsignedTransactionsResponse) ProtoMessage()
func (*CreateUnsignedTransactionsResponse) ProtoReflect ¶
func (x *CreateUnsignedTransactionsResponse) ProtoReflect() protoreflect.Message
func (*CreateUnsignedTransactionsResponse) Reset ¶
func (x *CreateUnsignedTransactionsResponse) Reset()
func (*CreateUnsignedTransactionsResponse) String ¶
func (x *CreateUnsignedTransactionsResponse) String() string
type GetBalanceRequest ¶
type GetBalanceRequest struct {
// contains filtered or unexported fields
}
func (*GetBalanceRequest) Descriptor
deprecated
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
func (*GetBalanceRequest) ProtoMessage ¶
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) ProtoReflect ¶
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
func (*GetBalanceRequest) Reset ¶
func (x *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶
func (x *GetBalanceRequest) String() string
type GetBalanceResponse ¶
type GetBalanceResponse struct { AssetBalances []*AssetBalance `protobuf:"bytes,1,rep,name=assetBalances,proto3" json:"assetBalances,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceResponse) Descriptor
deprecated
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetAssetBalances ¶
func (x *GetBalanceResponse) GetAssetBalances() []*AssetBalance
func (*GetBalanceResponse) ProtoMessage ¶
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) ProtoReflect ¶
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetBalanceResponse) Reset ¶
func (x *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶
func (x *GetBalanceResponse) String() string
type GetExternalSpendableUTXOsRequest ¶
type GetExternalSpendableUTXOsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetExternalSpendableUTXOsRequest) Descriptor
deprecated
func (*GetExternalSpendableUTXOsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExternalSpendableUTXOsRequest.ProtoReflect.Descriptor instead.
func (*GetExternalSpendableUTXOsRequest) GetAddress ¶
func (x *GetExternalSpendableUTXOsRequest) GetAddress() string
func (*GetExternalSpendableUTXOsRequest) ProtoMessage ¶
func (*GetExternalSpendableUTXOsRequest) ProtoMessage()
func (*GetExternalSpendableUTXOsRequest) ProtoReflect ¶
func (x *GetExternalSpendableUTXOsRequest) ProtoReflect() protoreflect.Message
func (*GetExternalSpendableUTXOsRequest) Reset ¶
func (x *GetExternalSpendableUTXOsRequest) Reset()
func (*GetExternalSpendableUTXOsRequest) String ¶
func (x *GetExternalSpendableUTXOsRequest) String() string
type GetExternalSpendableUTXOsResponse ¶
type GetExternalSpendableUTXOsResponse struct { Entries []*UtxosByAddressesEntry `protobuf:"bytes,1,rep,name=Entries,proto3" json:"Entries,omitempty"` // contains filtered or unexported fields }
func (*GetExternalSpendableUTXOsResponse) Descriptor
deprecated
func (*GetExternalSpendableUTXOsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExternalSpendableUTXOsResponse.ProtoReflect.Descriptor instead.
func (*GetExternalSpendableUTXOsResponse) GetEntries ¶
func (x *GetExternalSpendableUTXOsResponse) GetEntries() []*UtxosByAddressesEntry
func (*GetExternalSpendableUTXOsResponse) ProtoMessage ¶
func (*GetExternalSpendableUTXOsResponse) ProtoMessage()
func (*GetExternalSpendableUTXOsResponse) ProtoReflect ¶
func (x *GetExternalSpendableUTXOsResponse) ProtoReflect() protoreflect.Message
func (*GetExternalSpendableUTXOsResponse) Reset ¶
func (x *GetExternalSpendableUTXOsResponse) Reset()
func (*GetExternalSpendableUTXOsResponse) String ¶
func (x *GetExternalSpendableUTXOsResponse) String() string
type KashwalletdClient ¶
type KashwalletdClient interface { GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error) GetExternalSpendableUTXOs(ctx context.Context, in *GetExternalSpendableUTXOsRequest, opts ...grpc.CallOption) (*GetExternalSpendableUTXOsResponse, error) CreateUnsignedTransactions(ctx context.Context, in *CreateUnsignedTransactionsRequest, opts ...grpc.CallOption) (*CreateUnsignedTransactionsResponse, error) ShowAddresses(ctx context.Context, in *ShowAddressesRequest, opts ...grpc.CallOption) (*ShowAddressesResponse, error) NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error) // Since SendRequest contains a password - this command should only be used on a trusted or secure connection Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) // Since SignRequest contains a password - this command should only be used on a trusted or secure connection Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) }
KashwalletdClient is the client API for Kashwalletd 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 NewKashwalletdClient ¶
func NewKashwalletdClient(cc grpc.ClientConnInterface) KashwalletdClient
type KashwalletdServer ¶
type KashwalletdServer interface { GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error) GetExternalSpendableUTXOs(context.Context, *GetExternalSpendableUTXOsRequest) (*GetExternalSpendableUTXOsResponse, error) CreateUnsignedTransactions(context.Context, *CreateUnsignedTransactionsRequest) (*CreateUnsignedTransactionsResponse, error) ShowAddresses(context.Context, *ShowAddressesRequest) (*ShowAddressesResponse, error) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error) // Since SendRequest contains a password - this command should only be used on a trusted or secure connection Send(context.Context, *SendRequest) (*SendResponse, error) // Since SignRequest contains a password - this command should only be used on a trusted or secure connection Sign(context.Context, *SignRequest) (*SignResponse, error) // contains filtered or unexported methods }
KashwalletdServer is the server API for Kashwalletd service. All implementations must embed UnimplementedKashwalletdServer for forward compatibility
type NewAddressRequest ¶
type NewAddressRequest struct {
// contains filtered or unexported fields
}
func (*NewAddressRequest) Descriptor
deprecated
func (*NewAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressRequest.ProtoReflect.Descriptor instead.
func (*NewAddressRequest) ProtoMessage ¶
func (*NewAddressRequest) ProtoMessage()
func (*NewAddressRequest) ProtoReflect ¶
func (x *NewAddressRequest) ProtoReflect() protoreflect.Message
func (*NewAddressRequest) Reset ¶
func (x *NewAddressRequest) Reset()
func (*NewAddressRequest) String ¶
func (x *NewAddressRequest) String() string
type NewAddressResponse ¶
type NewAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*NewAddressResponse) Descriptor
deprecated
func (*NewAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressResponse.ProtoReflect.Descriptor instead.
func (*NewAddressResponse) GetAddress ¶
func (x *NewAddressResponse) GetAddress() string
func (*NewAddressResponse) ProtoMessage ¶
func (*NewAddressResponse) ProtoMessage()
func (*NewAddressResponse) ProtoReflect ¶
func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
func (*NewAddressResponse) Reset ¶
func (x *NewAddressResponse) Reset()
func (*NewAddressResponse) String ¶
func (x *NewAddressResponse) String() string
type Outpoint ¶
type Outpoint struct { TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*Outpoint) Descriptor
deprecated
func (*Outpoint) GetTransactionId ¶
func (*Outpoint) ProtoMessage ¶
func (*Outpoint) ProtoMessage()
func (*Outpoint) ProtoReflect ¶
func (x *Outpoint) ProtoReflect() protoreflect.Message
type ScriptPublicKey ¶
type ScriptPublicKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ScriptPublicKey string `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` // contains filtered or unexported fields }
func (*ScriptPublicKey) Descriptor
deprecated
func (*ScriptPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ScriptPublicKey.ProtoReflect.Descriptor instead.
func (*ScriptPublicKey) GetScriptPublicKey ¶
func (x *ScriptPublicKey) GetScriptPublicKey() string
func (*ScriptPublicKey) GetVersion ¶
func (x *ScriptPublicKey) GetVersion() uint32
func (*ScriptPublicKey) ProtoMessage ¶
func (*ScriptPublicKey) ProtoMessage()
func (*ScriptPublicKey) ProtoReflect ¶
func (x *ScriptPublicKey) ProtoReflect() protoreflect.Message
func (*ScriptPublicKey) Reset ¶
func (x *ScriptPublicKey) Reset()
func (*ScriptPublicKey) String ¶
func (x *ScriptPublicKey) String() string
type SendRequest ¶
type SendRequest struct { ToAddress string `protobuf:"bytes,1,opt,name=toAddress,proto3" json:"toAddress,omitempty"` AssetType uint32 `protobuf:"varint,2,opt,name=assetType,proto3" json:"assetType,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` From []string `protobuf:"bytes,5,rep,name=from,proto3" json:"from,omitempty"` UseExistingChangeAddress bool `protobuf:"varint,6,opt,name=useExistingChangeAddress,proto3" json:"useExistingChangeAddress,omitempty"` IsSendAll bool `protobuf:"varint,7,opt,name=isSendAll,proto3" json:"isSendAll,omitempty"` // contains filtered or unexported fields }
Since SendRequest contains a password - this command should only be used on a trusted or secure connection
func (*SendRequest) Descriptor
deprecated
func (*SendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
func (*SendRequest) GetAmount ¶
func (x *SendRequest) GetAmount() uint64
func (*SendRequest) GetAssetType ¶
func (x *SendRequest) GetAssetType() uint32
func (*SendRequest) GetFrom ¶
func (x *SendRequest) GetFrom() []string
func (*SendRequest) GetIsSendAll ¶
func (x *SendRequest) GetIsSendAll() bool
func (*SendRequest) GetPassword ¶
func (x *SendRequest) GetPassword() string
func (*SendRequest) GetToAddress ¶
func (x *SendRequest) GetToAddress() string
func (*SendRequest) GetUseExistingChangeAddress ¶
func (x *SendRequest) GetUseExistingChangeAddress() bool
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) ProtoReflect ¶
func (x *SendRequest) ProtoReflect() protoreflect.Message
func (*SendRequest) Reset ¶
func (x *SendRequest) Reset()
func (*SendRequest) String ¶
func (x *SendRequest) String() string
type SendResponse ¶
type SendResponse struct { TxIDs []string `protobuf:"bytes,1,rep,name=txIDs,proto3" json:"txIDs,omitempty"` SignedTransactions [][]byte `protobuf:"bytes,2,rep,name=signedTransactions,proto3" json:"signedTransactions,omitempty"` // contains filtered or unexported fields }
func (*SendResponse) Descriptor
deprecated
func (*SendResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.
func (*SendResponse) GetSignedTransactions ¶
func (x *SendResponse) GetSignedTransactions() [][]byte
func (*SendResponse) GetTxIDs ¶
func (x *SendResponse) GetTxIDs() []string
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) ProtoReflect ¶
func (x *SendResponse) ProtoReflect() protoreflect.Message
func (*SendResponse) Reset ¶
func (x *SendResponse) Reset()
func (*SendResponse) String ¶
func (x *SendResponse) String() string
type ShowAddressesRequest ¶
type ShowAddressesRequest struct {
// contains filtered or unexported fields
}
func (*ShowAddressesRequest) Descriptor
deprecated
func (*ShowAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowAddressesRequest.ProtoReflect.Descriptor instead.
func (*ShowAddressesRequest) ProtoMessage ¶
func (*ShowAddressesRequest) ProtoMessage()
func (*ShowAddressesRequest) ProtoReflect ¶
func (x *ShowAddressesRequest) ProtoReflect() protoreflect.Message
func (*ShowAddressesRequest) Reset ¶
func (x *ShowAddressesRequest) Reset()
func (*ShowAddressesRequest) String ¶
func (x *ShowAddressesRequest) String() string
type ShowAddressesResponse ¶
type ShowAddressesResponse struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ShowAddressesResponse) Descriptor
deprecated
func (*ShowAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowAddressesResponse.ProtoReflect.Descriptor instead.
func (*ShowAddressesResponse) GetAddress ¶
func (x *ShowAddressesResponse) GetAddress() []string
func (*ShowAddressesResponse) ProtoMessage ¶
func (*ShowAddressesResponse) ProtoMessage()
func (*ShowAddressesResponse) ProtoReflect ¶
func (x *ShowAddressesResponse) ProtoReflect() protoreflect.Message
func (*ShowAddressesResponse) Reset ¶
func (x *ShowAddressesResponse) Reset()
func (*ShowAddressesResponse) String ¶
func (x *ShowAddressesResponse) String() string
type ShutdownRequest ¶
type ShutdownRequest struct {
// contains filtered or unexported fields
}
func (*ShutdownRequest) Descriptor
deprecated
func (*ShutdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) ProtoReflect ¶
func (x *ShutdownRequest) ProtoReflect() protoreflect.Message
func (*ShutdownRequest) Reset ¶
func (x *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (x *ShutdownRequest) String() string
type ShutdownResponse ¶
type ShutdownResponse struct {
// contains filtered or unexported fields
}
func (*ShutdownResponse) Descriptor
deprecated
func (*ShutdownResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.
func (*ShutdownResponse) ProtoMessage ¶
func (*ShutdownResponse) ProtoMessage()
func (*ShutdownResponse) ProtoReflect ¶
func (x *ShutdownResponse) ProtoReflect() protoreflect.Message
func (*ShutdownResponse) Reset ¶
func (x *ShutdownResponse) Reset()
func (*ShutdownResponse) String ¶
func (x *ShutdownResponse) String() string
type SignRequest ¶
type SignRequest struct { UnsignedTransactions [][]byte `protobuf:"bytes,1,rep,name=unsignedTransactions,proto3" json:"unsignedTransactions,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
Since SignRequest contains a password - this command should only be used on a trusted or secure connection
func (*SignRequest) Descriptor
deprecated
func (*SignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) GetPassword ¶
func (x *SignRequest) GetPassword() string
func (*SignRequest) GetUnsignedTransactions ¶
func (x *SignRequest) GetUnsignedTransactions() [][]byte
func (*SignRequest) ProtoMessage ¶
func (*SignRequest) ProtoMessage()
func (*SignRequest) ProtoReflect ¶
func (x *SignRequest) ProtoReflect() protoreflect.Message
func (*SignRequest) Reset ¶
func (x *SignRequest) Reset()
func (*SignRequest) String ¶
func (x *SignRequest) String() string
type SignResponse ¶
type SignResponse struct { SignedTransactions [][]byte `protobuf:"bytes,1,rep,name=signedTransactions,proto3" json:"signedTransactions,omitempty"` // contains filtered or unexported fields }
func (*SignResponse) Descriptor
deprecated
func (*SignResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) GetSignedTransactions ¶
func (x *SignResponse) GetSignedTransactions() [][]byte
func (*SignResponse) ProtoMessage ¶
func (*SignResponse) ProtoMessage()
func (*SignResponse) ProtoReflect ¶
func (x *SignResponse) ProtoReflect() protoreflect.Message
func (*SignResponse) Reset ¶
func (x *SignResponse) Reset()
func (*SignResponse) String ¶
func (x *SignResponse) String() string
type UnimplementedKashwalletdServer ¶
type UnimplementedKashwalletdServer struct { }
UnimplementedKashwalletdServer must be embedded to have forward compatible implementations.
func (UnimplementedKashwalletdServer) Broadcast ¶
func (UnimplementedKashwalletdServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
func (UnimplementedKashwalletdServer) CreateUnsignedTransactions ¶
func (UnimplementedKashwalletdServer) CreateUnsignedTransactions(context.Context, *CreateUnsignedTransactionsRequest) (*CreateUnsignedTransactionsResponse, error)
func (UnimplementedKashwalletdServer) GetBalance ¶
func (UnimplementedKashwalletdServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
func (UnimplementedKashwalletdServer) GetExternalSpendableUTXOs ¶
func (UnimplementedKashwalletdServer) GetExternalSpendableUTXOs(context.Context, *GetExternalSpendableUTXOsRequest) (*GetExternalSpendableUTXOsResponse, error)
func (UnimplementedKashwalletdServer) NewAddress ¶
func (UnimplementedKashwalletdServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
func (UnimplementedKashwalletdServer) Send ¶
func (UnimplementedKashwalletdServer) Send(context.Context, *SendRequest) (*SendResponse, error)
func (UnimplementedKashwalletdServer) ShowAddresses ¶
func (UnimplementedKashwalletdServer) ShowAddresses(context.Context, *ShowAddressesRequest) (*ShowAddressesResponse, error)
func (UnimplementedKashwalletdServer) Shutdown ¶
func (UnimplementedKashwalletdServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
func (UnimplementedKashwalletdServer) Sign ¶
func (UnimplementedKashwalletdServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
type UnsafeKashwalletdServer ¶
type UnsafeKashwalletdServer interface {
// contains filtered or unexported methods
}
UnsafeKashwalletdServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KashwalletdServer will result in compilation errors.
type UtxoEntry ¶
type UtxoEntry struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` AssetType uint32 `protobuf:"varint,2,opt,name=assetType,proto3" json:"assetType,omitempty"` ScriptPublicKey *ScriptPublicKey `protobuf:"bytes,3,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` BlockDaaScore uint64 `protobuf:"varint,4,opt,name=blockDaaScore,proto3" json:"blockDaaScore,omitempty"` IsCoinbase bool `protobuf:"varint,5,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"` // contains filtered or unexported fields }
func (*UtxoEntry) Descriptor
deprecated
func (*UtxoEntry) GetAssetType ¶
func (*UtxoEntry) GetBlockDaaScore ¶
func (*UtxoEntry) GetIsCoinbase ¶
func (*UtxoEntry) GetScriptPublicKey ¶
func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey
func (*UtxoEntry) ProtoMessage ¶
func (*UtxoEntry) ProtoMessage()
func (*UtxoEntry) ProtoReflect ¶
func (x *UtxoEntry) ProtoReflect() protoreflect.Message
type UtxosByAddressesEntry ¶
type UtxosByAddressesEntry struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Outpoint *Outpoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` UtxoEntry *UtxoEntry `protobuf:"bytes,3,opt,name=utxoEntry,proto3" json:"utxoEntry,omitempty"` // contains filtered or unexported fields }
func (*UtxosByAddressesEntry) Descriptor
deprecated
func (*UtxosByAddressesEntry) Descriptor() ([]byte, []int)
Deprecated: Use UtxosByAddressesEntry.ProtoReflect.Descriptor instead.
func (*UtxosByAddressesEntry) GetAddress ¶
func (x *UtxosByAddressesEntry) GetAddress() string
func (*UtxosByAddressesEntry) GetOutpoint ¶
func (x *UtxosByAddressesEntry) GetOutpoint() *Outpoint
func (*UtxosByAddressesEntry) GetUtxoEntry ¶
func (x *UtxosByAddressesEntry) GetUtxoEntry() *UtxoEntry
func (*UtxosByAddressesEntry) ProtoMessage ¶
func (*UtxosByAddressesEntry) ProtoMessage()
func (*UtxosByAddressesEntry) ProtoReflect ¶
func (x *UtxosByAddressesEntry) ProtoReflect() protoreflect.Message
func (*UtxosByAddressesEntry) Reset ¶
func (x *UtxosByAddressesEntry) Reset()
func (*UtxosByAddressesEntry) String ¶
func (x *UtxosByAddressesEntry) String() string