Commit Graph

1026 Commits

Author SHA1 Message Date
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
Oliver Gugger
8eebd4feba
mod+docs: bump btcwallet to latest version 2022-12-05 09:33:10 +01:00