Commit Graph

17768 Commits

Author SHA1 Message Date
ziggie
98a270bd30
contractcourt: improve robustness 2024-11-07 18:32:44 +01:00
yyforyongyu
227cc3a45c
routing: fix missionControlStore blocks on shutting down 2024-11-08 01:23:33 +08:00
Keagan McClelland
9f35664a12
fn: breaking - make or else functions accept error argument 2024-11-06 17:32:59 -07:00
Keagan McClelland
dd7f1569c7
fn: breaking - rename ChainOption to FlatMapOption for consistency 2024-11-06 17:32:59 -07:00
Keagan McClelland
5e947046a3
fn: breaking - give Result's FlatMap proper functor annotation 2024-11-06 17:32:59 -07:00
Keagan McClelland
4d16d5ff15
fn: breaking - replace AndThen2 with more principled LiftA2Result 2024-11-06 17:32:59 -07:00
Keagan McClelland
1480287cfc
fn: breaking - improve naming of option api functions 2024-11-06 17:32:59 -07:00
Keagan McClelland
be50dd9acb
fn: breaking - remove deprecated Result functions 2024-11-06 17:32:59 -07:00
Keagan McClelland
1805fd6f19
fn: breaking - polish Either API 2024-11-06 17:32:58 -07:00
Keagan McClelland
c6734ea013
fn: breaking - reverse argument order in slice funcs 2024-11-06 17:32:50 -07:00
Keagan McClelland
a026d64c1b
fn: breaking - fix type variables for better inference 2024-11-06 16:50:06 -07:00
Keagan McClelland
9bbd327a10
fn: add Sink to Result 2024-11-06 16:50:02 -07:00
Keagan McClelland
5dec35426c
fn: add transpositions for Option and Result 2024-11-06 16:40:36 -07:00
Keagan McClelland
8971c4c3ae
fn: add operations to Result API 2024-11-06 16:40:15 -07:00
Keagan McClelland
5faad77f33
fn: add conversions between Result and Option 2024-11-06 16:39:33 -07:00
Keagan McClelland
a741c54175
fn: add compound slice functions 2024-11-06 16:29:41 -07:00
Keagan McClelland
7a7f3bdb2c
fn: fix UnwrapOrFail semantics 2024-11-06 15:55:18 -07:00
ziggie
aebf03aca4
docs: add release-notes for 19. 2024-11-06 18:52:07 +01:00
ziggie
643e415448
scripts: dont check new config value.
Because we need to remain backwards compatible with the old
`dust-threshold` value we set the default value for
`channel-max-fee-exposure` later in the program flow. Given
the restrictions of the sample config check we need to exclude
this value from the check.
2024-11-06 18:52:07 +01:00
ziggie
7b2da94750
multi: deprecate dust-treshold config value
Replace ambigious config value "dust-treshold" with a more clear
"channel-max-fee-exposure" exposure value. The old value is
deprecated and will be removed in the near future.
2024-11-06 18:16:06 +01:00
ziggie
a040f8fafa
htlcswitch: increase log 2024-11-06 18:12:43 +01:00
Oliver Gugger
5673dab596
docs: add release notes 2024-11-06 15:30:31 +01:00
Oliver Gugger
4bf24695d7
cmd/commands: fix custom message commands
The sendcustom and subscribecustom sub commands weren't correctly
categorized and didn't have any usage text set.
2024-11-06 15:30:30 +01:00
Oliver Gugger
0e5c724b64
rpcserver: fix formatting and grammar issues 2024-11-06 15:30:29 +01:00
Oliver Gugger
870e845a1e
cmd/lncli: print new status responses to CLI 2024-11-06 15:30:27 +01:00
Oliver Gugger
d89ea2d335
walletrpc: return meaningful responses instead of empty 2024-11-06 15:30:26 +01:00
Oliver Gugger
26216f749a
itest: add tests for new backup responses 2024-11-06 15:30:25 +01:00
Oliver Gugger
45e13cead1
lnrpc+rpcserver: return meaningful responses instead of empty 2024-11-06 15:30:24 +01:00
Oliver Gugger
d8c920fa7a
chanbackup+rpcserver+server: return number of recovered channels 2024-11-06 15:30:23 +01:00
Oliver Gugger
15a5fe7704
channeldb+rpcserver: return number of deleted payments 2024-11-06 15:30:21 +01:00
Oliver Gugger
e3cc4d70c0
Merge pull request #8600 from GeorgeTsagk/chanfunding-coinselect-nofeecheck
Add `maxFeeRatio` parameter to sanityCheckFee in psbt coin selection
2024-11-05 20:56:02 +01:00
George Tsagkarelis
c1f5908d9d
docs: update release notes for fundpsbt max_fee_ratio 2024-11-05 19:56:39 +01:00
George Tsagkarelis
b51dde7af8
cmd: expose max_fee_ratio to fundpsbt command 2024-11-05 19:56:38 +01:00
George Tsagkarelis
55c3da3d13
lnwallet+lnrpc: use maxFeeRatio across coin selection tests 2024-11-05 19:56:37 +01:00
George Tsagkarelis
f2b76325d4
lnrpc: add maxFeeRatio to FundPsbtRequest 2024-11-05 19:56:36 +01:00
George Tsagkarelis
a72dae314c
lnwallet: use new maxFeeRatio for sanityCheckFee func 2024-11-05 19:55:07 +01:00
Oliver Gugger
85175814a4
Merge pull request #9013 from guggero/fundpsbt-fee-rate-sat-per-kwu
[walletrpc]: add `sat_per_kw` fee option to `FundPsbt` RPC
2024-11-05 09:24:49 +01:00
Oliver Gugger
8849dd21d4
docs: add release notes 2024-11-04 14:12:50 +01:00
Oliver Gugger
837ff3427c
cmd/lncli: add new --sat_per_kw flag to lncli wallet fundpsbt 2024-11-04 14:12:26 +01:00
Oliver Gugger
fb8bdfefd3
walletrpc: add sat_per_kw fee rate option
To allow more precise fee rates, we add a sat_per_kw option to the fee
oneof in the gRPC definition.
2024-11-04 14:12:26 +01:00
Oliver Gugger
22ae3e5ddd
Merge pull request #9167 from ellemouton/mcEncodingToTLV
routing+migration32: update migration 32 to use pure TLV encoding for mission control results
2024-11-01 13:16:04 +01:00
Elle Mouton
30e0d6ca9c
docs: update release notes 2024-11-01 12:28:06 +02:00
Elle Mouton
5370c90906
routing+migration32: update MC encoding to use pure TLV
In this commit, we update an existing migration which at the time of
writing has not been included in a release. We update it so that it
converts the format used for MissionControl result encoding to use pure
TLV instead. The 3 structs that have been updated are: `mcHop`,
`mcRoute` and `paymentResult`.
2024-11-01 12:28:06 +02:00
Oliver Gugger
006026f617
Merge pull request #9215 from carlaKC/9166-docs
routerrpc/trivial: add docs to forward interceptor
2024-11-01 09:46:16 +01:00
Oliver Gugger
891108d2ea
Merge pull request #9221 from yyforyongyu/fix-TestChannelLinkCancelFullCommitment
htlcswitch: fix flake in `TestChannelLinkCancelFullCommitment`
2024-11-01 09:45:49 +01:00
Elle Mouton
d9a073ad7e
routing+channeldb: let Vertex implement tlv.RecordProducer
So that we can use it in TLV encoding.
Also add this to the codec for channeldb migration 32 since we will be
using it there in an upcoming adjustment commit.
2024-11-01 08:59:54 +02:00
Elle Mouton
a5f3fa17e7
lnwire21: update Msat and TrueBoolean
Add the TrueBoolean type along with its Record method. Also update the
Millisatoshi type with a Record method. Both of these will be used in an
upcoming commit which adjusts a mission control migration to use pure
TLV types.
2024-11-01 08:59:54 +02:00
ziggie
5fe9bb2cff
htlcswitch: adopt test for dust threshold 2024-10-31 17:35:53 +01:00
ziggie
cfa073e6ec
htlcswitch: increase logs 2024-10-31 17:35:27 +01:00
yyforyongyu
8311bc56e5
htlcswitch: fix flake in TestChannelLinkCancelFullCommitment
We bring down the max number of inflight HTLCs in the link's unit tests
to speed up the tests.
2024-10-31 20:23:31 +08:00