pb

package
v0.12.17 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: ISC Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_kaspawalletd_proto protoreflect.FileDescriptor
View Source
var Kaspawalletd_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kaspawalletd.kaspawalletd",
	HandlerType: (*KaspawalletdServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBalance",
			Handler:    _Kaspawalletd_GetBalance_Handler,
		},
		{
			MethodName: "GetExternalSpendableUTXOs",
			Handler:    _Kaspawalletd_GetExternalSpendableUTXOs_Handler,
		},
		{
			MethodName: "CreateUnsignedTransactions",
			Handler:    _Kaspawalletd_CreateUnsignedTransactions_Handler,
		},
		{
			MethodName: "ShowAddresses",
			Handler:    _Kaspawalletd_ShowAddresses_Handler,
		},
		{
			MethodName: "NewAddress",
			Handler:    _Kaspawalletd_NewAddress_Handler,
		},
		{
			MethodName: "Shutdown",
			Handler:    _Kaspawalletd_Shutdown_Handler,
		},
		{
			MethodName: "Broadcast",
			Handler:    _Kaspawalletd_Broadcast_Handler,
		},
		{
			MethodName: "Send",
			Handler:    _Kaspawalletd_Send_Handler,
		},
		{
			MethodName: "Sign",
			Handler:    _Kaspawalletd_Sign_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _Kaspawalletd_GetVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kaspawalletd.proto",
}

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

Functions

func RegisterKaspawalletdServer

func RegisterKaspawalletdServer(s grpc.ServiceRegistrar, srv KaspawalletdServer)

Types

type AddressBalances added in v0.11.9

type AddressBalances struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,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"`
	// contains filtered or unexported fields
}

func (*AddressBalances) Descriptor deprecated added in v0.11.9

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

Deprecated: Use AddressBalances.ProtoReflect.Descriptor instead.

func (*AddressBalances) GetAddress added in v0.11.9

func (x *AddressBalances) GetAddress() string

func (*AddressBalances) GetAvailable added in v0.11.9

func (x *AddressBalances) GetAvailable() uint64

func (*AddressBalances) GetPending added in v0.11.9

func (x *AddressBalances) GetPending() uint64

func (*AddressBalances) ProtoMessage added in v0.11.9

func (*AddressBalances) ProtoMessage()

func (*AddressBalances) ProtoReflect added in v0.11.9

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

func (*AddressBalances) Reset added in v0.11.9

func (x *AddressBalances) Reset()

func (*AddressBalances) String added in v0.11.9

func (x *AddressBalances) 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 added in v0.12.0

func (x *BroadcastRequest) GetIsDomain() bool

func (*BroadcastRequest) GetTransactions added in v0.12.0

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 added in v0.12.0

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 added in v0.11.15

