Commit Graph
990 Commits
Author SHA1 Message Date
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
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
Oliver Gugger 421c9c660c Merge pull request #7103 from ellemouton/checkAgainstBaseBranch
github: check commits against base branch
2022-11-02 09:22:13 +01:00
Oliver Gugger 926fdf486c Merge pull request #6573 from voltagecloud/tls-reloader
cert: add TLS reloader
2022-11-02 09:10:15 +01:00
Elle Mouton 5ea99578a8 github: check commits against base branch 2022-11-02 09:08:21 +02:00
Orbital a647c87972 docs: update release notes 2022-11-01 16:44:23 -05:00
yyforyongyu 8761a9a056 funding: wait for one sec if funding locked is not received 2022-11-02 02:02:49 +08:00
Oliver Gugger b0673d06ea docs: add release notes for 0.16.0-beta 2022-11-01 16:40:56 +01:00
Oliver Gugger 3013e939dd docs: add release notes for 0.15.4-beta 2022-11-01 16:39:19 +01:00
Oliver Gugger 84401f6f6c Merge pull request #7039 from TonyGiorgio/sync-7034
Remove ErrSynchronizingChain
2022-10-31 08:35:48 +01:00
habibitcoin 04a1160939 docs: remove $ from multiline commands or frequently copied [skip ci] 2022-10-28 12:32:24 -05:00