Proto commits in lightningnetwork/lnd

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:94463c6
Author:yyforyongyu
Committer:yyforyongyu

walletrpc: add new field `MaturityHeight`

The documentation is generated from this commit.

Commit:e9fc852
Author:Elle Mouton
Committer:Elle Mouton

lnrpc+rpcperms: add ctx metadata pairs to RPCMiddlewareRequest The MW interceptor works via a stream & sends requests to the interceptor via this stream. Sometimes, the interceptor might want to work with grpc metadata pairs that were sent via the context of the original request though and so in this commit, we ensure that for each request sent via the stream to the interceptr, the grpc metadata is sent along explicitly as well. This is done by adding a new `metadata_pairs` field to the RPCMiddlewareRequest proto message.

Commit:a62e410
Author:Andras Banki-Horvath
Committer:Andras Banki-Horvath

walletrpc: add custom lock ID and lock duration to FundPsbtRequest

Commit:bab5cab
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc+rpcserver: add custom channel data for closed channels This commit adds the custom channel data for closed channels which represents the initial funding state as well as the final balances at closing time.

Commit:c68716e
Author:Viktor Tigerström
Committer:Viktor Tigerström

lnrpc: add `AllowRemoteSigner` `WalletState` proto To accept incoming connections from the remote signer and use the remote signer stream for any required signatures on the watch-only node, we must allow the connection from the remote signer before any signatures are needed. Currently, we only allow requests through the `InterceptorChain` into the rpc-servers after the `WalletState` has been set to `RpcActive`. This status is only set once the main `RpcServer`, along with all sub-servers, have been fully started and populated with their dependencies. The problem is that we need signatures from the remote signer to create some of the dependencies for the sub-servers. Because of this, we need to let the remote signer connect before all dependencies are created. To enable this, we add a new `WalletState`, `AllowRemoteSigner`, which allows connection requests from a remote signer to pass through the `InterceptorChain` when the `AllowRemoteSigner` state is set. This state is set before the `RpcActive` state.

Commit:586216a
Author:Viktor Tigerström
Committer:Viktor Tigerström

walletrpc: add `SignCoordinatorStreams` RPC To enable an outbound remote signer to connect to the watch-only lnd node, we add a SignCoordinatorStreams bi-directional streaming RPC endpoint. The stream created when the remote signer connects to this endpoint can be used to pass any requests to the remote signer and to receive the corresponding responses. We clearly define the types of requests and responses that can be sent over the stream, including all the requests that can be sent to the remote signer with the previous implementation. Those are the ones sent to the `signrpc.SignerClient` and `walletrpc.WalletKitClient` in the `lnwallet/rpcwallet.go` file. We also include messages for the required handshake between the remote signer and the watch-only node, and a message that the remote signer can send if it encounters an error while processing a request.

Commit:0aea482
Author:Oliver Gugger
Committer:Oliver Gugger

multi: add testnet4 support

Commit:0892b59
Author:yyforyongyu
Committer:yyforyongyu

lnrpc+rpcserver: add new field `LockedIn` for HTLCs In this commit, we add a new field `LockedIn` on HTLCs so it can be used to decide whether an HTLC found on the local commitment has been committed on the remote commitment.

Commit:b32f576
Author:Olaoluwa Osuntokun
Committer:Olaoluwa Osuntokun

lnrpc: add fee rate and local close bool to PendingUpdate This'll allow us to notify the caller each time a new coop close transaction with a higher fee rate is signed.

Commit:1227eb1
Author:Oliver Gugger
Committer:GitHub

Merge pull request #9491 from ziggie1984/closechannel-rpc Allow coop closing a channel with HTLCs on it via lncli

Commit:59443fa
Author:ziggie
Committer:ziggie

multi: coop close with active HTLCs on the channel For the lncli cmd we now always initiate the coop close even if there are active HTLCs on the channel. In case HTLCs are on the channel and the coop close is initiated LND handles the closing flow in the background and the lncli cmd will block until the transaction is broadcasted to the mempool. In the background LND disallows any new HTLCs and waits until all HTLCs are resolved before kicking of the negotiation process. Moreover if active HTLCs are present and the no_wait param is not set the error msg is now highlightning it so the user can react accordingly.

Commit:0916f3e
Author:Boris Nagaev
Committer:Boris Nagaev

walletrpc: fix description of bumpfee.immediate It waits for the next block and sends CPFP even if there are no other inputs to form a batch.