type CreateUnsignedTransactionsRequest struct {
	Address                  string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount                   uint64   `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	From                     []string `protobuf:"bytes,3,rep,name=from,proto3" json:"from,omitempty"`
	UseExistingChangeAddress bool     `protobuf:"varint,4,opt,name=useExistingChangeAddress,proto3" json:"useExistingChangeAddress,omitempty"`
	IsSendAll                bool     `protobuf:"varint,5,opt,name=isSendAll,proto3" json:"isSendAll,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUnsignedTransactionsRequest) Descriptor deprecated added in v0.11.15

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

Deprecated: Use CreateUnsignedTransactionsRequest.ProtoReflect.Descriptor instead.

func (*CreateUnsignedTransactionsRequest) GetAddress added in v0.11.15

func (x *CreateUnsignedTransactionsRequest) GetAddress() string

func (*CreateUnsignedTransactionsRequest) GetAmount added in v0.11.15

func (*CreateUnsignedTransactionsRequest) GetFrom added in v0.12.1

func (*CreateUnsignedTransactionsRequest) GetIsSendAll added in v0.12.12

func (x *CreateUnsignedTransactionsRequest) GetIsSendAll() bool

func (*CreateUnsignedTransactionsRequest) GetUseExistingChangeAddress added in v0.12.5

func (x *CreateUnsignedTransactionsRequest) GetUseExistingChangeAddress() bool

func (*CreateUnsignedTransactionsRequest) ProtoMessage added in v0.11.15

func (*CreateUnsignedTransactionsRequest) ProtoMessage()

func (*CreateUnsignedTransactionsRequest) ProtoReflect added in v0.11.15

func (*CreateUnsignedTransactionsRequest) Reset added in v0.11.15

func (*CreateUnsignedTransactionsRequest) String added in v0.11.15

type CreateUnsignedTransactionsResponse added in v0.11.15

type CreateUnsignedTransactionsResponse struct {
	UnsignedTransactions [][]byte `protobuf:"bytes,1,rep,name=unsignedTransactions,proto3" json:"unsignedTransactions,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUnsignedTransactionsResponse) Descriptor deprecated added in v0.11.15

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

Deprecated: Use CreateUnsignedTransactionsResponse.ProtoReflect.Descriptor instead.

func (*CreateUnsignedTransactionsResponse) GetUnsignedTransactions added in v0.11.15

func (x *CreateUnsignedTransactionsResponse) GetUnsignedTransactions() [][]byte

func (*CreateUnsignedTransactionsResponse) ProtoMessage added in v0.11.15

func (*CreateUnsignedTransactionsResponse) ProtoMessage()

func (*CreateUnsignedTransactionsResponse) ProtoReflect added in v0.11.15

func (*CreateUnsignedTransactionsResponse) Reset added in v0.11.15

func (*CreateUnsignedTransactionsResponse) String added in v0.11.15

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 {
	Available       uint64             `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
	Pending         uint64             `protobuf:"varint,2,opt,name=pending,proto3" json:"pending,omitempty"`
	AddressBalances []*AddressBalances `protobuf:"bytes,3,rep,name=addressBalances,proto3" json:"addressBalances,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetBalanceResponse) GetAddressBalances added in v0.11.9

func (x *GetBalanceResponse) GetAddressBalances() []*AddressBalances

func (*GetBalanceResponse) GetAvailable

func (x *GetBalanceResponse) GetAvailable() uint64

func (*GetBalanceResponse) GetPending

func (x *GetBalanceResponse) GetPending() uint64

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 added in v0.12.0

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

func (*GetExternalSpendableUTXOsRequest) Descriptor deprecated added in v0.12.0

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

Deprecated: Use GetExternalSpendableUTXOsRequest.ProtoReflect.Descriptor instead.

func (*GetExternalSpendableUTXOsRequest) GetAddress added in v0.12.0

func (x *GetExternalSpendableUTXOsRequest) GetAddress() string

func (*GetExternalSpendableUTXOsRequest) ProtoMessage added in v0.12.0

func (*GetExternalSpendableUTXOsRequest) ProtoMessage()

func (*GetExternalSpendableUTXOsRequest) ProtoReflect added in v0.12.0

func (*GetExternalSpendableUTXOsRequest) Reset added in v0.12.0

func (*GetExternalSpendableUTXOsRequest) String added in v0.12.0

type GetExternalSpendableUTXOsResponse added in v0.12.0

type GetExternalSpendableUTXOsResponse struct {
	Entries []*UtxosByAddressesEntry `protobuf:"bytes,1,rep,name=Entries,proto3" json:"Entries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExternalSpendableUTXOsResponse) Descriptor deprecated added in v0.12.0

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

Deprecated: Use GetExternalSpendableUTXOsResponse.ProtoReflect.Descriptor instead.

func (*GetExternalSpendableUTXOsResponse) GetEntries added in v0.12.0

func (*GetExternalSpendableUTXOsResponse) ProtoMessage added in v0.12.0

func (*GetExternalSpendableUTXOsResponse) ProtoMessage()

func (*GetExternalSpendableUTXOsResponse) ProtoReflect added in v0.12.0

func (*GetExternalSpendableUTXOsResponse) Reset added in v0.12.0

func (*GetExternalSpendableUTXOsResponse) String added in v0.12.0

type GetVersionRequest added in v0.12.17

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

func (*GetVersionRequest) Descriptor deprecated added in v0.12.17

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

Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.

func (*GetVersionRequest) ProtoMessage added in v0.12.17

func (*GetVersionRequest) ProtoMessage()

func (*GetVersionRequest) ProtoReflect added in v0.12.17

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

func (*GetVersionRequest) Reset added in v0.12.17

func (x *GetVersionRequest) Reset()

func (*GetVersionRequest) String added in v0.12.17

func (x *GetVersionRequest) String() string

type GetVersionResponse added in v0.12.17

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

func (*GetVersionResponse) Descriptor deprecated added in v0.12.17

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

Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.

func (*GetVersionResponse) GetVersion added in v0.12.17

func (x *GetVersionResponse) GetVersion() string

func (*GetVersionResponse) ProtoMessage added in v0.12.17

func (*GetVersionResponse) ProtoMessage()

func (*GetVersionResponse) ProtoReflect added in v0.12.17

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

func (*GetVersionResponse) Reset added in v0.12.17

func (x *GetVersionResponse) Reset()

func (*GetVersionResponse) String added in v0.12.17

func (x *GetVersionResponse) String() string

type KaspawalletdClient

type KaspawalletdClient 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)
	GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error)
}

