pb

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_BTCDwalletd_proto protoreflect.FileDescriptor
View Source
var Kaspawalletd_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "BTCDwalletd.BTCDwalletd",
	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,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "BTCDwalletd.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

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

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

Deprecated: Use AddressBalances.ProtoReflect.Descriptor instead.

func (*AddressBalances) GetAddress

func (x *AddressBalances) GetAddress() string

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 BTCDwalletdClient

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

func (*BTCDwalletdClient) Broadcast

func (*BTCDwalletdClient) CreateUnsignedTransactions

func (*BTCDwalletdClient) GetBalance

func (*BTCDwalletdClient) GetExternalSpendableUTXOs

func (*BTCDwalletdClient) NewAddress

func (*BTCDwalletdClient) Send

func (*BTCDwalletdClient) ShowAddresses

func (*BTCDwalletdClient) Shutdown

func (*BTCDwalletdClient) Sign

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"`
	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

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

Deprecated: Use CreateUnsignedTransactionsRequest.ProtoReflect.Descriptor instead.

func (*CreateUnsignedTransactionsRequest) GetAddress

func (x *CreateUnsignedTransactionsRequest) GetAddress() string

func (*CreateUnsignedTransactionsRequest) GetAmount

func (*CreateUnsignedTransactionsRequest) GetFrom

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 (*CreateUnsignedTransactionsRequest) Reset

func (*CreateUnsignedTransactionsRequest) 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 (*CreateUnsignedTransactionsResponse) Reset

func (*CreateUnsignedTransactionsResponse) 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 {
	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

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

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 (*GetExternalSpendableUTXOsRequest) Reset

func (*GetExternalSpendableUTXOsRequest) 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 (*GetExternalSpendableUTXOsResponse) ProtoMessage

func (*GetExternalSpendableUTXOsResponse) ProtoMessage()

func (*GetExternalSpendableUTXOsResponse) ProtoReflect

func (*GetExternalSpendableUTXOsResponse) Reset

func (*GetExternalSpendableUTXOsResponse) 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)
}

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)
	// contains filtered or unexported methods
}

KaspawalletdServer is the server API for Kaspawalletd service. All implementations must embed UnimplementedKaspawalletdServer 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) Descriptor() ([]byte, []int)

Deprecated: Use Outpoint.ProtoReflect.Descriptor instead.

func (*Outpoint) GetIndex

func (x *Outpoint) GetIndex() uint32

func (*Outpoint) GetTransactionId

func (x *Outpoint) GetTransactionId() string

func (*Outpoint) ProtoMessage

func (*Outpoint) ProtoMessage()

func (*Outpoint) ProtoReflect

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

func (*Outpoint) Reset

func (x *Outpoint) Reset()

func (*Outpoint) String

func (x *Outpoint) String() string

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"`
	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

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetAmount

func (x *SendRequest) GetAmount() uint64

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 UnimplementedKaspawalletdServer

type UnimplementedKaspawalletdServer struct {
}

UnimplementedKaspawalletdServer must be embedded to have forward compatible implementations.

func (UnimplementedKaspawalletdServer) Broadcast

func (UnimplementedKaspawalletdServer) GetBalance

func (UnimplementedKaspawalletdServer) NewAddress

func (UnimplementedKaspawalletdServer) Send

func (UnimplementedKaspawalletdServer) ShowAddresses

func (UnimplementedKaspawalletdServer) Shutdown

func (UnimplementedKaspawalletdServer) Sign

type UnsafeKaspawalletdServer

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

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

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

Deprecated: Use UtxoEntry.ProtoReflect.Descriptor instead.

func (*UtxoEntry) GetAmount

func (x *UtxoEntry) GetAmount() uint64

func (*UtxoEntry) GetBlockDaaScore

func (x *UtxoEntry) GetBlockDaaScore() uint64

func (*UtxoEntry) GetIsCoinbase

func (x *UtxoEntry) GetIsCoinbase() bool

func (*UtxoEntry) GetScriptPublicKey

func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey

func (*UtxoEntry) ProtoMessage

func (*UtxoEntry) ProtoMessage()

func (*UtxoEntry) ProtoReflect

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

func (*UtxoEntry) Reset

func (x *UtxoEntry) Reset()

func (*UtxoEntry) String

func (x *UtxoEntry) String() string

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

Jump to

Keyboard shortcuts

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