Commit Graph

926 Commits

Author SHA1 Message Date
Joost Jager
a0a50fa844
htlcswitch: auto-fail held htlcs
Make the interceptable switch aware of htlc expiry and fail back htlcs in-time
to prevent the counterparty from force-closing the channel.
2022-10-18 18:06:49 +02:00
Olaoluwa Osuntokun
c65abf8b05
Merge pull request #6759 from yyforyongyu/1-new-itest
itest: start a scaffolding testing framework
2022-10-17 20:06:48 -07:00
positiveblue
a92d7ad6d3
docs: update release notes for v0.16.0-beta 2022-10-17 00:55:16 -07:00
yyforyongyu
ff0b953fa2
docs: add release note for the new itest 2022-10-14 15:45:25 +08:00
Oliver Gugger
2e410dd248
Merge pull request #7029 from MStreet3/bug/blockcache-test-data-race
blockcache: fix datarace in blockcache_test
2022-10-13 20:10:07 +02:00
Michael Street
a51e1ae931
docs: add release notes 2022-10-13 10:33:09 -04:00
Oliver Gugger
d2d3cf3408
Merge pull request #6956 from ellemouton/configureChanReserve
multi: configurable remote chan reserve
2022-10-13 15:39:40 +02:00
Oliver Gugger
d55f861107
Merge pull request #6928 from ellemouton/wtclientMemPerf
multi: remove AckedUpdates & CommittedUpdates from ClientSession struct
2022-10-13 15:34:35 +02:00
Elle Mouton
e6eed56827
docs: update release notes for #6928 2022-10-13 14:42:51 +02:00
Oliver Gugger
fcdb2b545f
docs: add release notes 2022-10-13 14:40:43 +02:00
Oliver Gugger
707546e2f0
Merge pull request #6972 from ellemouton/wtclientTowerDb
watchtower: add towerID-to-sessionID index
2022-10-13 13:09:12 +02:00
Eng Zer Jun
4a464c2aaf
docs: add release note entry for #6864
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:04 +08:00
Elle Mouton
2294e11b7a
docs: update release notes 2022-10-13 11:30:27 +02:00
Oliver Gugger
4e42ef0ab2
docs: add release notes 2022-10-13 09:45:07 +02:00
Matt Morehouse
00e26c1bc9
docs: update release notes 2022-10-11 12:05:36 -05:00
Oliver Gugger
b387e2c718
Merge pull request #6832 from kklash/switch-test-resource-cleanup
htlcswitch: clean up test resources and temporary files
2022-10-11 15:55:57 +02:00
Oliver Gugger
ff35647db3
Merge pull request #7019 from guggero/golang-1-19-2
build: bump Golang version to v1.19.2
2022-10-11 13:35:50 +02:00
Oliver Gugger
43521633ce
docs: update release notes 2022-10-11 09:56:04 +02:00
Oliver Gugger
299152e631
docs: update remote signing update hint to v0.15.3-beta [skip ci]
This commit bumps the recommended version to upgrade to for remote
signing setups.
2022-10-11 09:42:43 +02:00
Olaoluwa Osuntokun
2482de9cab
lnwallet/chancloser: properly compute initial fee of cop close txn
In this commit, we modify the way we compute the starting ideal fee for
the co-op close transaction. Before thsi commit, channel.CalcFee was
used, which'll compute the fee based on the commitment transaction
itself, rathern than the co-op close transaction. As the co-op close
transaction is potentailly bigger (two P2TR outputs) than the commitment
transaction, this can cause us to under estimate the fee, which can
result in the fee rate being too low to propagate.

To remedy this, we now compute a fee estimate from scratch, based on the
delivery fees of the two parties.

We also add a bug fix in the chancloser unit tests that wasn't caught
due to loop variable shadowing.

The wallet import itest has been updated as well, since we'll now pay
600 extra saothis to close the channel, since we're accounting for the
added weight of the P2TR outputs.

Fixes #6953
2022-10-10 14:50:45 -07:00
kklash
63428de6e5 htlcswitch: clean up test resources and temporary files
The htlcswitch tests were creating temporary database files
but failing to clean them up.