KaspawalletdClient is the client API for Kaspawalletd 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.

type KaspawalletdServer

type KaspawalletdServer 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)
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
	// contains filtered or unexported methods
}

KaspawalletdServer is the server API for Kaspawalletd service. All implementations must embed UnimplementedKaspawalletdServer for forward compatibility

type NewAddressRequest added in v0.11.7

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

func (*NewAddressRequest) Descriptor deprecated added in v0.11.7

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

Deprecated: Use NewAddressRequest.ProtoReflect.Descriptor instead.

func (*NewAddressRequest) ProtoMessage added in v0.11.7

func (*NewAddressRequest) ProtoMessage()

func (*NewAddressRequest) ProtoReflect added in v0.11.7

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

func (*NewAddressRequest) Reset added in v0.11.7

func (x *NewAddressRequest) Reset()

func (*NewAddressRequest) String added in v0.11.7

func (x *NewAddressRequest) String() string

type NewAddressResponse added in v0.11.7

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

func (*NewAddressResponse) Descriptor deprecated added in v0.11.7

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

Deprecated: Use NewAddressResponse.ProtoReflect.Descriptor instead.

func (*NewAddressResponse) GetAddress added in v0.11.7

func (x *NewAddressResponse) GetAddress() string

func (*NewAddressResponse) ProtoMessage added in v0.11.7

func (*NewAddressResponse) ProtoMessage()

func (*NewAddressResponse) ProtoReflect added in v0.11.7

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

func (*NewAddressResponse) Reset added in v0.11.7

func (x *NewAddressResponse) Reset()

func (*NewAddressResponse) String added in v0.11.7

func (x *NewAddressResponse) String() string

type Outpoint added in v0.12.0

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 added in v0.12.0

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

Deprecated: Use Outpoint.ProtoReflect.Descriptor instead.

func (*Outpoint) GetIndex added in v0.12.0

func (x *Outpoint) GetIndex() uint32

func (*Outpoint) GetTransactionId added in v0.12.0

func (x *Outpoint) GetTransactionId() string

func (*Outpoint) ProtoMessage added in v0.12.0

func (*Outpoint) ProtoMessage()

func (*Outpoint) ProtoReflect added in v0.12.0

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

func (*Outpoint) Reset added in v0.12.0

func (x *Outpoint) Reset()

func (*Outpoint) String added in v0.12.0

func (x *Outpoint) String() string

type ScriptPublicKey added in v0.12.0

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 added in v0.12.0

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

Deprecated: Use ScriptPublicKey.ProtoReflect.Descriptor instead.

func (*ScriptPublicKey) GetScriptPublicKey added in v0.12.0

func (x *ScriptPublicKey) GetScriptPublicKey() string

func (*ScriptPublicKey) GetVersion added in v0.12.0

func (x *ScriptPublicKey) GetVersion() uint32

func (*ScriptPublicKey) ProtoMessage added in v0.12.0

func (*ScriptPublicKey) ProtoMessage()

func (*ScriptPublicKey) ProtoReflect added in v0.12.0

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

func (*ScriptPublicKey) Reset added in v0.12.0

func (x *ScriptPublicKey) Reset()

func (*ScriptPublicKey) String added in v0.12.0

func (x *ScriptPublicKey) String() string

type SendRequest added in v0.12.0

