Commit Graph

1418 Commits

Author SHA1 Message Date
04447927ea Merge pull request #7055 from ellemouton/wtclientMigrations
watchtower: reduce AckedUpdate storage footprint
2023-01-17 10:37:52 +01:00
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
00a7909447 docs: update release docs 2023-01-17 07:34:48 +08:00
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
7f7a1e041d lnwallet: add log message for edge case
also see discussion in #7108
2023-01-16 12:26:04 +01:00
097b4fae68 lncli+docs: skip gomnd check in switch statement 2023-01-16 09:55:07 +02:00
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
487cd96acc docs: update release notes 2023-01-12 22:41:35 +10:30
b1645ec46d Merge pull request #6783 from ErikEk/itest-neutrino-sub-server
itest: neutrino sub-server
2023-01-12 12:20:58 +01:00
3dd9e04b8b Merge pull request #7306 from YusukeShimizu/docs-invoice-default-expiry
Docs invoice default expiry
2023-01-12 10:29:07 +01:00
520c633938 docs: update release note 2023-01-12 13:43:55 +07:00
71a5dab1a9 docs: add release notes 2023-01-12 09:17:47 +09:00
e52461bddb docs: add release notes for 7055 2023-01-11 13:59:03 +02:00
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
f16a2f11df docs: add release notes 2023-01-06 09:18:28 +01:00
19f013b5c4 release-notes: add send custom message override functionality 2023-01-05 12:06:25 -05:00
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
6585d5997a docs: add release notes 2023-01-05 08:53:59 +01:00
292ee1b123 docs: add release notes 2023-01-04 04:42:40 -08:00
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
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
050db16e5d docs/release-notes: add release notes for gossip msg prioritization 2022-12-15 11:56:49 -08:00
601cf60070 tools: fix docker version 2022-12-15 16:03:55 +08:00
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
d468391d95 Merge pull request #6857 from bitromortac/2208-apriori-capacity
pathfinding: capacity-dependent apriori model probability
2022-12-12 19:07:39 -08:00
55a146d4e4 docs: update release notes 2022-12-12 09:08:12 -06:00
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
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
d9febbb9fc Merge pull request #7186 from yyforyongyu/fix-missing-channel-updates
Fix potential channel announcements missing
2022-12-12 10:44:25 +01:00
289e2db2ee itest+lntemp: add ChainKitClient RPCs and refactor testChainKit 2022-12-09 23:52:40 +08:00
d04182f482 docs: add release notes 2022-12-09 00:56:49 +01:00
1206174648 docs: add release notes for gossip fix 2022-12-08 17:57:28 +08:00
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
d72d2edfea docs: add release notes for chainkit RPC/cli 2022-12-07 14:50:15 +00:00
0e9bb5cbc6 docs: update release notes 2022-12-07 18:38:22 +08:00
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
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
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
60d4815b54 release-notes: update for 0.16.0 2022-12-05 09:32:59 -05:00
2067e32862 CI: update test coverage library go-acc 2022-12-05 13:15:10 +00:00
6dfbf17b74 gitrelease-notes: update release notes for 0.16.0 2022-12-05 20:04:47 +08:00
8eebd4feba mod+docs: bump btcwallet to latest version 2022-12-05 09:33:10 +01:00
4c8ea29336 lnwire: allow longer failure messages
This fixes an incompatibility where lnd enforces a strict 256 byte
failure message, where as the spec sets this only as the recommended
length.
2022-12-02 14:27:59 +01:00
00eda60df5 docs: add release notes 2022-11-28 09:58:32 +01:00
aa20bc14d7 docs/release-notes: add entry for 0.15.5
Adds an entry for the change addr bug fix, and a missing entry for the
funding locked sleep fix.
2022-11-22 13:44:55 +01:00
ee753923e4 docs: add release notes 2022-11-21 13:54:24 +01:00
87ca48f4b4 Merge pull request #7173 from yyforyongyu/update-linter
golangci: update linter to fix linter bug
2022-11-18 18:25:05 +01:00
39b972afe0 golangci: update version to v1.50.1
This commit updates the tool `golangci-lint` to the latest version that
has fixed a bug in the linter `paralleltest`. Also `go mod tidy` is run
inside `tool`, and `nosnakecase` is disabled as it's deprecated.
2022-11-18 19:42:38 +08:00
649b9671fb docs: add release notes 2022-11-18 12:42:05 +01:00
edeb8c7444 docs: update release notes 2022-11-17 21:06:13 +08:00