We fix this by making it obvious when temporary db files are
created, and cleaning up those resources where necessary in
the tests.
2022-10-10 10:32:39 -07:00
Olaoluwa Osuntokun
1c884846e7
docs/release-notes: shift prior 0.15.2 release to 0.15.3
We also add an entry for the _new_ 0.15.2 hot fix release.
2022-10-09 18:39:40 -07:00
Elle Mouton
fba6cae44b
docs: update release notes 2022-10-07 14:57:05 +02:00
eugene
62eca941b1
release-notes: update for 0.15.2 2022-10-06 19:34:56 -04:00
Oliver Gugger
abbf47fde8
docs: add release notes [skip ci] 2022-10-03 13:44:03 +02:00
Oliver Gugger
fb9e9f57c5
docs: describe remote signing upgrade process
This commit adds a short guide that explains how a remote signing node
setup should be migrated from lnd v0.14.x-beta to lnd v0.15.x-beta and
adds a note to all 0.15.x release notes.
2022-10-03 13:33:31 +02:00
Olaoluwa Osuntokun
bc5638428e
Merge pull request #6789 from Crypt-iQ/waitingclose
server+htlcswitch: check waiting-close fwdpkgs in reforwardResponses
2022-09-30 16:39:49 -07:00
Olaoluwa Osuntokun
94ab72363a
Merge pull request #6914 from positiveblue/fix-6898
addinvoice: refactor hint hop selection algorithm
2022-09-30 11:57:54 -07:00
eugene
ff3c942a96
release-notes: update for 0.16.0 2022-09-30 14:40:41 -04:00
positiveblue
55ddbd41c4
docs: add release notes for hop hint selection refactor 2022-09-30 06:55:16 -07:00
Orbital
14cc7e5892
docs: update release notes 2022-09-30 01:54:31 -05:00
Graham Krizek
c284574104
docs: Add a section in configuring_tor about the --tor.encryptkey flag 2022-09-30 01:53:46 -05:00
Slyghtning
5083cc5607 docs: release notes for channel fees of openchannel 2022-09-29 08:31:48 -04:00
Oliver Gugger
b8545de5c0
Merge pull request #6941 from lightningnetwork/taproot-fee-estimation-fix
build: update to latest version of btcwallet w/ taproot estimation fix
2022-09-28 11:51:25 +02:00
Olaoluwa Osuntokun
d062a5263e
build: update to latest version of btcwallet w/ taproot estimation fix
Fixes https://github.com/lightningnetwork/lnd/issues/6873
2022-09-27 11:24:39 -07:00
Oliver Gugger
6a4648b7aa
Merge pull request #6936 from hieblmi/patch-1
doc: update psbt.md
2022-09-27 17:03:18 +02:00
Slyghtning
4ec397aa80 doc: fix typos in psbt.md 2022-09-27 10:54:17 -04:00
Slyghtning
b49ec52c33
doc: vim visual ruler at column 80 2022-09-27 09:45:55 -04:00
Elle Mouton
081546ee00
rpcserver: error on zero local balance in openchan req
In this commit, we catch and error on the specific case where an
openchannel request has a zero-value local funding amount. This is just
to ensure that the error message returned makes more sense.
2022-09-26 13:29:28 +02:00
Oliver Gugger
bad25b1a2e
Merge pull request #6792 from Crypt-iQ/fullcommitflake
htlcswitch: use ticker.New instead of NewForce for test link
2022-09-21 22:29:02 +02:00
eugene
07d924ea34
release-notes: update for 0.16.0 2022-09-21 15:45:24 -04:00
eugene
02f7fa91d5
release-notes: update for 0.15.2 2022-09-21 10:52:06 -04:00
Oliver Gugger
49eeabf2a4
Merge pull request #6929 from morehouse/mutex_fix
funding: fix potential data race
2022-09-20 11:25:42 +02:00
Matt Morehouse
179e7ceb08
docs: update release notes 2022-09-19 12:50:07 -05:00
Oliver Gugger
a1c31f06fa
docs: add release notes 2022-09-19 10:28:38 +02:00
eugene
a61fb5675a
release-notes: update for 0.16.0 2022-09-14 15:48:15 -04:00
Oliver Gugger
ab6fa9849c
Merge pull request #6908 from nayuta-ueno/fix-docs
docs: fix typo in watchtower document and code comment
2022-09-13 15:26:23 +02:00
ueno
c6c7f94668 docs: fix typo in watchtower document and code comment [skip ci] 2022-09-13 22:06:30 +09:00
Oliver Gugger
bd69e79f84
Merge pull request #6335 from JssDWt/feature/subscribe-paymentattempts
routerrpc: TrackPayments
2022-09-12 12:45:35 +02:00
Jesse de Wit
e05444c98c
release-notes: add trackpayments
Add the new TrackPayments api to the release notes.
2022-09-10 21:53:02 +02:00