Commit graph

1121 commits

Author SHA1 Message Date
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
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
yyforyongyu
e3b3fea3ea
docs: update release notes for LookupHtlcResolution 2023-03-01 01:47:08 +08:00
Oliver Gugger
610fc0d927
docs: add release notes 2023-02-27 21:59:45 +01:00
bitromortac
a73581610e
routing+lnrpc: make capacity factor configurable
We make the capacity factor configurable via an lnd.conf routerrpc
apriori parameter. The capacity factor trades off increased success
probability with a reduced set of channel candidates, which may lead to
increased fees. To let users choose whether the factor is active or not,
we add a config setting where a capacity fraction of 1.0 disables the
factor. We limit the capacity fraction to values between 0.75 and 1.0.
Lower values may discard too many channels.
2023-02-24 15:28:55 +01:00
Slyghtning
313983f106 docs: update release notes 2023-02-24 10:49:11 +01:00
yyforyongyu
7a3b3c89c2
docs: update release docs 2023-02-23 21:56:13 +08:00
yyforyongyu
0bc86a3b4b
multi: move itest out of lntest
This commit moves all the test cases living in `itest` out of `lntest`,
further making `lntest` an independent package for general testing.
2023-02-23 21:56:08 +08:00
Olaoluwa Osuntokun
d793a53bba
Merge pull request #7406 from Roasbeef/gossip-cache-fix
multi: bump neutrino+btcwallet versions, use new generic lru cache
2023-02-22 15:49:49 -08:00
Oliver Gugger
b3e27f9ba7
Merge pull request #7415 from bitromortac/2302-max-htlc
routing+discovery: fail non-maxHTLC channel updates in validation
2023-02-22 08:45:56 +01:00