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
Oliver Gugger
a0385a535b
Merge pull request #7197 from ffranr/add_chain_rpc_calls
...
lncli+chainrpc: add chainkit RPC service with endpoints GetBlock, GetBestBlock, GetBlockHash
2022-12-07 17:32:54 +01:00
ffranr
d72d2edfea
docs: add release notes for chainkit RPC/cli
2022-12-07 14:50:15 +00:00
yyforyongyu
0e9bb5cbc6
docs: update release notes
2022-12-07 18:38:22 +08:00
Eugene
b8c80dceef
Merge pull request #7221 from ffranr/ci_update_coverage
...
CI: update test coverage library go-acc
2022-12-06 12:04:21 -08:00
Olaoluwa Osuntokun
2477095473
Merge pull request #7209 from guggero/btcwallet-fund-psbt
...
mod+docs: bump btcwallet to latest version
2022-12-05 19:47:42 -08:00
Oliver Gugger
625c6f1949
Merge pull request #7227 from Crypt-iQ/tlv_change_to_p2p
...
multi: update to tlv/v1.1.0 and use new *P2P tlv decoding variants
2022-12-05 23:11:30 +01:00
eugene
60d4815b54
release-notes: update for 0.16.0
2022-12-05 09:32:59 -05:00
ffranr
2067e32862
CI: update test coverage library go-acc
2022-12-05 13:15:10 +00:00
Tommy Volk
6dfbf17b74
gitrelease-notes: update release notes for 0.16.0
2022-12-05 20:04:47 +08:00