walletrpc: add default values to listunspent
This commit is contained in:
1 parent
9a50cc95b7
commit
74db83bbfb
7 files changed
+485
-436
No files matched your search
@@ -21,7 +21,9 @@ const _ = grpc.SupportPackageIsVersion7
|
||||
type WalletKitClient interface {
|
||||
//
|
||||
//ListUnspent returns a list of all utxos spendable by the wallet with a
|
||||
//number of confirmations between the specified minimum and maximum.
|
||||
//number of confirmations between the specified minimum and maximum. By
|
||||
//default, all utxos are listed. To list only the unconfirmed utxos, set
|
||||
//the unconfirmed_only to true.
|
||||
ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error)
|
||||
//
|
||||
//LeaseOutput locks an output to the given ID, preventing it from being
|
||||
@@ -393,7 +395,9 @@ func (c *walletKitClient) FinalizePsbt(ctx context.Context, in *FinalizePsbtRequ
|
||||
type WalletKitServer interface {
|
||||
//
|
||||
//ListUnspent returns a list of all utxos spendable by the wallet with a
|
||||
//number of confirmations between the specified minimum and maximum.
|
||||
//number of confirmations between the specified minimum and maximum. By
|
||||
//default, all utxos are listed. To list only the unconfirmed utxos, set
|
||||
//the unconfirmed_only to true.
|
||||
ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
|
||||
//
|
||||
//LeaseOutput locks an output to the given ID, preventing it from being
|
||||
|
||||
Reference in new issue
Block a user