Commit:bfea6e5
Author:ziggie
Committer:Olaoluwa Osuntokun

walletrpc: add new deadline-delta param to bumpfee rpc Add new parameter deadline-delta to the bumpfee request and only allow it to be used when the budget value is used as well.

Commit:34c4d12
Author:ziggie
Committer:ziggie

walletrpc: add new deadline-delta param to bumpfee rpc Add new parameter deadline-delta to the bumpfee request and only allow it to be used when the budget value is used as well.

Commit:8d3611a
Author:Mohamed Awnallah
Committer:Mohamed Awnallah

lnrpc: deprecate legacy RPCs In this commit, we deprecate `SendToRouteSync` and `SendPaymentSync` RPC endpoints.

Commit:61a5bbb
Author:Jesse de Wit
Committer:Oliver Gugger

lnrpc: add create_missing_edge flag

Commit:b577ad4
Author:Nishant Bansal
Committer:Nishant Bansal

routerrpc: default timeout_seconds to 60 in SendPaymentV2 If timeout_seconds is not set or is 0, the default value of 60 seconds will be used. Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

Commit:99f5ca4
Author:Keagan McClelland
Committer:Keagan McClelland

lnrpc add new RPC 'Quiesce' to protobuf definitions

Commit:94f7ed4
Author:Oliver Gugger
Committer:GitHub

Merge pull request #8998 from Abdulkbk/trx-pagination pagination: add pagination to wallet transactions

Commit:762d015
Author:Abdullahi Yunus
Committer:Abdullahi Yunus

multi: return txns first and last indices In this commit we introduce first and last indices for the tranasctions returned which can be used to seek for further transactions in a pagination style. Signed-off-by: Abdullahi Yunus <abdoollahikbk@gmail.com>

Commit:037db42
Author:Abdullahi Yunus
Committer:Abdullahi Yunus

lnrpc: modify gettransaction parameters This commit adds index_offset and max_transactions to the list of parameters passed during gettransactions call. index_offset specify transactions to skip and max_transactions the total transactions returned

Commit:f1299fd
Author:Jesse de Wit
Committer:Jesse de Wit

lnrpc: add create_missing_edge flag

Commit:7896bef
Author:Carla Kirk-Cohen
Committer:Carla Kirk-Cohen

htlcswitch: merge copy htlc custom records

Commit:d89ea2d
Author:Oliver Gugger

walletrpc: return meaningful responses instead of empty

Commit:45e13ce
Author:Oliver Gugger

lnrpc+rpcserver: return meaningful responses instead of empty

Commit:f2b7632
Author:George Tsagkarelis
Committer:George Tsagkarelis

lnrpc: add maxFeeRatio to FundPsbtRequest

Commit:fb8bdfe
Author:Oliver Gugger
Committer:Oliver Gugger

walletrpc: add sat_per_kw fee rate option To allow more precise fee rates, we add a sat_per_kw option to the fee oneof in the gRPC definition.

Commit:006026f
Author:Oliver Gugger
Committer:GitHub

Merge pull request #9215 from carlaKC/9166-docs routerrpc/trivial: add docs to forward interceptor

Commit:2999b37
Author:George Tsagkarelis
Committer:Oliver Gugger

lnrpc+invoices: add cancelSet to HtlcModifier interface

Commit:1c17356
Author:George Tsagkarelis
Committer:George Tsagkarelis

lnrpc+invoices: add cancelSet to HtlcModifier interface

Commit:38bfe1b
Author:Carla Kirk-Cohen
Committer:Carla Kirk-Cohen

routerrpc: add docs to forward interceptor

Commit:4eaba9b
Author:Olaoluwa Osuntokun
Committer:Oliver Gugger

lnrpc: add SIMPLE_TAPROOT_OVERLAY feature bit

Commit:9ce7995
Author:Oliver Gugger
Committer:Oliver Gugger

multi: add co-op close custom data to close update With this commit we populate additional information about the close outputs (including potential custom channel data) in the close update RPC message. This will allow custom channels to find out how the additional close outputs look like on chain and what data they might commit to. We also hook up the aux custom data formatter, so it can format the custom channel data to JSON.

Commit:e417250
Author:ffranr
Committer:Oliver Gugger

invoicesrpc: add `HtlcModifier` RPC endpoint and modifier RPC server This commit introduces a singleton invoice HTLC modifier RPC server and an endpoint to activate it. The server interfaces with the internal invoice HTLC modifier interpreter, handling the marshalling between RPC types and internal formats.

