Oliver Gugger
a2266c6c73
Merge pull request #8802 from saubyk/suheb-pgp
...
scripts: add pgp key for suheb [skip ci]
2024-06-03 17:53:53 +02:00
Oliver Gugger
d7714efc88
Merge pull request #8779 from bufo24/chore/allow-zero-fail-amt-import-mc
...
Allow 0 failure amt on importmc
2024-06-03 13:02:37 +02:00
Bufo
4a3af519b8
chore: allow 0 failure amount on import mission control
2024-06-03 11:28:26 +02:00
saubyk
ab00c8ad18
scripts: add gpg key for suheb [skip ci]
2024-06-01 11:25:46 -07:00
Oliver Gugger
613bfc07fb
Merge pull request #8798 from zoupingshi/master
...
chore: fix some comments
2024-05-31 18:03:54 +02:00
Oliver Gugger
a02c6b6194
Merge pull request #8799 from ellemouton/release-notes-0.18.1
...
docs: add release notes template for 0.18.1
2024-05-31 17:19:05 +02:00
Elle Mouton
401e74c568
docs: add release notes template for 0.18.1
2024-05-31 09:44:48 -04:00
zoupingshi
30047feb35
chore: fix some comments
...
Signed-off-by: zoupingshi <hellocatty@tom.com>
2024-05-31 15:16:33 +08:00
Olaoluwa Osuntokun
fed760913f
Merge pull request #8794 from Roasbeef/v0-18-0-branch
...
build: bump version to v0.18.0 beta
2024-05-30 22:52:10 +09:00
Olaoluwa Osuntokun
1a8d196607
build: bump version to v0.18.0 beta
2024-05-30 17:49:17 +09:00
Oliver Gugger
b137892ceb
Merge pull request #8788 from ProofOfKeags/proofofkeags-pgp
...
scripts: add gpg key for proofofkeags [skip ci]
2024-05-29 20:55:17 +02:00
Olaoluwa Osuntokun
cd23265537
Merge pull request #8784 from lightningnetwork/0-18-rc4
...
build: bump version to v0.18.0-beta.rc4
2024-05-29 17:00:12 +09:00
Oliver Gugger
a8b679cd60
Merge pull request #8789 from guggero/fn-result
...
fn: add Result type
2024-05-29 09:55:52 +02:00
Oliver Gugger
c95505db1e
fn: add Result type
...
In this commit, we add a new result type, which is just Either[A, error]. This is useful as we can always pass around/accept a single value. We add an Unpack() method which is the most idiomatic way of handling errors in Go, as we revert back to (A, error) when necessary.
2024-05-29 09:39:39 +02:00
Keagan McClelland
fce2ef15a5
scripts: add gpg key for proofofkeags [skip ci]
2024-05-28 17:29:36 -07:00
Olaoluwa Osuntokun
1b6f42a107
build: bump version to v0.18.0-beta.rc4
2024-05-28 10:46:15 +09:00
Olaoluwa Osuntokun
ff85328050
Merge pull request #8774 from yyforyongyu/fix-size-calc
...
lnwallet+sweep: fix wrong unit used in fee calculation
2024-05-27 18:44:29 -07:00
yyforyongyu
2e40a23146
lnrpc: fix linter
2024-05-25 13:37:16 +08:00
yyforyongyu
5e8452cc5d
sweep: make sure the full input is accounted
...
Fix the case where previously only the witness data is taken into
account when calculating the fees.
2024-05-25 13:37:16 +08:00
yyforyongyu
17a089c899
input+lnwallet: apply the new type lntypes.VByte
2024-05-25 13:37:16 +08:00
yyforyongyu
8da68bb7db
multi: apply the new type lntypes.WeightUnit
2024-05-25 13:37:13 +08:00
yyforyongyu
dc9a0b31c0
lntypes: add new units WeightUnit
and VByte
2024-05-24 23:56:28 +08:00
yyforyongyu
634967c5c8
chainfee: add FeeForVByte
on SatPerKWeight
2024-05-24 22:49:20 +08:00
Olaoluwa Osuntokun
bc6292f8bd
Merge pull request #8758 from feelancer21/preserve-inbound-fees
...
multi: Inbound fees are retained when not provided
2024-05-23 13:58:52 -07:00
Olaoluwa Osuntokun
4417229bc8
Merge pull request #8773 from lightningnetwork/0-18-rc3
...
build: bump verison to v0.18.0-beta.rc3
2024-05-22 13:19:13 -07:00
feelancer21
dc4ec45423
itest: add more tests related to inbound fees
...
Add tests for setting inbound fees in channel policies, including tests
where no inbound fees are set in the PolicyUpdateRequest.
2024-05-22 20:48:52 +02:00
feelancer21
f62c00fe34
multi: Inbound fees are retained when not provided
...
Fixes the problem that inbound base fee and fee rate are overwritten
with 0 if they are not specified in PolicyUpdateRequest. This ensures
backward compatibility with older rpc clients that do not yet support
the inbound feature.
2024-05-22 20:48:42 +02:00
Olaoluwa Osuntokun
74237f2c24
build: bump verison to v0.18.0-beta.rc3
2024-05-22 11:44:24 -07:00
Olaoluwa Osuntokun
64639fb771
Merge pull request #8762 from ProofOfKeags/bugfix/ping-stability
...
Adjust ping parameters to improve tor stability
2024-05-21 19:34:57 -07:00
Keagan McClelland
1148e572bf
peer: triple timeout parameters to give tor more grace
2024-05-21 13:36:46 -07:00
Keagan McClelland
61191a576d
peer: make PingManager.Stop infallible
2024-05-21 13:29:31 -07:00
Keagan McClelland
94a9baefeb
peer: reduce upper bound of pong bytes to ease bandwidth load
2024-05-21 13:27:56 -07:00
Oliver Gugger
68ea8d5312
Merge pull request #8750 from Chinwendu20/fnd
...
fn: Added `HasDuplicates` function to slice
2024-05-21 17:08:05 +02:00
Oliver Gugger
01e3ac61d8
Merge pull request #8631 from Chinwendu20/brontidetest
...
[code-health]: reduce duplication in brontide test.
2024-05-21 12:46:16 +02:00
Olaoluwa Osuntokun
e1c5fe2f9e
Merge pull request #8751 from yyforyongyu/fix-sweeper-18
...
contractcourt+sweep: fix fee function and deadline issue
2024-05-20 18:11:26 -07:00
yyforyongyu
347537791e
sweep: improve loggings based on feedback
...
This commit changes the logging levels and add a few more loggings based
on the testing results from the testnet/mainnet.
2024-05-21 00:53:24 +08:00
yyforyongyu
e45db07a10
contractcourt+itest: make sure ChannelArbitrator has the latest htlcs
2024-05-21 00:53:23 +08:00
yyforyongyu
71ee50f87c
lncli: add missing SatPerVbyte
field in bumpfee
cli
2024-05-21 00:53:23 +08:00
yyforyongyu
4079f61d7e
itest+sweep: fix current itest re anchor deadline
2024-05-21 00:53:20 +08:00
Oliver Gugger
2a8ca878fd
Merge pull request #8663 from Filiprogrammer/funding-manager-log-errors
...
funding: add absent error logs for failed inbound funding requests
2024-05-20 15:23:32 +02:00
Ononiwu Maureen
95016b849a
fn: Added HasDuplicates
function to slice
...
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
2024-05-20 11:54:33 +01:00
yyforyongyu
e68c0235c6
itest: add new itests to check CPFP anchor sweeping behavior
...
Replaced `testSweepAnchorCPFPLocalForceClose` with dedicated tests.
2024-05-18 07:45:10 +08:00
yyforyongyu
38184e88c8
sweep: check all states in TestMarkInputsPublishFailed
2024-05-18 07:45:09 +08:00
yyforyongyu
ac5af48319
sweep: make sure the budget is used up at deadlineHeight-1
2024-05-18 07:45:09 +08:00
yyforyongyu
1470adbed2
contractcourt: share deadlines between CPFP anchors and HTLCs
...
This commit changes how the deadline is calculated for CPFP anchor
sweeping. In order to sweep the second-level HTLCs, we need to first
get the FC tx confirmed. If we use a larger conf target for CPFP, we'd
end up having few blocks to sweep the HTLCs, as these two sweeping txns
share the deadline of the HTLC, as shown below,
```
More aggressive on the CPFP part.
|-CPFP-|-----HTLC-----|
Share the deadlines evenly.
|---CPFP---|---HTLC---|
More aggressive on the HTLC part.
|-----CPFP-----|-HTLC-|
```
In this commit, we decide to share the deadlines evenly as a starting
point so neither side will have a short of deadlines.
2024-05-18 07:45:09 +08:00
yyforyongyu
2906b8b20c
sweep: update and fix README
2024-05-18 07:45:09 +08:00
Oliver Gugger
87d5170dec
Merge pull request #8744 from orbitalturtle/custom-protocol-cfg
...
cfg: move experimental options to main protocol cfg
2024-05-17 08:45:34 +02:00
Oliver Gugger
3c4ebeb994
Merge pull request #8765 from hieblmi/fix-logging
...
routing: log edge when skipping it
2024-05-17 08:42:11 +02:00
Orbital
e8196c6feb
cfg: move experimental options to main protocol cfg
2024-05-16 17:16:50 -05:00
Oliver Gugger
2845c6497a
Merge pull request #8746 from Roasbeef/go-1-22-3
...
build: update release builds and CI to Go 1.22.3
2024-05-16 17:22:53 +02:00