Oliver Gugger
3b44afcd49
Merge pull request #6864 from Juneezee/test/t.Cleanup
...
test: replace defer cleanup with `t.Cleanup`
2022-10-13 12:45:34 +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
Eng Zer Jun
604a355db6
lnd: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:04 +08:00
Eng Zer Jun
228f1e36c4
watchtower: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:04 +08:00
Eng Zer Jun
22cd790586
tor: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:04 +08:00
Eng Zer Jun
ff3f477ebf
routing: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:04 +08:00
Eng Zer Jun
7070be52b7
queue: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:04 +08:00
Eng Zer Jun
5e6690107e
pool: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
f8ae8318c6
peer: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
1133643927
macaroons: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
889cb0af47
kvdb/etcd: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
945180f0ea
invoices: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
8d50d54ade
htlcswitch: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
19b1eb9617
funding: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
100839fcea
cluster: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
c70e39cd21
multi: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:46:54 +08:00
Eng Zer Jun
5c5997935d
chanbackup: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:01:35 +08:00
Eng Zer Jun
cac8f54a45
chainntnfs: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:01:35 +08:00
Eng Zer Jun
b796b747ed
brontide: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:01:35 +08:00
Eng Zer Jun
1dcc7d74e6
autopilot: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:01:31 +08:00
Oliver Gugger
4b827179bb
Merge pull request #5561 from guggero/database-migration-lndinit
...
kvdb: refactor as preparation for DB migration command in lndinit
2022-10-13 10:59:38 +02:00
Oliver Gugger
4e42ef0ab2
docs: add release notes
2022-10-13 09:45:07 +02:00
Oliver Gugger
696758a660
lncfg: export database namespace names
...
For the data migration tool we need to know what database namespaces
there are so we can loop over them.
2022-10-13 09:45:07 +02:00
Oliver Gugger
fc2d652261
channeldb: check for tombstone before opening DB
...
To avoid running a channel DB that was successfully migrated to another
system by accident, we check if there is a tombstone marker before we
open the DB for use.
2022-10-13 09:45:07 +02:00
Oliver Gugger
7e76326b97
channeldb: export DB migration related functions
...
We'll need to know whether a database was migrated to the latest version
in our upcoming data migration tool. To be able to determine the current
version of a DB and the total number of migrations in existence, we need
to export some of the functions in channeldb.
We also add some helper functions for adding tombstone and other markers
to a database.
2022-10-13 09:45:07 +02:00
Oliver Gugger
28c8e8b6dd
channeldb: remove unused tx argument
2022-10-13 09:37:53 +02:00
Oliver Gugger
ee9d6f21bd
etcd: add SequenceKey function
2022-10-13 09:37:52 +02:00
Oliver Gugger
d576184fdb
etcd: extract NewEtcdClient into exported function
...
In order for us to be able to re-use the code for initializing an etcd
client connection, we extract and export the NewEtcdClient function.
2022-10-13 09:37:52 +02:00
Oliver Gugger
98f359c5b7
etcd: fix typos
2022-10-13 09:37:52 +02:00
Oliver Gugger
b51b1e2f73
Merge pull request #6931 from morehouse/refactor_funding_manager
...
funding: create waitForPeerOnline helper
2022-10-13 09:37:01 +02:00
Matt Morehouse
00e26c1bc9
docs: update release notes
2022-10-11 12:05:36 -05:00
Matt Morehouse
768854aac9
funding: create waitForPeerOnline helper
...
Simplifies and deduplicates the code.
2022-10-11 11:59:01 -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
59a5f53cfe
Merge pull request #7018 from guggero/remote-signing-release-notes
...
docs: update remote signing update hint to v0.15.3-beta [skip ci]
2022-10-11 11:13:16 +02:00
Oliver Gugger
43521633ce
docs: update release notes
2022-10-11 09:56:04 +02:00
Oliver Gugger
f02528f304
multi: bump Golang version to v1.19.2
2022-10-11 09:49:30 +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
Oliver Gugger
079537514c
Merge pull request #7012 from sputn1ck/sputn1ck_pgp_key
...
scripts: add sputn1ck pgp key
2022-10-11 09:08:38 +02:00
sputn1ck
d16fcf12aa
scripts: add sputn1ck pgp key
...
[skip ci]
2022-10-11 09:00:46 +02:00
Oliver Gugger
ccbc578bd9
Merge pull request #7011 from ffranr/add_pgp_signing_key
...
scripts: add ffranr PGP signing key
2022-10-11 08:57:54 +02:00
Olaoluwa Osuntokun
2ac0fcb769
Merge pull request #6957 from Roasbeef/co-op-close-fee-estimation
...
lnwallet/chancloser: properly compute initial fee of cop close txn
2022-10-10 15:39:24 -07:00
Olaoluwa Osuntokun
30eb6770e5
lnwallet/chancloser: fix loop variable shadowing in TestMaxFeeBailOut
2022-10-10 14:50:51 -07: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
Robyn
8ab914dae5
scripts: add ffranr PGP signing key [skip ci]
2022-10-10 19:08:28 +01: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
406fc86f38
Merge pull request #7004 from Roasbeef/witness-limit-hot-fix
...
build: update to version of btcd with wire parsing bug fix
2022-10-09 19:34:03 -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
Olaoluwa Osuntokun
b3dc56fd9e
build: update to version of btcd with wire parsing bug fix
...
Fixes https://github.com/lightningnetwork/lnd/issues/7002
2022-10-09 18:39:34 -07:00
Oliver Gugger
6ab6ba91bb
Merge pull request #6969 from tongokongo/master
...
Clarification sample-lnd.conf
2022-10-07 15:09:50 +02:00