Commit graph

1129 commits

Author SHA1 Message Date
yyforyongyu
dea815dac2 mod: update btcwallet version 2023-06-22 11:27:53 -05:00
Olaoluwa Osuntokun
96a24e035c docs/release-notes: add release notes for adamant htlc sweeps 2023-05-29 12:50:05 -07:00
Olaoluwa Osuntokun
ddf551f16d htlcswitch: add new LinkFailureDisconnect action
In this commit, we add a new LinkFailureDisconnect action that'll be
used if we detect that the remote party hasn't sent a revoke and ack
when it actually should.

Before this commit, we would log our action, tear down the link, but
then not actually force a connection recycle, as we assumed that if the
TCP connection was actually stale, then the read/write timeout would
expire.

In practice this doesn't always seem to be the case, so we make a strong
action here to actually force a disconnection in hopes that either side
will reconnect and keep the good times rollin' 🕺.
2023-05-23 14:23:05 -07:00
Elle Mouton
bd43defefd docs: add release note for 7705 2023-05-22 18:13:26 -07:00
yyforyongyu
4d0136af8c docs: add release notes 0.16.3 2023-05-22 18:11:26 -07:00
Olaoluwa Osuntokun
a6345797ae build: update to btcwallet version with async mempool scan
This version of btcwallet demotes some spammy logs (txns replaced in the
mempool), and makes the initial mempool scan async.

Fixes https://github.com/lightningnetwork/lnd/issues/7640
2023-04-27 16:36:51 -05:00
Olaoluwa Osuntokun
508b0a4426 lnd v0.16.0-beta
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE9Pxw8HMQAoQk78IKjkJWWT8XdyAFAmQkNkYACgkQjkJWWT8X
 dyC5fRAAvhiI4TTDqxdJmTcj1nxA6iUYB4nAqL4wegnXSv9ntcaQ5c10vGLiBi9Y
 D/Uqqfnz73OaATRcDjaeZdONTFd4q7mM21ymrAqbfv8OpjeccO5fOrtsAPQKMNK3
 3ipT7Ej+KgF5QatAUlm8joqBJ4SXB9y6AmPqRbdNyBu4yf3AJf69EOjTG2dW+E3x
 XPQfeMw5cBSSM6VKIdTY3cQvzX5jUU3lBtahSL4wChPzh4bYZTnn6hydkSkkmqjp
 SyYD6KYZ4Ul4Mh+evlWzqDwfJHfNL82ZwHxJ1bfrVJQ34ZQanlH014/baRYNR1in
 eALSUf/YRkf65HNETF8g4oeiUFc2ymx4zY3dZMeNZ9Rij0KE6OJVg3ZS/5zUITkJ
 1TWpO92nPe9v6f9SkZA6YotHwUg7GX+II7frs+8d0RGbEipc2JjN2p8DewuszDGi
 QT5iYk+PQcoQVYJM79GmoZAa7DgZASodJGz2Huml6J7cjMXq+3bJ4JCo9L0SMu0B
 mSESi+3Y9Sy4Ujpq3ryqbsehTq/nWQq5nFuA3miLsqEfLy5sunOct0/RhyWtGnFu
 2YEVQPI0cmAFV5v8QsLKtOXj8QSpSsZK7w+G1nbukpa0HhkUZxk3WQxbcbYctIkW
 5D133P3E7yNQm7Nr3JYkwN0foDdWUvAdkQQSVtSBlpZw6kyGnuQ=
 =BNTa
 -----END PGP SIGNATURE-----

Merge tag 'v0.16.0-beta' into v0-16-1-branch-rc3

lnd v0.16.0-beta
2023-04-21 15:52:34 -07:00
Olaoluwa Osuntokun
fc3b8bff69 sweep: remove conflicted sweep txns from the rebroadcaster
In this commit, we an existing gap in our rebroadcast handling logic. As
is, if we're trying to sweep a transaction and a conflicting transaction
is mined (timeout lands on chain, anchor swept), then we'll continue to
try to rebroadcast the tx in the background.

To resolve this, we give the sweeper a new closure function that it can
use to mark conflicted transactions as no longer requiring rebroadcast.
2023-04-21 14:01:48 -07:00
Olaoluwa Osuntokun
c96fe0ec58 chainreg: increase default CLTV value to 80 blocks (~13 hrs)
In this commit, we increase the default CTLV value to 80 blocks.
Initially this was set to 144 blocks in the early days, but then was
lowered to 40 blocks as the lnd implementation matured. By setting this
to a higher value, we increase the safety window (MTTR) when it comes to
node downtime, and also add some buffer room around time locks which may
become more stressed in the future assuming the current mempool load
remains persistent.
2023-04-19 11:43:04 -07:00
Olaoluwa Osuntokun
a4e815c05c
docs/release-notes: move docs for postgres kvdb 2023-04-19 11:31:28 -07:00
Elle Mouton
11f1735e85 funding: use default fwding policy if persisted values not found
In this commit, a bug is fixed in the funding manager that could result
in the funding process erroring out if the persisted initial forwarding
policy is not found. This could occur if a node restarts after opening a
channel that is not yet fully confirmed and also upgrades their node
from a pre-0.16 version to 0.16 since the values are only expected to be
persisted after 0.16.
2023-04-19 11:29:49 -07:00
yyforyongyu
e207424da8 docs: update release notes for mempool watch 2023-04-18 18:29:20 -07:00
Oliver Gugger
a53b0a483c docs: add release notes 2023-04-18 18:27:36 -07:00
ziggie
261461deeb docs: update release notes 2023-04-18 18:27:05 -07:00
Torakushi
4e402082b3 update release-notes-0.16.1 2023-04-18 18:26:44 -07:00
Oliver Gugger
91448274fa docs: add release notes 2023-04-18 18:24:01 -07:00
Oliver Gugger
a7815b29f5 docs: update remote signing docs
With this commit we update the docs according to the latest changes that
were necessary to support loop and pool (which requires all 255
internally used accounts to be imported at wallet creation time).