type SendRequest struct {
	ToAddress                string   `protobuf:"bytes,1,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	Amount                   uint64   `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Password                 string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,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
}

Since SendRequest contains a password - this command should only be used on a trusted or secure connection

func (*SendRequest) Descriptor deprecated added in v0.12.0

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetAmount added in v0.12.0

func (x *SendRequest) GetAmount() uint64

func (*SendRequest) GetFrom added in v0.12.1

func (x *SendRequest) GetFrom() []string

func (*SendRequest) GetIsSendAll added in v0.12.12

func (x *SendRequest) GetIsSendAll() bool

func (*SendRequest) GetPassword added in v0.12.0

func (x *SendRequest) GetPassword() string

func (*SendRequest) GetToAddress added in v0.12.0

func (x *SendRequest) GetToAddress() string

func (*SendRequest) GetUseExistingChangeAddress added in v0.12.5

func (x *SendRequest) GetUseExistingChangeAddress() bool

func (*SendRequest) ProtoMessage added in v0.12.0

func (*SendRequest) ProtoMessage()

func (*SendRequest) ProtoReflect added in v0.12.0

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

func (*SendRequest) Reset added in v0.12.0

func (x *SendRequest) Reset()

func (*SendRequest) String added in v0.12.0

func (x *SendRequest) String() string

type SendResponse added in v0.12.0

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 added in v0.12.0

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

Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.

func (*SendResponse) GetSignedTransactions added in v0.12.6

func (x *SendResponse) GetSignedTransactions() [][]byte

func (*SendResponse) GetTxIDs added in v0.12.0

func (x *SendResponse) GetTxIDs() []string

func (*SendResponse) ProtoMessage added in v0.12.0

func (*SendResponse) ProtoMessage()

func (*SendResponse) ProtoReflect added in v0.12.0

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

func (*SendResponse) Reset added in v0.12.0

func (x *SendResponse) Reset()

func (*SendResponse) String added in v0.12.0

func (x *SendResponse) String() string

type ShowAddressesRequest added in v0.11.7

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

func (*ShowAddressesRequest) Descriptor deprecated added in v0.11.7

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

Deprecated: Use ShowAddressesRequest.ProtoReflect.Descriptor instead.

func (*ShowAddressesRequest) ProtoMessage added in v0.11.7

func (*ShowAddressesRequest) ProtoMessage()

func (*ShowAddressesRequest) ProtoReflect added in v0.11.7

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

func (*ShowAddressesRequest) Reset added in v0.11.7

func (x *ShowAddressesRequest) Reset()

func (*ShowAddressesRequest) String added in v0.11.7

func (x *ShowAddressesRequest) String() string

type ShowAddressesResponse added in v0.11.7

type ShowAddressesResponse struct {
	Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ShowAddressesResponse) Descriptor deprecated added in v0.11.7

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

Deprecated: Use ShowAddressesResponse.ProtoReflect.Descriptor instead.

func (*ShowAddressesResponse) GetAddress added in v0.11.7

func (x *ShowAddressesResponse) GetAddress() []string

func (*ShowAddressesResponse) ProtoMessage added in v0.11.7

func (*ShowAddressesResponse) ProtoMessage()

func (*ShowAddressesResponse) ProtoReflect added in v0.11.7

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

func (*ShowAddressesResponse) Reset added in v0.11.7

func (x *ShowAddressesResponse) Reset()

func (*ShowAddressesResponse) String added in v0.11.7

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 added in v0.12.0

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 added in v0.12.0

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

Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.

func (*SignRequest) GetPassword added in v0.12.0

func (x *SignRequest) GetPassword() string

func (*SignRequest) GetUnsignedTransactions added in v0.12.0

func (x *SignRequest) GetUnsignedTransactions() [][]byte

func (*SignRequest) ProtoMessage added in v0.12.0

func (*SignRequest) ProtoMessage()

func (*SignRequest) ProtoReflect added in v0.12.0

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

func (*SignRequest) Reset added in v0.12.0

func (x *SignRequest) Reset()

func (*SignRequest) String added in v0.12.0

func (x *SignRequest) String() string

type SignResponse added in v0.12.0

type SignResponse struct {
	SignedTransactions [][]byte `protobuf:"bytes,1,rep,name=signedTransactions,proto3" json:"signedTransactions,omitempty"`
	// contains filtered or unexported fields
}

