mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 01:33:02 +01:00
lnrpc: fix lncli documentation tags in walletkit.proto
Fixes the tag for `wallet pendingsweeps` and adds the tag for `wallet estimatefeerate`.
This commit is contained in:
parent
0dd58ee529
commit
5290598f1b
@ -222,14 +222,14 @@ service WalletKit {
|
||||
*/
|
||||
rpc SendOutputs (SendOutputsRequest) returns (SendOutputsResponse);
|
||||
|
||||
/*
|
||||
/* lncli: `wallet estimatefeerate`
|
||||
EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
achieve the confirmation target.
|
||||
*/
|
||||
rpc EstimateFee (EstimateFeeRequest) returns (EstimateFeeResponse);
|
||||
|
||||
/* lncli: `pendingsweeps`
|
||||
/* lncli: `wallet pendingsweeps`
|
||||
PendingSweeps returns lists of on-chain outputs that lnd is currently
|
||||
attempting to sweep within its central batching engine. Outputs with similar
|
||||
fee rates are batched together in order to sweep them within a single
|
||||
|
@ -306,7 +306,7 @@
|
||||
},
|
||||
"/v2/wallet/estimatefee/{conf_target}": {
|
||||
"get": {
|
||||
"summary": "EstimateFee attempts to query the internal fee estimator of the wallet to\ndetermine the fee (in sat/kw) to attach to a transaction in order to\nachieve the confirmation target.",
|
||||
"summary": "lncli: `wallet estimatefeerate`\nEstimateFee attempts to query the internal fee estimator of the wallet to\ndetermine the fee (in sat/kw) to attach to a transaction in order to\nachieve the confirmation target.",
|
||||
"operationId": "WalletKit_EstimateFee",
|
||||
"responses": {
|
||||
"200": {
|
||||
@ -680,7 +680,7 @@
|
||||
},
|
||||
"/v2/wallet/sweeps/pending": {
|
||||
"get": {
|
||||
"summary": "lncli: `pendingsweeps`\nPendingSweeps returns lists of on-chain outputs that lnd is currently\nattempting to sweep within its central batching engine. Outputs with similar\nfee rates are batched together in order to sweep them within a single\ntransaction.",
|
||||
"summary": "lncli: `wallet pendingsweeps`\nPendingSweeps returns lists of on-chain outputs that lnd is currently\nattempting to sweep within its central batching engine. Outputs with similar\nfee rates are batched together in order to sweep them within a single\ntransaction.",
|
||||
"description": "NOTE: Some of the fields within PendingSweepsRequest are not guaranteed to\nremain supported. This is an advanced API that depends on the internals of\nthe UtxoSweeper, so things may change.",
|
||||
"operationId": "WalletKit_PendingSweeps",
|
||||
"responses": {
|
||||
|
@ -164,11 +164,12 @@ type WalletKitClient interface {
|
||||
// allows the caller to create a transaction that sends to several outputs at
|
||||
// once. This is ideal when wanting to batch create a set of transactions.
|
||||
SendOutputs(ctx context.Context, in *SendOutputsRequest, opts ...grpc.CallOption) (*SendOutputsResponse, error)
|
||||
// lncli: `wallet estimatefeerate`
|
||||
// EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
// determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
// achieve the confirmation target.
|
||||
EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error)
|
||||
// lncli: `pendingsweeps`
|
||||
// lncli: `wallet pendingsweeps`
|
||||
// PendingSweeps returns lists of on-chain outputs that lnd is currently
|
||||
// attempting to sweep within its central batching engine. Outputs with similar
|
||||
// fee rates are batched together in order to sweep them within a single
|
||||
@ -688,11 +689,12 @@ type WalletKitServer interface {
|
||||
// allows the caller to create a transaction that sends to several outputs at
|
||||
// once. This is ideal when wanting to batch create a set of transactions.
|
||||
SendOutputs(context.Context, *SendOutputsRequest) (*SendOutputsResponse, error)
|
||||
// lncli: `wallet estimatefeerate`
|
||||
// EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
// determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
// achieve the confirmation target.
|
||||
EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
|
||||
// lncli: `pendingsweeps`
|
||||
// lncli: `wallet pendingsweeps`
|
||||
// PendingSweeps returns lists of on-chain outputs that lnd is currently
|
||||
// attempting to sweep within its central batching engine. Outputs with similar
|
||||
// fee rates are batched together in order to sweep them within a single
|
||||
|
Loading…
x
Reference in New Issue
Block a user