Commit:0cb599d
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc+rpcserver: encode custom records as custom channel data With this commit we encode the custom records as a TLV stream into the custom channel data field of the invoice HTLC. This allows the custom data parser to parse those records and replace it with human-readable JSON on the RPC interface.

Commit:23ef68a
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc+rpcserver: add and populate custom channel data

Commit:1822b2f
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc: add first hop custom data to route

Commit:857a16d
Author:George Tsagkarelis
Committer:Oliver Gugger

lnrpc: add wire records fields to payment+interceptor RPCs

Commit:0403b97
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc: add first hop custom records to RPC payment info

Commit:533b9f2
Author:ffranr
Committer:Oliver Gugger

routerrpc: extend HTLC forward interceptor resp with modification fields This commit extends the forward HTLC intercept response with fields that can be used in conjunction with a `ResumeModified` action to modify the intercepted HTLC p2p message.

Commit:d6ef2a1
Author:George Tsagkarelis
Committer:Oliver Gugger

routerrpc: add XAddLocalChanAliases & XDeleteLocalChanAliases

Commit:5290598
Author:feelancer21
Committer:feelancer21

lnrpc: fix lncli documentation tags in walletkit.proto Fixes the tag for `wallet pendingsweeps` and adds the tag for `wallet estimatefeerate`.

Commit:d72de4c
Author:Olaoluwa Osuntokun
Committer:Olaoluwa Osuntokun

lnrpc: add SIMPLE_TAPROOT_OVERLAY feature bit

Commit:e0b4601
Author:Oliver Gugger
Committer:Oliver Gugger

multi: add co-op close custom data to close update With this commit we populate additional information about the close outputs (including potential custom channel data) in the close update RPC message. This will allow custom channels to find out how the additional close outputs look like on chain and what data they might commit to. We also hook up the aux custom data formatter, so it can format the custom channel data to JSON.

Commit:d37df75
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc+rpcserver: encode custom records as custom channel data With this commit we encode the custom records as a TLV stream into the custom channel data field of the invoice HTLC. This allows the custom data parser to parse those records and replace it with human-readable JSON on the RPC interface.

Commit:1975fa6
Author:ffranr
Committer:Oliver Gugger

invoicesrpc: add `HtlcModifier` RPC endpoint and modifier RPC server This commit introduces a singleton invoice HTLC modifier RPC server and an endpoint to activate it. The server interfaces with the internal invoice HTLC modifier interpreter, handling the marshalling between RPC types and internal formats.

Commit:5e1a98c
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc+rpcserver: add and populate custom channel data

Commit:81c8331
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc: add first hop custom data to route

Commit:afdceab
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc: add first hop custom records to RPC payment info

Commit:42e358e
Author:George Tsagkarelis
Committer:Oliver Gugger

lnrpc: add wire records fields to payment+interceptor RPCs

Commit:fb14d8c
Author:ffranr
Committer:Oliver Gugger

routerrpc: extend HTLC forward interceptor resp with modification fields This commit extends the forward HTLC intercept response with fields that can be used in conjunction with a `ResumeModified` action to modify the intercepted HTLC p2p message.

Commit:70f82bc
Author:George Tsagkarelis
Committer:Oliver Gugger

routerrpc: add XAddLocalChanAliases & XDeleteLocalChanAliases

Commit:3a8e7cc
Author:Elle Mouton
Committer:Elle Mouton

lnrpc: update in preparation for G175 Add a new ChannelUpdate2 message which can be returned with a Failure. Also add a block_height member to the RoutingPolicy which will be populated when the last_update field is not.

Commit:9776d5c
Author:Olaoluwa Osuntokun
Committer:Olaoluwa Osuntokun

lnrpc: add fee rate and local close bool to PendingUpdate This'll allow us to notify the caller each time a new coop close transaction with a higher fee rate is signed.

Commit:07b18c1
Author:ziggie
Committer:ziggie

multi: add bumpforceclosefee rpc endpoint. Add a new bumpforceclosefee rpc endpoint to the wallet server. Move the logic from the lncli level to the wallet server rpc level. This is more in line with a proper client-server design. wallet lncli: use new bumpforceclosefee endpoint. Besides using the new bumpforceclosefee rpc endpoint we also enable the bumping of taproot anchor channels.

Commit:5e84ba9
Author:Elle Mouton
Committer:Elle Mouton

