Commit Graph

918 Commits

Author SHA1 Message Date
Elle Mouton
250d764256
docs: add release note for 7380 2023-05-16 10:57:50 +02:00
Matt Morehouse
55aa7a7bb2
docs: release note for #7649 2023-05-12 11:08:54 -05:00
Michael Street
5e33e790c5
docs: adds release notes 2023-05-11 18:30:38 -04:00
Oliver Gugger
301be1bb08
docs: add release notes 2023-05-11 22:52:52 +02:00
ziggie
0c31eb72e7
docs: add release notes for 0.17.0 2023-05-09 16:53:30 +02:00
Oliver Gugger
8df4edef1b
Merge pull request #7624 from ellemouton/marshalBytesAndStringTxid
multi: populate both string and byte TXID in lnrpc.Outpoint
2023-05-08 17:32:54 +02:00
Erik Arvstedt
d21abf9fc0 docs: update release notes 2023-05-08 10:29:06 +02:00
Carla Kirk-Cohen
820920a749
docs: add release notes 2023-05-04 10:42:44 -04:00
Slyghtning
79a06d1918 docs: update release notes 2023-04-29 22:44:26 +02:00
Olaoluwa Osuntokun
3c8c057ea9
Merge pull request #7641 from Roasbeef/btcwallet-async
build: update to btcwallet version with async mempool scan
2023-04-28 14:02:10 -05:00
Olaoluwa Osuntokun
239da9268c
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:27:26 -05:00
Daniel McNally
16463d4bd4
lnd: generate default macaroons independently
This modifies the `genMacaroons` logic to indepently check for each of
the three default macaroons (admin, readonly, invoice) and generate
whichever are missing. Previously, this was an all or nothing routine.
In other words, either all three didn't exist on disk and all three are
created, or no macaroons are created. Although that works for the first
run of a new node, it can result in inconsistent states if only one or
two of the macaroons is deleted.

See https://github.com/lightningnetwork/lnd/discussions/7566.
2023-04-26 13:30:03 -04:00
Elle Mouton
7b186716a1
multi: populate both string and byte TXID in lnrpc.Outpoint
This commit adds a a new `MarshalOutPoint` helper in the `lnrpc` package
that can be used to convert a `wire.Outpoint` to an `lnrpc.Outpoint`.
By using this helper, we are less likely to forget to populate both the
string and byte form of the TXID.
2023-04-24 16:19:26 +02:00
Elle Mouton
9a1ed8c7b2
docs: update release notes 2023-04-24 13:15:40 +02:00
Olaoluwa Osuntokun
588a7eb9ca
Merge pull request #7599 from Roasbeef/sweeper-rebroadcaster-interaction
sweep: remove conflicted sweep txns from the rebroadcaster
2023-04-21 13:58:50 -07:00
Olaoluwa Osuntokun
3d2daeefd8
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 11:53:08 -07:00
Olaoluwa Osuntokun
7e1628d89d
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:39:37 -07:00
Elle Mouton
784dc8d530
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:51:32 +02:00
yyforyongyu
f72d6dfaf5
docs: update release notes for mempool watch 2023-04-19 01:18:20 +08:00
Oliver Gugger
517f8ed842
Merge pull request #7597 from guggero/persistent-fee-params
Update `channelLink` policy correctly when opening channel with custom fee parameters
2023-04-18 13:36:24 +02:00
Oliver Gugger
d54bc8974a
docs: add release notes 2023-04-18 11:48:49 +02:00
ziggie
461e5f4ac2
docs: update release notes 2023-04-18 09:46:00 +02:00
Torakushi
894fc9f2ea
update release-notes-0.16.1 2023-04-17 17:37:56 +02:00
Olaoluwa Osuntokun
158e93f114
Merge pull request #7464 from guggero/script-builder-capacity
input: reduce memory allocation for ScriptBuilder
2023-04-11 15:07:47 -07:00
Oliver Gugger
154e654dc0
docs: add release notes 2023-04-11 12:49:27 +02:00
Oliver Gugger
26254d0730
docs: add release notes 2023-04-11 11:15:37 +02:00
Olaoluwa Osuntokun
9580584f73
Merge pull request #7442 from 84adam/postgres-docs-schema-84adam
docs: add notes on contents of Postgres DB as Key-Value store to Postgres.md
2023-04-10 16:51:19 -07:00
Olaoluwa Osuntokun
591ff120b6
Merge pull request #6903 from hieblmi/fundmax-flag
funding: add `fundmax` flag to `OpenChannelRequest`
2023-04-06 10:57:29 -07:00
Olaoluwa Osuntokun
f9f08079d0
Merge pull request #7576 from lightningnetwork/0-17-0-staging
lnd: merge v0.17.0 staging branch into master
2023-04-05 16:48:50 -07:00
Olaoluwa Osuntokun
2596a33529
Merge pull request #7575 from lightningnetwork/0-16-1-staging
lnd: merge the 0.16.1 staging branch into master
2023-04-05 16:48:25 -07:00
Slyghtning
e352899f22 docs: update release notes 2023-04-05 23:10:04 +02: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
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
positiveblue
034853a0a8
docs: add release notes 2023-03-14 19:26:18 -07: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
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
84adam
713dece401 docs: add notes on contents of Postgres DB as Key-Value store to Postgres.md 2023-02-28 21:36:24 -07: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
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
Olaoluwa Osuntokun
a15c45231e
multi: bump neutrino+btcwallet versions, use new generic lru cache 2023-02-21 17:28:48 -08:00
Olaoluwa Osuntokun
f4fdd82327
Merge pull request #7264 from yyforyongyu/gossip-resend-messages
discovery: fix message order in batch sending
2023-02-21 17:10:13 -08:00
bitromortac
6aac2762b3
routing: stricter maxHTLC checks
We require channel updates to have the max HTLC message flag set.

