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.
|
//target.
|
||||||
SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
|
SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
|
||||||
// lncli: `listunspent`
|
// lncli: `listunspent`
|
||||||
|
//Deprecated, use walletrpc.ListUnspent instead.
|
||||||
|
//
|
||||||
//ListUnspent returns a list of all utxos spendable by the wallet with a
|
//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.
|
||||||
ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error)
|
ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error)
|
||||||
@ -13486,6 +13488,8 @@ type LightningServer interface {
|
|||||||
//target.
|
//target.
|
||||||
SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
|
SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
|
||||||
// lncli: `listunspent`
|
// lncli: `listunspent`
|
||||||
|
//Deprecated, use walletrpc.ListUnspent instead.
|
||||||
|
//
|
||||||
//ListUnspent returns a list of all utxos spendable by the wallet with a
|
//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.
|
||||||
ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
|
ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
|
||||||
|
@ -83,8 +83,10 @@ service Lightning {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* lncli: `listunspent`
|
/* lncli: `listunspent`
|
||||||
|
Deprecated, use walletrpc.ListUnspent instead.
|
||||||
|
|
||||||
ListUnspent returns a list of all utxos spendable by the wallet with a
|
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.
|
||||||
*/
|
*/
|
||||||
rpc ListUnspent (ListUnspentRequest) returns (ListUnspentResponse) {
|
rpc ListUnspent (ListUnspentRequest) returns (ListUnspentResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
|
@ -1363,7 +1363,8 @@
|
|||||||
},
|
},
|
||||||
"/v1/utxos": {
|
"/v1/utxos": {
|
||||||
"get": {
|
"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",
|
"operationId": "ListUnspent",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
|
Loading…
Reference in New Issue
Block a user