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
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
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
Slyghtning
c9713e0ddb
routing: log edge when skipping it
2024-05-16 13:54:54 +02:00
Oliver Gugger
9d358bc649
Merge pull request #8748 from guggero/custom-tlv-types
...
tlv: generate TLV types for custom ranges
2024-05-14 09:02:32 +02:00
Oliver Gugger
454f56d4a8
tlv: generate TLV types for custom ranges
2024-05-14 08:16:42 +02:00
Olaoluwa Osuntokun
130c4999c6
Merge pull request #8723 from bufo24/add-inbound-fees-to-channel-notifications
...
add inbound fees channel updates to notifications
2024-05-13 12:52:50 -07:00
Filiprogrammer
593a564332
funding: enhance error logs for failed inbound funding requests
...
For failed inbound funding requests, add missing error logs and make
sparse error logs more descriptive.
2024-05-11 14:56:37 +02:00
Ononiwu Maureen
b741132a81
peer: Add startPeer
test function
...
Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
2024-05-10 10:23:31 +01:00
Oliver Gugger
4256260544
Merge pull request #8729 from Chinwendu20/fn
...
Add new functions to the fn package
2024-05-10 11:17:46 +02:00
Ononiwu Maureen
30c9b86d62
fn: Added new slice functions.
...
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
2024-05-10 10:06:24 +01:00
Ononiwu Maureen
f88f120e91
fn: Added map functions
...
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
2024-05-10 09:55:16 +01:00
Olaoluwa Osuntokun
a585833fb5
build: update release builds and CI to Go 1.22.3
2024-05-09 15:24:19 -07:00
Oliver Gugger
4a9ab6e538
Merge pull request #8739 from ellemouton/addInstallAll
...
makefile+dev.Dockerfile: add install-all command
2024-05-08 16:26:46 +02:00
Ononiwu Maureen
2ec0fe0717
peer: Add new function to create test peer.
...
Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
2024-05-08 13:17:14 +01:00
Ononiwu Maureen
8f76c5eeef
peer: Create mockswitch, publTx, notifier in ..
...
test_utils
Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
2024-05-08 12:04:30 +01:00
Ononiwu Maureen
536c69b793
peer: createTestPeerWithChannel
returns a struct
...
The `createTestPeerWithChannel` function is made to return this newly
created struct and error.
This is useful because upcoming commits would require us returning more
objects from the function.
Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
2024-05-08 11:59:08 +01:00
Ononiwu Maureen
389ecb535b
peer: Change createTestPeer
name.
...
In this function `createTestPeer` is changed to
`createTestPeerWithChannel`. This is useful in coming commits where we
decouple the process of creating test peer from the function.
Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
2024-05-08 11:57:15 +01:00
Elle Mouton
c577dae372
makefile+dev.Dockerfile: add install-all command
...
Add a new `make install-all` command that will perform all `make
install` actions along with generating the manpages. The `manpages`
command is then removed from the existing `make install` command. The
docker build is then updated to use the new `make install-all` command.
This is done because some users running `make install` may be doing so
in environments where they do not have write access to the directory
where the man pages need to be written to.
2024-05-08 09:30:46 +02:00
Olaoluwa Osuntokun
3e36df42e5
Merge pull request #8733 from lightningnetwork/0-18-branch-rc2
...
build: bump version to v0.18.0-beta.rc2
2024-05-07 14:20:36 -07:00
Oliver Gugger
c68778d2f3
Merge pull request #7364 from guggero/itest-coverage
...
Add test coverage for integration tests
2024-05-07 21:05:35 +02:00
Bufo
af9858c3ed
feat: add inbound fees to channel notifications
2024-05-07 18:58:25 +02:00
Oliver Gugger
f523f52ab4
Merge pull request #8732 from ellemouton/guardNewTestSqliteDB
...
invoices: ensure synchronous access to NewTestSqliteDB
2024-05-07 08:40:56 +02:00
Olaoluwa Osuntokun
954ad4a329
build: bump version to v0.18.0-beta.rc2
2024-05-06 18:10:52 -07:00
Olaoluwa Osuntokun
6bcbc8dd97
Merge pull request #8719 from yyforyongyu/merge-fee-cache
...
Merge fee cache and fix sample conf
2024-05-06 18:09:06 -07:00
Elle Mouton
d4f63662c1
invoices: ensure synchronous access to NewTestSqliteDB
...
Add a temporary mutex around the calls to sqldb.NewTestSqliteDB to
ensure that only a single thread can access it at a time. This is a
temporary work around that can be removed once this race condition in
the sqlite repo has been resolved:
https://gitlab.com/cznic/sqlite/-/issues/180
2024-05-06 19:10:44 +02:00