lnrpc: mark existing ListUnspent RPC as deprecated in favor of walletrpc
This commit is contained in:
parent
acfd432602
commit
146611d1c1
@ -12407,6 +12407,8 @@ type LightningClient interface {
|
||||
//target.
|
||||
SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
|
||||
// lncli: `listunspent`
|
||||
//Deprecated, use walletrpc.ListUnspent instead.
|
||||
//
|
||||
//ListUnspent returns a list of all utxos spendable by the wallet with a
|
||||
//number of confirmations between the specified minimum and maximum.
|
||||
ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error)
|
||||
@ -13486,6 +13488,8 @@ type LightningServer interface {
|
||||
//target.
|
||||
SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
|
||||
// lncli: `listunspent`
|
||||
//Deprecated, use walletrpc.ListUnspent instead.
|
||||
//
|
||||
//ListUnspent returns a list of all utxos spendable by the wallet with a
|
||||
//number of confirmations between the specified minimum and maximum.
|
||||
ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
|
||||
|
@ -83,6 +83,8 @@ service Lightning {
|
||||
}
|
||||
|
||||
/* lncli: `listunspent`
|
||||
Deprecated, use walletrpc.ListUnspent instead.
|
||||
|
||||
ListUnspent returns a list of all utxos spendable by the wallet with a
|
||||
number of confirmations between the specified minimum and maximum.
|
||||
*/
|
||||
|
@ -1363,7 +1363,8 @@
|
||||
},
|
||||
"/v1/utxos": {
|
||||
"get": {
|
||||
"summary": "lncli: `listunspent`\nListUnspent returns a list of all utxos spendable by the wallet with a\nnumber of confirmations between the specified minimum and maximum.",
|
||||
"summary": "lncli: `listunspent`\nDeprecated, use walletrpc.ListUnspent instead.",
|
||||
"description": "ListUnspent returns a list of all utxos spendable by the wallet with a\nnumber of confirmations between the specified minimum and maximum.",
|
||||
"operationId": "ListUnspent",
|
||||
"responses": {
|
||||
"200": {
|
||||
|
Loading…
Reference in New Issue
Block a user