Several flows need to pass that check before channel updates are
forwarded to peers:
* after channel funding: `addToRouterGraph`
* after receiving channel updates from a peer:
  `ProcessRemoteAnnouncement`
* after we update channel policies: `PropagateChanPolicyUpdate`
2023-02-21 14:03:51 +01:00
Olaoluwa Osuntokun
748461cba4
Merge pull request #7379 from ellemouton/addFieldsToRevocationLog
multi: add local and remote amount fields to revocation log
2023-02-20 17:57:08 -08:00
yyforyongyu
9b61e09ca7
docs: update release notes for gossip fix
This commit also puts relevant docs closer to each other.
2023-02-17 14:16:31 +08:00
Oliver Gugger
93b7821df3
Merge pull request #7408 from carlaKC/bugfix-updatenodeanncli
bugfix/trivial: fix update node announcement feature bit add /remove
2023-02-16 21:40:36 +01:00
Carla Kirk-Cohen
03a61617f8
release-notes: add UpdateNodeAnnouncement changes 2023-02-16 14:42:20 -05:00
Elle Mouton
884cb2047b
docs: update release notes 2023-02-16 20:47:35 +02:00
Oliver Gugger
38dc67e1ef
Merge pull request #6815 from bitromortac/2205-bimodal
pathfinding: probability for bimodal distribution
2023-02-15 14:19:32 +01:00
bitromortac
686816d784
routing: implement bimodal probability estimator
Implements a new probability estimator based on a probability theory
framework.

The computed probability consists of:
* the direct channel probability, which is estimated based on a
  depleted liquidity distribution model, formulas and broader concept derived
  after Pickhardt et al. https://arxiv.org/abs/2103.08576
* an extension of the probability model to incorporate knowledge decay
  after time for previous successes and failures
* a mixed node probability taking into account successes/failures on other
  channels of the node (similar to the apriori approach)
2023-02-14 13:34:25 +01:00
Oliver Gugger
f245591e4b
Merge pull request #7386 from guggero/remote-signer-p2tr-inputs
remote signer: fix channel funding with mixed funding input types
2023-02-14 12:34:11 +01:00
Oliver Gugger
c79b0799bf
Merge pull request #7402 from bottlepay/final-resolution-info
rpcserver: expose store final htlc resolutions flag on info call
2023-02-13 23:12:32 +01:00
Joost Jager
784c0631f3
rpcserver: expose store final htlc resolutions flag on info call
The storage of final htlc resolutions is a safety-critical feature. By
exposing it through the GetInfo call, connected applications can
ensure that the feature is turned on and avoid relying on the assumption
that lnd was configured correctly.
2023-02-13 11:53:27 +01:00
adiabat
17f7b9f322 routerrpc: Check for nil IncomingCircuitKey
The grpc stream.Recv() will decode an ForwardHtlcInterceptResponse
without an IncomingCircuit, which will leave that pointer nil,
causing a nil pointer dereferece when components of in.IncomingCircuitKey
are used in the resolveFromClient() function.