multi: add IsBlinded to lnrpc.Invoice for nicer UX The BlindedPathConfig struct is nice for invoice creation but when we use the Invoice message for viewing an invoice, it would be nicer to see an "is_blinded" field.

Commit:5a84ca8
Author:Olaoluwa Osuntokun
Committer:GitHub

Merge pull request #8986 from Roasbeef/min-relay-fee-rpc lnrpc: add new min_relay_fee response to EstimateFee

Commit:7f96d10
Author:Olaoluwa Osuntokun
Committer:Olaoluwa Osuntokun

lnrpc: add new min_relay_fee response to EstimateFee We also start using a pattern of making new messages for types/units instead of adding a suffix to a field.

Commit:e4619af
Author:Elle Mouton
Committer:Elle Mouton

multi: add node omission list for blinded paths

Commit:3de6c54
Author:Elle Mouton
Committer:Elle Mouton

multi: let blinded path invoice options be set per addinvoice call Extend the configurability of blinded paths in invoices by adding the ability to change the global config options on a per-RPC basis.

Commit:468ca87
Author:Ononiwu Maureen
Committer:yyforyongyu

lnrpc: Add `Outpoint` field in `SendCoinsRequest` Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>

Commit:d18c4d6
Author:Slyghtning
Committer:Slyghtning

lnrpc: payment failure reason canceled

Commit:de97533
Author:Elle Mouton
Committer:Elle Mouton

multi: add blinded paths to invoices Expose the ability to add blinded paths to an invoice. Also expose various configuration values. We also let the lncfg.Invoices struct satisfy the Validator interface so that we can verify all its config values in one place.

Commit:93f8951
Author:Elle Mouton
Committer:Elle Mouton

lnrpc+rpcserver: Add blinded payment paths to PayReq This commit adds a blinded_paths field to the PayReq proto message. A new helper called `CreateRPCBlindedPayments` is then added to convert the zpay32 type to the existing `lnrpc.BlindedPaymentPath` type and add this to the `PayReq` in the `DecodePayReq` rpc method.

Commit:7839454
Author:Olaoluwa Osuntokun
Committer:Olaoluwa Osuntokun

lnrpc: add SIMPLE_TAPROOT_OVERLAY feature bit

Commit:e729084
Author:Slyghtning
Committer:Slyghtning

lnrpc: cancelable sendpayment request

Commit:1936aa7
Author:Slyghtning

lnrpc: channel point for GetChanInfo

Commit:dfc2717
Author:Oliver Gugger
Committer:Oliver Gugger

multi: add co-op close custom data to close update With this commit we populate additional information about the close outputs (including potential custom channel data) in the close update RPC message. This will allow custom channels to find out how the additional close outputs look like on chain and what data they might commit to. We also hook up the aux custom data formatter, so it can format the custom channel data to JSON.

Commit:1f86f38
Author:Oliver Gugger

Merge remote-tracking branch 'origin/master' into 0-19-staging

Commit:2580661
Author:ffranr
Committer:Oliver Gugger

invoicesrpc: add `HtlcModifier` RPC endpoint and modifier RPC server This commit introduces a singleton invoice HTLC modifier RPC server and an endpoint to activate it. The server interfaces with the internal invoice HTLC modifier interpreter, handling the marshalling between RPC types and internal formats.

Commit:1b3f386
Author:Oliver Gugger
Committer:Oliver Gugger

lnrpc+rpcserver: add and populate custom channel data

Commit:f62c00f
Author:feelancer21
Committer:feelancer21

multi: Inbound fees are retained when not provided Fixes the problem that inbound base fee and fee rate are overwritten with 0 if they are not specified in PolicyUpdateRequest. This ensures backward compatibility with older rpc clients that do not yet support the inbound feature.

Commit:a5fcf33
Author:George Tsagkarelis
Committer:Oliver Gugger

lnrpc: add wire records fields to SendPayment & HtlcInterceptor

Commit:9d90485
Author:George Tsagkarelis
Committer:Oliver Gugger

routerrpc: add XAddLocalChanAliases & XDeleteLocalChanAliases

Commit:bd5de43
Author:ffranr
Committer:ffranr

routerrpc: extend HTLC forward interceptor resp with modification fields This commit extends the forward HTLC intercept response with fields that can be used in conjunction with a `ResumeModified` action to modify the intercepted HTLC p2p message.

Commit:03dceca
Author:Oliver Gugger
Committer:ffranr

