Commit Graph

910 Commits

Author SHA1 Message Date
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
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
Oliver Gugger
5d95f3f572
Merge pull request #6526 from orbitalturtle/tor-encryption-refactoring
Update Tor module to add option to encrypt Tor key
2022-09-09 13:09:48 +02:00
Orbital
53f9032630
docs: Update release notes 2022-09-06 15:14:12 -05:00
yyforyongyu
50487c6fe9
docs: add release docs for sweeper config 2022-09-01 10:44:50 +08:00
Elle Mouton
96021fe85b
cmd+docs: fix cap out of range error in profile command
If `lncli profile remove` is called when there are no existing profiles,
it will cause a "cap out of range" panic. So in this commit, a length
check is added to avoid this.
2022-08-31 15:34:39 +02:00
Joost Jager
fe8a1f2f36
lncli: fix sendpayment arg parsing 2022-08-25 13:24:19 +02:00
Oliver Gugger
9fe97aff9e
docs: add release notes 2022-08-25 09:22:40 +02:00
Olaoluwa Osuntokun
2ad6b57f5e
Merge pull request #6795 from Roasbeef/go1-19
build: make Go 1.18 the min version, update to Go 1.19
2022-08-24 15:33:37 -05:00
Eng Zer Jun
5ee4c5657a
docs: add release note entry for #6710
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:06 +08:00
Olaoluwa Osuntokun
65a5eeb24e
build: make Go 1.18 the min version, update to Go 1.19
As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).

This change means we can now use the type params (generics) in the
project!
2022-08-23 10:54:13 -05:00
yyforyongyu
859c5e5da4
Makefile+github: add make fmt-check to check for formatting 2022-08-23 22:10:27 +08:00
Elle Mouton
ca6a2e12e0
rpcserver+docs: add default case to addr type switch
This commit adds a default case to the address type switch statement in
the NewAddress rpc server function. This catches any invalid address
types and returns an error.
2022-08-22 17:25:56 +02:00
Oliver Gugger
a58553d1bd
Merge pull request #6836 from guggero/tor-update-1-0-2
mod: bump tor to v1.0.2
2022-08-19 10:12:37 +02:00
priyanshiiit
ec53b610f5 docs: adds list addresses RPC 2022-08-18 13:25:52 +05:30
Oliver Gugger
4bbfcfad14
docs: add release notes 2022-08-17 11:58:36 +02:00
Oliver Gugger
909ba573ea
Merge pull request #6829 from cutiful/master
tor: fix parsing replies
2022-08-17 11:54:29 +02:00
Spring Raindrop
01bba71715
release-notes: update for 0.16.0 2022-08-17 03:43:49 +00:00