Commit Graph
999 Commits
Author SHA1 Message Date
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
Joost Jager 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
Oliver Gugger 00eda60df5 docs: add release notes 2022-11-28 09:58:32 +01:00
Olaoluwa Osuntokun 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
Oliver Gugger ee753923e4 docs: add release notes 2022-11-21 13:54:24 +01:00
Oliver Gugger 87ca48f4b4 Merge pull request #7173 from yyforyongyu/update-linter
golangci: update linter to fix linter bug
2022-11-18 18:25:05 +01:00
yyforyongyu 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
Oliver Gugger 649b9671fb docs: add release notes 2022-11-18 12:42:05 +01:00
yyforyongyu edeb8c7444 docs: update release notes 2022-11-17 21:06:13 +08:00
Antoni Spaanderman ed112681f5 lncli: Allow lncli to read binary PSBTs from a file
BIP 174 states that PSBTs can be encoded in 2 formats:
- plain text as base64
- in a file as binary

With this change, lncli will also try to read a PSBT as binary
2022-11-17 12:41:46 +01:00
Tugay Emin 3f2079fa39 lncli: strip prefix from pay_req flag 2022-11-15 18:13:29 +02:00
yyforyongyu 5805363867 funding: mark tx label before notifying channel open event 2022-11-15 18:58:26 +08:00
Oliver Gugger 817af408e2 Merge pull request #7066 from yyforyongyu/switch-config-mailbox
htlcswitch: make mailbox HTLC delivery timeout configurable
2022-11-15 11:50:03 +01:00
Oliver Gugger bace8d81fa Merge pull request #7143 from morehouse/test_warning
lnwire: add missing tests for Warning
2022-11-14 17:46:46 +01:00
Oliver Gugger c9b4e7405b Merge pull request #7142 from morehouse/make_fuzz
make+scripts+docs: update fuzzing script and make fuzz
2022-11-14 17:14:43 +01:00
alpeb-btc 32cda21e07 docs: update release notes 2022-11-12 05:02:47 -05:00
Olaoluwa Osuntokun f6ae63fd7b Merge pull request #7130 from guggero/remote-signing-fixes
rpcwallet: fix remote signing issues
2022-11-11 16:26:20 -08:00
Matt Morehouse 251725fc11 docs: update release notes 2022-11-11 12:10:19 -06:00
Matt Morehouse 2fcb2cc8ee docs: update release notes 2022-11-11 11:05:43 -06:00
Conner 25a7bb8b86 make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
Matt Morehouse 48c71d7f2b docs: update release notes 2022-11-11 08:44:35 -06:00
Conner c77852a68c brontide: migrate fuzz tests 2022-11-11 08:44:16 -06:00
Oliver Gugger 8b522aa49a docs: add release notes for v0.15.5-beta 2022-11-11 10:20:10 +01:00
andreihod 861f8174b1 docs: update release notes 2022-11-11 04:23:55 -03:00
yyforyongyu 22ae772b3f docs: replace release docs re checking FundingLocked interval 2022-11-10 13:59:17 +08:00
Elle Mouton 5499ce36fa github+docs: only check commits on PR action 2022-11-04 11:07:19 +02:00
yyforyongyu 3df4a0efbc docs: update release note 2022-11-03 18:29:35 +08:00
Oliver Gugger ae6006a84e Merge pull request #7095 from yyforyongyu/funding-locked
funding: wait for one sec if funding locked is not received
2022-11-02 09:27:41 +01:00