func (*SignResponse) Descriptor deprecated added in v0.12.0

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

Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.

func (*SignResponse) GetSignedTransactions added in v0.12.0

func (x *SignResponse) GetSignedTransactions() [][]byte

func (*SignResponse) ProtoMessage added in v0.12.0

func (*SignResponse) ProtoMessage()

func (*SignResponse) ProtoReflect added in v0.12.0

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

func (*SignResponse) Reset added in v0.12.0

func (x *SignResponse) Reset()

func (*SignResponse) String added in v0.12.0

func (x *SignResponse) String() string

type UnimplementedKaspawalletdServer

type UnimplementedKaspawalletdServer struct {
}

UnimplementedKaspawalletdServer must be embedded to have forward compatible implementations.

func (UnimplementedKaspawalletdServer) Broadcast

func (UnimplementedKaspawalletdServer) CreateUnsignedTransactions added in v0.11.15

func (UnimplementedKaspawalletdServer) GetBalance

func (UnimplementedKaspawalletdServer) GetExternalSpendableUTXOs added in v0.12.0

func (UnimplementedKaspawalletdServer) GetVersion added in v0.12.17

func (UnimplementedKaspawalletdServer) NewAddress added in v0.11.7

func (UnimplementedKaspawalletdServer) Send added in v0.12.0

func (UnimplementedKaspawalletdServer) ShowAddresses added in v0.11.7

func (UnimplementedKaspawalletdServer) Shutdown

func (UnimplementedKaspawalletdServer) Sign added in v0.12.0

type UnsafeKaspawalletdServer added in v0.11.7

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

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

type UtxoEntry added in v0.12.0

type UtxoEntry struct {
	Amount          uint64           `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	ScriptPublicKey *ScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	BlockDaaScore   uint64           `protobuf:"varint,3,opt,name=blockDaaScore,proto3" json:"blockDaaScore,omitempty"`
	IsCoinbase      bool             `protobuf:"varint,4,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoEntry) Descriptor deprecated added in v0.12.0

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

Deprecated: Use UtxoEntry.ProtoReflect.Descriptor instead.

func (*UtxoEntry) GetAmount added in v0.12.0

func (x *UtxoEntry) GetAmount() uint64

func (*UtxoEntry) GetBlockDaaScore added in v0.12.0

func (x *UtxoEntry) GetBlockDaaScore() uint64

func (*UtxoEntry) GetIsCoinbase added in v0.12.0

func (x *UtxoEntry) GetIsCoinbase() bool

func (*UtxoEntry) GetScriptPublicKey added in v0.12.0

func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey

func (*UtxoEntry) ProtoMessage added in v0.12.0

func (*UtxoEntry) ProtoMessage()

func (*UtxoEntry) ProtoReflect added in v0.12.0

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

func (*UtxoEntry) Reset added in v0.12.0

func (x *UtxoEntry) Reset()

func (*UtxoEntry) String added in v0.12.0

func (x *UtxoEntry) String() string

type UtxosByAddressesEntry added in v0.12.0

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 added in v0.12.0

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

Deprecated: Use UtxosByAddressesEntry.ProtoReflect.Descriptor instead.

func (*UtxosByAddressesEntry) GetAddress added in v0.12.0

func (x *UtxosByAddressesEntry) GetAddress() string

func (*UtxosByAddressesEntry) GetOutpoint added in v0.12.0

func (x *UtxosByAddressesEntry) GetOutpoint() *Outpoint

func (*UtxosByAddressesEntry) GetUtxoEntry added in v0.12.0

func (x *UtxosByAddressesEntry) GetUtxoEntry() *UtxoEntry

func (*UtxosByAddressesEntry) ProtoMessage added in v0.12.0

func (*UtxosByAddressesEntry) ProtoMessage()

func (*UtxosByAddressesEntry) ProtoReflect added in v0.12.0

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

func (*UtxosByAddressesEntry) Reset added in v0.12.0

func (x *UtxosByAddressesEntry) Reset()

func (*UtxosByAddressesEntry) String added in v0.12.0

func (x *UtxosByAddressesEntry) String() string

Jump to

Keyboard shortcuts

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