This commit checks for the nil pointer and returns an error before
the rest of the parsing.
2023-02-10 13:40:40 -05:00
Torakushi
9edc98f940
update release-notes-0.16.0 2023-02-08 12:35:48 +01:00
Oliver Gugger
e7fb48ff73
docs: add release notes 2023-02-07 22:15:14 +01:00
Oliver Gugger
a233df99c4
Merge pull request #7388 from bhandras/cert-fixup-lnd
lnd: bump lnd/cert version to v1.2.1
2023-02-07 17:23:25 +01:00
Andras Banki-Horvath
91af62a031
lnd: bump lnd/cert version
This commit bumps the lnd/cert version to 1.2.1 and fixes all call sites
where cert.GenCertPair was called.
2023-02-07 09:50:56 +01:00
Oliver Gugger
17d7e84b26
Merge pull request #7387 from bhandras/cert-fixup
cert: removed unused args from `cert.GenCertPair` [no-itest]
2023-02-06 22:52:42 +01:00
Andras Banki-Horvath
c3445e79d9
cert: removed unused args from cert.GenCertPair
Since the cert pair is written with a subsequent call to
cert.WriteCertPair we can safely remove the two file paths from the
argument list of cert.GenCertPair.
2023-02-06 17:11:56 +01:00
Oliver Gugger
aa3647de82
docs: add release notes 2023-02-06 14:08:09 +01:00
Oliver Gugger
0cf0a7dd3b
Merge pull request #7341 from bottlepay/final-settle-opt-in
channeldb: final htlc resolution storage opt-in
2023-02-06 13:21:40 +01:00
Oliver Gugger
1e13bb8e32
docs: add release notes, update musig2 doc 2023-02-06 10:50:30 +01:00
Olaoluwa Osuntokun
5d22d5eb6c
Merge pull request #7252 from ellemouton/sqlite-pt2
multi: add sqlite backend option
2023-01-31 10:14:46 -08:00
yyforyongyu
22c1605687
ci: fix lint VSC permissions error 2023-02-01 01:00:55 +08:00
Orbital
38cf5a2d67
docs: update v16 release notes 2023-01-26 13:34:49 -06:00
Oliver Gugger
33a0cbe634
Merge pull request #7292 from Crypt-iQ/disconnectblock_patch
aliasmgr+channeldb: stop deleting zero-conf edges from graph if reorg occurs
2023-01-26 16:26:28 +01:00
Joost Jager
7a785c74c4
channeldb: final htlc resolution storage opt-in 2023-01-26 07:02:17 +01:00
eugene
b0028794c1
release-notes: update for 0.16.0 2023-01-25 12:03:21 -05:00
Elle Mouton
c89e5b68b0
docs: add release note 2023-01-25 14:16:56 +02:00
Olaoluwa Osuntokun
be047096c2
docs/release-notes: add entry for taproot sighash bug fix 2023-01-24 19:47:39 -08:00
Oliver Gugger
9187d4679b
Merge pull request #7231 from ziggie1984/sign_verify_message_with_addr
Sign/Verify messages and signatures for single addresses
2023-01-24 20:30:15 +01:00
ziggie
bf368a3d43
docs: add 0.16.0 release notes 2023-01-24 18:21:46 +01:00
Oliver Gugger
97f139b617
Merge pull request #7353 from bottlepay/bump-kvdb-etcd
kvdb: bump etcd to v3.5.7
2023-01-24 15:58:15 +01:00
Joost Jager
1725e5bcbe
kvdb: bump etcd to v3.5.7 2023-01-24 13:52:20 +01:00
Elle Mouton
2b4de46c72
kvdb+docs: remove etcd test fixture cleanup calls
Remove the cleanup calls which no longer exist since `t.Cleanup` is now
called from within `NewEtcdTestFixture`
2023-01-24 09:23:50 +02:00
Olaoluwa Osuntokun
266cd97573
Merge pull request #7251 from ellemouton/sqlite-pt1
kvdb: add sqlite
2023-01-23 17:26:15 -08:00
Elle Mouton
43bc2737c1
docs: update release notes 2023-01-23 09:14:11 +02:00
ziggie
4e3dc95d84
docs: add 0.16.0 release notes 2023-01-21 08:50:02 +01:00
positiveblue
2942f1201b
docs: update release notes 2023-01-20 03:43:43 -08:00
Oliver Gugger
0eb07c944c
Merge pull request #7330 from yyforyongyu/routing-rm-mtx
routing: remove the mutex lock inside `ChannelRouter`
2023-01-19 16:15:02 +01:00
yyforyongyu
1f67d6a548
bitcoindnotify: fix subtest closure in unit tests 2023-01-19 21:06:23 +08:00
yyforyongyu
1a1fe37ad4
docs: update release notes 2023-01-19 07:08:18 +08:00
Oliver Gugger
48c8c1bf48
Merge pull request #6824 from yyforyongyu/5-new-itest
itest: continued itest refactor and fix - IV
2023-01-18 22:14:29 +01:00
Oliver Gugger
c38be044d3
Merge pull request #7335 from guggero/disable-gomnd
lint: disable gomnd
2023-01-18 10:43:00 +01:00
Oliver Gugger
716febc6c7
Merge pull request #7336 from positiveblue/fix-race-condition
routing: fix reace condition in `TestUpdatePaymentState`
2023-01-18 09:26:28 +01:00
yyforyongyu
faa9ba505d
docs: update release docs 2023-01-18 10:53:58 +08:00
positiveblue
057d38e2fc
docs: update release notes 2023-01-17 14:26:48 -08:00
yyforyongyu
b558c9c23e
docs: update release notes 2023-01-18 03:46:17 +08:00
Oliver Gugger
a306cbdec9
lint: disable gomnd 2023-01-17 19:20:57 +01:00
Olaoluwa Osuntokun
ea0eb2ce72
Merge pull request #7215 from positiveblue/invoices-channeldb-dep
Invoices: invert package dependency with `channeldb`
2023-01-17 10:13:22 -08:00
Oliver Gugger
04447927ea
Merge pull request #7055 from ellemouton/wtclientMigrations
watchtower: reduce AckedUpdate storage footprint
2023-01-17 10:37:52 +01:00
Oliver Gugger
b4febb382a
Merge pull request #6823 from yyforyongyu/4-new-itest
itest: continued itest refactor and fix - III
2023-01-17 09:38:31 +01:00
yyforyongyu
00a7909447
docs: update release docs 2023-01-17 07:34:48 +08:00
positiveblue
4665770aaf
docs: update release notes
- Added a new entry for the changes in this PR.
- Properly format older entries.
- Delete duplicated contributors.
2023-01-16 07:31:14 -08:00
Carsten Otto
7f7a1e041d lnwallet: add log message for edge case
also see discussion in #7108
2023-01-16 12:26:04 +01:00
Elle Mouton
097b4fae68
lncli+docs: skip gomnd check in switch statement 2023-01-16 09:55:07 +02:00
yyforyongyu
a1cac6d54b
htlcswitch: use mock clock in TestMailBoxAddExpiry
This commit replaces the clock used in the unit test
`TestMailBoxAddExpiry`. Previously the `TestClock` is used, resulting in
the unit test being not so "unit" as the maintainer needs to know the
detailed implementation of `clock.Clock`, resulting in debugging a
failed unit test more difficult as the cognitive cost is high.
Re-implement `clock.Clock` also means we need to maintain more. This is
now solved by using mock clock so we can ignore the implementation
details and care only the returned results.
2023-01-12 22:08:15 +08:00
Slyghtning
487cd96acc docs: update release notes 2023-01-12 22:41:35 +10:30
Oliver Gugger
b1645ec46d
Merge pull request #6783 from ErikEk/itest-neutrino-sub-server
itest: neutrino sub-server
2023-01-12 12:20:58 +01:00
Oliver Gugger
3dd9e04b8b
Merge pull request #7306 from YusukeShimizu/docs-invoice-default-expiry
Docs invoice default expiry
2023-01-12 10:29:07 +01:00
ErikEk
520c633938 docs: update release note 2023-01-12 13:43:55 +07:00
bruwbird
71a5dab1a9
docs: add release notes 2023-01-12 09:17:47 +09:00
Elle Mouton
e52461bddb
docs: add release notes for 7055 2023-01-11 13:59:03 +02:00
Oliver Gugger
b1d6991b27
Merge pull request #7153 from carlaKC/7093-custommessage
multi: Add ability to handle protocol-range messages in Custom Message APIs
2023-01-11 09:52:40 +01:00
Oliver Gugger
f16a2f11df
docs: add release notes 2023-01-06 09:18:28 +01:00
Carla Kirk-Cohen
19f013b5c4
release-notes: add send custom message override functionality 2023-01-05 12:06:25 -05:00
Oliver Gugger
cfc48bd81c
Merge pull request #7272 from positiveblue/fix-7270
rpc: check that closing address matches the current network for open channel requests
2023-01-05 17:15:55 +01:00
Oliver Gugger
6585d5997a
docs: add release notes 2023-01-05 08:53:59 +01:00
positiveblue
292ee1b123
docs: add release notes 2023-01-04 04:42:40 -08:00
Joost Jager
3835b903a9
lnwire: limit channel update reader
Fixes a bug where channel update data is read until the end of the stream
rather than stopping after the specified length. This is problematic
when failure message tlv data is present, because this data is interpreted
as channel update tlv data.
2023-01-04 13:32:52 +01:00
Elle Mouton
d4a49b08f5
funding: check error to avoid panic during test
This commit, the error returned from `getInitialFwdingPolicy` is checked
in order to avoid a nil pointer dereference panic during the
TestFundingManagerCustomChannelParameters test.
2022-12-22 10:06:42 +02:00
Olaoluwa Osuntokun
050db16e5d
docs/release-notes: add release notes for gossip msg prioritization 2022-12-15 11:56:49 -08:00
yyforyongyu
601cf60070
tools: fix docker version 2022-12-15 16:03:55 +08:00
Olaoluwa Osuntokun
8a18824851
Merge pull request #7243 from guggero/ghost-utxo-fix
wallet: fix ghost UTXOs not being detected
2022-12-13 20:00:31 -08:00
Olaoluwa Osuntokun
d468391d95
Merge pull request #6857 from bitromortac/2208-apriori-capacity
pathfinding: capacity-dependent apriori model probability
2022-12-12 19:07:39 -08:00
Matt Morehouse
55a146d4e4
docs: update release notes 2022-12-12 09:08:12 -06:00
bitromortac
2d7fda2a41
routerrpc: mark QueryProbability deprecated
We deprecate `QueryProbability`, as it displays the same information as
`QueryMissionControl` less the probability. `QueryRoutes` still contains
the total probability of a route.
2022-12-12 13:23:31 +01:00
bitromortac
1dd7a37d4d
routing: apply capacity factor
We multiply the apriori probability with a factor to take capacity into
account:

P *= 1 - 1 / [1 + exp(-(amount - cutoff)/smearing)]

The factor is a function value between 1 (small amount) and 0 (high
amount). The zero limit may not be reached exactly depending on the
smearing and cutoff combination. The function is a logistic function
mirrored about the y-axis. The cutoff determines the amount at which a
significant reduction in probability takes place and the smearing
parameter defines how smooth the transition from 1 to 0 is. Both, the
cutoff and smearing parameters are defined in terms of fixed fractions
of the capacity.
2022-12-12 13:22:29 +01:00
Oliver Gugger
d9febbb9fc
Merge pull request #7186 from yyforyongyu/fix-missing-channel-updates
Fix potential channel announcements missing
2022-12-12 10:44:25 +01:00
yyforyongyu
289e2db2ee
itest+lntemp: add ChainKitClient RPCs and refactor testChainKit 2022-12-09 23:52:40 +08:00
Oliver Gugger
d04182f482
docs: add release notes 2022-12-09 00:56:49 +01:00
yyforyongyu
1206174648
docs: add release notes for gossip fix 2022-12-08 17:57:28 +08:00