multi: add incoming htlc amount to interceptor

Commit:7953d67
Author:Oliver Gugger

lnrpc: fix incorrectly removed field

Commit:b811f3e
Author:Oliver Gugger

multi: remove custom data from openchannel RPC

Commit:3b8a3fa
Author:ffranr
Committer:Oliver Gugger

invoicesrpc: add `InvoiceAcceptor` RPC endpoint and acceptor RPC server This commit introduces a singleton invoice acceptor RPC server and an endpoint to activate it. The server interfaces with the internal invoice settlement interpreter, handling the marshalling between RPC types and internal formats. Named "acceptor," it allows clients to accept invoice settlements, but not to reject them.

Commit:d5b1f57
Author:Oliver Gugger

multi: add incoming htlc amount to interceptor

Commit:995f1fe
Author:George Tsagkarelis
Committer:Oliver Gugger

lnrpc: add wire records to intercept request

Commit:25d8cd9
Author:ffranr
Committer:Oliver Gugger

routerrpc: extend HTLC forward interceptor resp with modification fields This commit extends the forward HTLC intercept response with fields that can be used in conjunction with a `ResumeModified` action to modify the intercepted HTLC p2p message.

Commit:9f29952
Author:yyforyongyu

lnrpc: fix typo

Commit:3a53b16
Author:George Tsagkarelis
Committer:Olaoluwa Osuntokun

lnrpc: add first hop records field to SendPayment

Commit:eaa8592
Author:Carla Kirk-Cohen
Committer:Carla Kirk-Cohen

multi: enable optional route blinding feature

Commit:675931a
Author:Olaoluwa Osuntokun

lnrpc: add custom blob to pendingchannels + channelbalance

Commit:4f48cc6
Author:Mohamed Awnallah
Committer:Mohamed Awnallah

lnrpc: add `all_payments` opt to DeleteAllPayments

Commit:b4731b3
Author:Oliver Gugger
Committer:Oliver Gugger

cmd/lncli: move commands and export

Commit:94159e8
Author:yyforyongyu
Committer:yyforyongyu

walletrpc: update `walletkit.proto` to use the new sweep params

Commit:11a276e
Author:yyforyongyu
Committer:yyforyongyu

walletrpc+sweep: update `PendingSweeps` to return the new params

Commit:db3aad3
Author:yyforyongyu
Committer:yyforyongyu

lnrpc+sweep: rename `Force` to `Immediate` for clarity

Commit:fac2395
Author:Oliver Gugger
Committer:Oliver Gugger

cmd/lncli: move commands and export

Commit:7c2c0dc
Author:Mohamed Awnallah
Committer:Mohamed Awnallah

lnrpc+lnd+config: add coin selection strategy to all on-chain rpcs In this commit, we add the coin selection strategy option to all on-chain RPCs `FundPsbt`, `BatchOpenChannel`, `EstimateFee`, `SendMany`, `SendCoins`, `SendOutputs`.

Commit:763787e
Author:Joost Jager
Committer:Joost Jager

routing+lnrpc: add inbound fee policy update

Commit:3e6adbf
Author:Joost Jager
Committer:Joost Jager

lnwire+channeldb: parse inbound fees In this commit, the tlv extension of a channel update message is parsed. If an inbound fee schedule is encountered, it is reported in the graph rpc calls.

Commit:4214330
Author:Carla Kirk-Cohen
Committer:Carla Kirk-Cohen

lnrpc: rename proportional fee rate on lnrpc This field is incorrectly suffixed as "msat", when it is actually interpreted as the proportional fee rate. This is the value that we should be using because the sender will calculate proportional fees accordingly. This is a breaking change to the RPC, but on an experimental and unreleased API.

Commit:041a785
Author:Elle Mouton
Committer:Elle Mouton

lnrpc: undo GetInfo Chains list deprecation

Commit:60bc30d
Author:cuinix

remove repetitive words Signed-off-by: cuinix <915115094@qq.com>

Commit:721038d
Author:Slyghtning
Committer:Slyghtning

routerrpc: overhaul RouteFeeRequest with probing parameters.

Commit:54fa580
Author:Oliver Gugger
Committer:Oliver Gugger

lnwallet+lnrpc: add address index to ListAddresses For the itest in the next commit we'll need to be able to fetch the input information for an address over RPC. The only piece missing is the address' index, which we add in this commit. Everything else should be derivable from the ListAddresses and ListAccounts calls.