Fixes #7567.
2023-04-18 18:23:25 -07:00
Oliver Gugger
c95205a94f docs: add release notes 2023-04-18 18:22:32 -07:00
84adam
2115e338ca docs: add notes on contents of Postgres DB as Key-Value store to Postgres.md 2023-04-18 18:21:24 -07:00
Slyghtning
326c4f2c55 docs: update release notes 2023-04-18 18:19:16 -07:00
Olaoluwa Osuntokun
a144eedc51
Merge pull request #7560 from guggero/btcd-version
docker+docs: bump btcd version
2023-04-05 17:21:54 -07:00
Olaoluwa Osuntokun
f97454d4ff
Merge pull request #7359 from djkazic/fix/ldflags-on-mac-and-android
build: fix Makefile ldflags for mac and mobile, bump gomobile deps, enable gomodules
2023-04-04 18:05:21 -07:00
Oliver Gugger
4fcd5a0ab0
Merge pull request #7366 from djkazic/feature/listchannels-peer-scid-alias
Add `peer_scid_alias` field to lnrpc.Channel
2023-03-31 19:29:03 +02:00
djkazic
41016587eb Add peer_scid_alias field to lnrpc.Channel 2023-03-31 11:20:27 -04:00
djkazic
bb5faf0f5a make+docs: pull in modules patch 2023-03-31 10:15:21 -04:00
djkazic
2f994ceeae mobile+mod+make: fix Makefile ldflags for mac and mobile 2023-03-31 09:54:35 -04:00
Elle Mouton
381dd8d460
docs: add release note for 7541 2023-03-31 12:05:59 +02:00
Oliver Gugger
c31698b59b
docker+docs: bump btcd version 2023-03-31 11:04:47 +02:00
ziggie
71b8fac819
docs: add release-notes 2023-03-31 08:56:15 +02:00
Oliver Gugger
ec5b95c9a9
Merge pull request #7517 from yyforyongyu/fix-funding-locked
Replace `FundingLocked` with `ChannelReady`
2023-03-30 17:22:17 +02:00
Elle Mouton
82afb6a958
docs: add release note for 7556 2023-03-30 14:46:56 +02:00
ardevd
d1f961c598 docs: added release notes 2023-03-25 15:32:10 +01:00
Eval EXEC
cbcbddfe29
rpcserver: add time_lock_delta overflow check 2023-03-23 21:34:12 +08:00
bitromortac
4aa90cf474
routing: add error case for zero capacity
Since no edge should have a zero capacity associated with it, passing a
zero capacity to the bimodal probability calculation results now in an
error.
2023-03-23 11:12:10 +01:00
Elle Mouton
a3e9f5b83c
docs: add release note for 7405 2023-03-20 20:14:02 +02:00
Elle Mouton
ab98fc43fe
docs: add release note for 7069 2023-03-20 16:51:51 +02:00
yyforyongyu
c4aea6e789
docs: update release note for channel_ready 2023-03-17 18:22:00 +08:00
Oliver Gugger
ae39cd9e91
Merge pull request #7514 from yyforyongyu/rpc-verbose-log
itest+rpcserver: fix itest flake in `3rd_party_anchor_spend`
2023-03-17 08:48:40 +01:00
yyforyongyu
ef4b5dba85
docs: update release note 2023-03-17 10:01:42 +08:00
Oliver Gugger
2e8dc7bf94
Merge pull request #7439 from ellemouton/bolt3-test-vectors
lnwallet: update Bolt3 test vectors
2023-03-16 18:47:19 +01:00
Elle Mouton
05793e5591
docs: add release note 2023-03-16 17:27:39 +02:00
Elle Mouton
bc868fe270
docs: update release notes with 7059 2023-03-16 15:00:26 +02:00
Tommy Volk
7853cf0a43
docs: update release notes 2023-03-16 08:31:59 +08:00
Oliver Gugger
1ed63a85b3
docs: add release notes 2023-03-13 12:46:05 +01:00
Olaoluwa Osuntokun
6b8a1f1d67
docs/release-notes: add note for new tx rebroadcast 2023-03-10 19:07:42 -08:00
Olaoluwa Osuntokun
0bbbd9b911
build: bump min Go version to 1.19
Fixes https://github.com/lightningnetwork/lnd/issues/7495
2023-03-08 18:02:57 -08:00
Elle Mouton
f6ef3db6ea
watchtower/wtdb: add tower-to-session index entry for all towers
In this commit, a small migration is added to the watchtower client DB
to ensure that there is an entry in the towerID-to-sessionID index for
all towers in the db regardless of if they have sessions or not. This is
required as a follow up to migration 1 since that migration only created
entries in the index for towers that had associated sessions which would
lead to "tower not found" errors on start up.
2023-03-08 11:00:40 +02:00
Slyghtning
910e3832dc docs: update release notes 2023-03-03 10:07:46 +01:00
Olaoluwa Osuntokun
251802d796
Merge pull request #7444 from bitromortac/2302-capacity-config
routing: configurable capacity fraction for apriori probability
2023-03-02 18:39:01 -08:00
Olaoluwa Osuntokun
530988cadf
Merge pull request #7467 from yyforyongyu/rename-lookuphtlc
rpcserver: rename `LookupHtlc` to `LookupHtlcResolution`
2023-03-01 12:05:09 -08:00