Olaoluwa Osuntokun
8810793e61
Merge pull request #9871 from GeorgeTsagk/htlc-noop-add
...
Add `NoopAdd` HTLCs
2025-08-12 11:56:04 -07:00
Yong
f3e1f2f351
Merge pull request #10141 from ziggie1984/fix-stuck-payment
...
fix stuck payment
2025-08-11 19:44:12 +08:00
Oliver Gugger
d11d699443
Merge pull request #10147 from hieblmi/update-hieblmi-key
...
scripts: update hieblmi pgp key
2025-08-11 04:52:22 -06:00
Slyghtning
1ce64eb45f
scripts: update hieblmi pgp key
2025-08-11 11:47:40 +02:00
Oliver Gugger
72e9ad8e65
Merge pull request #10144 from jtobin/jt/aux-error
...
server: don't mention aux controllers in error message
2025-08-11 00:42:12 -06:00
Jared Tobin
5688935354
server: don't mention aux stuff in error [skip ci]
...
This error is returned when one attempts to use taproot overlay channels
without the necessary auxiliary funding controller being supplied. In
practice, when running lnd via litd, the latter will always supply
'tapd' as the aux funding controller, but a standalone lnd has no
knowledge of that.
The previous message sort of reads like the lnd user has forgotten to
set some available option or flag, but nothing or the sort actually
exists. The update makes it clearer that the feature isn't available in
the standalone build.
2025-08-08 16:10:53 -02:30
George Tsagkarelis
97bbbf14f9
docs: update release notes for NoOp HTLCs
2025-08-08 20:03:30 +02:00
George Tsagkarelis
47d1365fde
lnwallet: add table-driven test for evaluateNoOpHtlc helper
2025-08-08 20:03:30 +02:00
George Tsagkarelis
4a34f78fba
lnwallet: add noop case to retransmit test
...
To make sure we don't cause force-closures because of commit sig
mismatches, we add a test case to verify that the retransmitted HTLC
matches the original HTLC.
2025-08-08 20:03:30 +02:00
George Tsagkarelis
e0486697df
lnwallet: add noop HTLC tests
...
Adds some simple tests to check the noop HTLC logic of the lightning
channel.
2025-08-08 20:03:30 +02:00
George Tsagkarelis
a5a15f6401
lnwallet: detect and handle noop HTLCs
...
We update the lightning channel state machine in some key areas. If the
noop TLV is set in the update_add_htlc custom records then we change the
entry type to noop. When settling the HTLC if the type is noop we credit
the satoshi amount back to the sender.
2025-08-08 20:03:30 +02:00
George Tsagkarelis
aacefb9055
lnwallet: add IsAdd helper to AuxHtlcDescriptor
...
We also add the IsAdd helper to the AuxHtlcDescriptor, as external
software using the aux framework might want to know which type of HTLC
this is.
2025-08-08 20:03:29 +02:00
George Tsagkarelis
138b716519
lnwallet: add noop updateType to paymendDescriptor
...
We add a new update type to the payment descriptor to describe this new
type of htlc. This type of HTLC will only end up being set if explicitly
signalled by external software.
2025-08-08 20:03:27 +02:00
ziggie
dc7bea147a
docs: add release-notes
2025-08-08 10:46:26 +02:00
Elle
a3793b2523
Merge pull request #10129 from ellemouton/graphPerf9
...
[8] graph/db: use batch loading for various graph SQL methods
2025-08-08 10:22:51 +02:00
ziggie
79e1cf0db7
routing: make sure attempts are always resolved after a timeout
...
We check the context of the payment lifecycle at the beginning of
the `resumepayment` loop. This will make sure we have always the
latest state of the payment before deciding on the next steps in
the function `decideNextStep`.
2025-08-08 09:23:07 +02:00
Oliver Gugger
e00a072bab
Merge pull request #10139 from ziggie1984/update-golang-version
...
update Golang version to v1.23.12 to fix potential SQL bug
2025-08-07 23:58:15 -06:00
ziggie
ab6f1fcab8
docs: add release notes
2025-08-07 16:53:45 +02:00
ziggie
87844cd5b4
multi: bump Golang version to v1.23.12
2025-08-07 16:53:45 +02:00
Oliver Gugger
2269859d98
Merge pull request #10138 from sputn1ck/update_sputn1ck_key
...
scripts: update sputn1ck pgp key
2025-08-07 05:33:35 -06:00
sputn1ck
960a3517ad
scripts: update sputn1ck pgp key
...
This comit updates the pgp key for sputn1ck with
a new expiration date.
[skip ci]
2025-08-07 12:30:42 +02:00
Oliver Gugger
8a2128ba41
Merge pull request #9806 from guggero/formatting-list-initializations
...
docs: document formatting for slice definitions
2025-08-07 01:49:54 -06:00
Elle Mouton
522e200c0e
graph/db: add missing counter increment
2025-08-07 08:12:40 +02:00
Elle Mouton
8de33fa601
graph/db: batch fetching for FetchChanInfos
2025-08-07 08:12:40 +02:00
Elle Mouton
594c842aeb
graph/db: batch loading for DisconnectBlockAtHeight
2025-08-07 08:12:40 +02:00
Elle Mouton
69bcf47dca
graph/db: use batch loading for PruneGraph
2025-08-07 08:12:40 +02:00
Elle Mouton
556af8e221
graph/db: use batch fetching for DeleteChannelEdges
2025-08-07 08:12:40 +02:00
Elle Mouton
ebe6a8af9f
graph/db: use batch loading for ChanUpdatesInHorizon
...
The following performance gains were measured using the new benchmark
test.
```
name old time/op new time/op delta
ChanUpdatesInHorizon-native-sqlite-10 18.5s ± 3% 2.0s ± 5% -89.11% (p=0.000 n=9+9)
ChanUpdatesInHorizon-native-postgres-10 59.0s ± 3% 0.8s ±10% -98.65% (p=0.000 n=10+9)
```
2025-08-07 08:12:40 +02:00
Elle Mouton
ce3401ee5d
graph/db: refactor buildNode to not take a pointer
...
Since the type returned from the DB is not a pointer. This will be
useful later on.
2025-08-07 08:04:20 +02:00
Elle Mouton
f51adaf31f
graph/db: refactor makeZombiePubkeys
...
Let the helper method only take the params it needs so that we dont need
to construct an entire models.ChannelEdgeInfo object to pass to it. This
will be useful later on.
2025-08-07 08:04:20 +02:00
Elle Mouton
4cc5cfef2a
graph/db: add ChanUpdatesInHorizon benchmark
2025-08-07 08:04:19 +02:00
Oliver Gugger
e5359f2f5b
Merge pull request #10135 from guggero/update-19-3-release-notes
...
docs: move v0.19.3 items to correct file
2025-08-06 09:20:47 -06:00
Oliver Gugger
02d48d1d81
Merge pull request #10132 from ffranr/update-ffranr-signing-key
...
scripts: update ffranr release signing key
2025-08-06 07:14:48 -06:00
Oliver Gugger
74b327ba9c
Merge pull request #10127 from ellemouton/graphPerf8
...
[7] graph/db+autopilot: improve efficiency of autopilot methods that use the ForEachNode/ForEachChannel pattern
2025-08-06 07:05:25 -06:00
Oliver Gugger
513cdb36a5
Merge pull request #10131 from ziggie1984/remove-positiveblue-pgp-key
...
scripts: remove expired pgp key
2025-08-06 07:04:24 -06:00
Oliver Gugger
429aa830c3
docs: move v0.19.3 items to correct file
...
Moves the PRs that are going to be shipped with v0.19.3 into the correct
release notes file.
2025-08-06 15:02:30 +02:00
ffranr
0676c5669e
scripts: update ffranr release signing key
...
Updated the release signing key. New key fingerprint:
C97A AA14 70F9 7987 8F7A 6DED C344 0ACF 100A 33B4
The old key is no longer in use.
2025-08-06 10:34:31 +01:00
ziggie
3afac74413
scripts: remove expired pgp key
2025-08-06 11:24:54 +02:00
Oliver Gugger
e512770f14
Merge pull request #10125 from ziggie1984/fix-payment-send-local-chan
...
bugfix payment lifecycle payment attempts
2025-08-06 02:56:55 -06:00
Elle Mouton
8aa8c7cc42
multi: remove the NodeRTx interface type
2025-08-06 09:56:21 +02:00
Elle Mouton
15e17e1270
graph/db: remove NodeRTx ForEachChannel method
2025-08-06 09:52:10 +02:00
Elle Mouton
699e335954
autopilot: remove the ForEachChannel method from Node interface
...
And instead make use of the new ForEachNodesChannels method which
uses a much more efficient method for iterating through nodes&channels.
2025-08-06 09:52:09 +02:00
Elle Mouton
ce7fe84da7
autopilot: add ForEachNodesChannels method to ChannelGraph interface
...
This is in preparation for removing the ForEachChannel method from the
Node interface.
2025-08-06 09:50:58 +02:00
Elle Mouton
5727bfa688
graph/db: let ForEachNodeCached maybe fetch node addresses
...
Here we adjust the ForEachNodeCached graph DB method to pass in a node's
addresses into the provided call-back if requested. This will allow us
to improve the performance of node/channel iteration in the autopilot
subserver.
2025-08-06 09:50:54 +02:00
ziggie
a19e7f2e5f
docs: add release-notes
2025-08-06 09:37:09 +02:00
ziggie
28f286a2c1
docs: fix 19.2 release-notes
2025-08-06 09:37:09 +02:00
ziggie
5c22e5eb25
itest: add payment test with max htlc restriction
2025-08-06 09:37:09 +02:00
ziggie
e2a9b17254
multi: skip range check in pathfinder and switch for custom htlc payments
2025-08-06 09:37:08 +02:00
Oliver Gugger
c4db070e5f
Merge pull request #10119 from guggero/remote-signing-imported-tapscript
...
wallet: fix imported tapscript address behavior in watch-only mode
2025-08-05 10:34:27 -06:00
Oliver Gugger
d1f79953b6
docs: add release notes
2025-08-05 16:41:29 +02:00