Yong
fb91b04906
Merge pull request #9405 from yyforyongyu/fix-unused-params
...
discovery+lnd: make param `ProofMatureDelta` configurable
2025-01-17 22:57:26 +08:00
yyforyongyu
ae2bcfe3d8
docs: add release notes
2025-01-17 21:44:23 +08:00
yyforyongyu
27a05694cb
multi: make ProofMatureDelta
configurable
...
We add a new config option to set the `ProofMatureDelta` so the users
can tune their graphs based on their own preference over the num of
confs found in the announcement signatures.
2025-01-17 21:44:23 +08:00
Yong
e0a920af44
Merge pull request #9420 from yyforyongyu/assert-channel-graph
...
itest+lntest: make sure to assert edge in both graph db and cache
2025-01-17 00:13:02 +08:00
yyforyongyu
faa1f67480
lntest: assert channel edge in both graph db and cache
...
We need to make sure the channel edge has been updated in both the graph
DB and cache.
2025-01-16 23:00:22 +08:00
yyforyongyu
e576d661ef
itest: fix docs
2025-01-16 23:00:21 +08:00
yyforyongyu
848f42ea1d
itest: fix flake in graph_topology_notifications
...
We need to make sure to wait for the `ListPeers` to give us the latest
response.
2025-01-16 16:19:37 +08:00
Oliver Gugger
572784a6a1
Merge pull request #9390 from NishantBansal2003/append-channel
...
Enhance `lncli` listchannels command with the chan_id and short_chan_id (human readable format)
2025-01-15 07:19:27 -06:00
Nishant Bansal
c2897a4c78
docs: add release notes.
...
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2025-01-15 17:58:40 +05:30
Nishant Bansal
103a194e5c
cmd/lncli: update listchannels output fields
...
Added scid_str as a string representation of chan_id,
replacing chan_id with scid, and including chan_id(BOLT02)
in lncli listchannels output.
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2025-01-15 17:58:06 +05:30
Nishant Bansal
7f8e89f3b4
lnwire: add 'x' separator in ShortChannelID method
...
Add the `AltString` method for `ShortChannelID` to produce a
human-readable format with 'x' as a separator
(block x transaction x output).
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2025-01-15 15:25:40 +05:30
Yong
4b16c2902e
Merge pull request #9383 from ziggie1984/bugfix-createmissingedge
...
bugfix createmissingedge
2025-01-14 16:20:15 +08:00
ziggie
e008190a85
localchans: bugfix so that we always use the correct chanID
2025-01-14 08:14:02 +01:00
Elle
e9dd01b60d
Merge pull request #9274 from ziggie1984/remove-2x-value
...
The sweeper subsystem uses now also the configured budget values for HTLCs
2025-01-13 19:09:11 +02:00
Oliver Gugger
b958667811
Merge pull request #9355 from Roasbeef/rapid-fuzz-htlc-blobs
...
contractcourt: add rapid derived fuzz test for HtlcAuxBlob
2025-01-13 10:35:53 -06:00
Oliver Gugger
1b0f41da48
Merge pull request #9378 from yyforyongyu/fix-unit-test
...
chainntnfs: fix test `testSingleConfirmationNotification`
2025-01-13 03:13:02 -06:00
Oliver Gugger
67a8c7cf51
Merge pull request #9391 from mohamedawnallah/choreRegisterToRegisteredInStartingDebugLogs
...
chore: change 'register' to 'registered' in lnrpc starting debug logs [skip ci]
2025-01-13 03:11:03 -06:00
Elle
98033f876d
Merge pull request #9344 from ellemouton/useUpdatedContextGuard
...
htlcswitch+go.mod: use updated fn.ContextGuard
2025-01-11 12:28:45 +02:00
Elle Mouton
950194a2da
htlcswitch+go.mod: use updated fn.ContextGuard
...
This commit updates the fn dep to the version containing the updates to
the ContextGuard implementation. Only the htlcswitch/link uses the guard
at the moment so this is updated to make use of the new implementation.
2025-01-11 06:17:43 +02:00
Elle
77848c402d
Merge pull request #9342 from ellemouton/slogProtofsm
...
protofsm: update GR Manager usage and start using structured logging
2025-01-10 19:55:18 +02:00
Elle Mouton
42ce9d639f
docs: add release notes entry
2025-01-10 18:34:26 +02:00
Elle Mouton
65c4c2c4d0
protofsm: use pointer to GoroutineManager
2025-01-10 18:25:19 +02:00
Elle Mouton
dfddeec8d4
protofsm: use structured logging
2025-01-10 18:25:19 +02:00
Elle Mouton
575ea7af83
protofsm: use prefixed logger for StateMachine
...
So that we dont have to remember to add the `FSM(%v)` prefix each time
we write a log line.
2025-01-10 18:25:19 +02:00
Elle Mouton
b887c1cc5d
protofsm: use updated GoroutineManager API
...
Update to use the latest version of the GoroutineManager which takes a
context via the `Go` method instead of the constructor.
2025-01-10 18:23:28 +02:00
Elle Mouton
4e0498faa4
go.mod: update btclog dep
...
This bump includes a fix which prevents attribute value quoting if the
value string contains a newline character. This is so that if we call
spew.DumpS(), the output will stay nicely formatted.
The update also includes a couple more Hex helpers which we can make use
of now.
2025-01-10 18:23:28 +02:00
Oliver Gugger
dd25e6eb22
Merge pull request #9361 from starius/optimize-context-guard
...
fn: optimize context guard
2025-01-10 09:33:21 -06:00
Oliver Gugger
70e7b56713
Merge pull request #9388 from chloefeal/fix
...
Fix some typos
2025-01-10 09:30:50 -06:00
Oliver Gugger
e449adb03a
Merge pull request #9404 from peicuiping/master
...
chore: fix some typos
2025-01-10 09:28:37 -06:00
Oliver Gugger
83a2100810
Merge pull request #9386 from ellemouton/updateElleKey
...
scripts/keys: update pub key for ellemouton
2025-01-10 09:25:37 -06:00
Oliver Gugger
1d9b30f139
Merge pull request #9411 from ellemouton/bumpUploadArtifactAction
...
.github: bump upload-artifact action to v4
2025-01-10 09:17:31 -06:00
Elle Mouton
a7a01f684d
.github: bump upload-artifact action to v4
2025-01-10 08:31:57 +02:00
ziggie
f36f7c1d84
docs: add release-notes
2025-01-09 07:56:40 +01:00
ziggie
5cd88f7e48
contractcourt: remove 2xamount requirement for the sweeper.
2025-01-08 08:57:50 +01:00
chloefeal
852a8d8746
chore: fix typo
2025-01-05 20:45:35 +08:00
peicuiping
06fef749a7
chore: fix some typos
...
Signed-off-by: peicuiping <ezc5@sina.cn>
2025-01-03 21:48:29 +08:00
Boris Nagaev
07c46680e9
fn/ContextGuard: use context.AfterFunc to wait
...
Simplifies context cancellation handling by using context.AfterFunc instead of a
goroutine to wait for context cancellation. This approach avoids the overhead of
a goroutine during the waiting period.
For ctxQuitUnsafe, since g.quit is closed only in the Quit method (which also
cancels all associated contexts), waiting on context cancellation ensures the
same behavior without unnecessary dependency on g.quit.
Added a test to ensure that the Create method does not launch any goroutines.
2025-01-02 10:38:26 -03:00
Boris Nagaev
e9ab603735
fn/ContextGuard: clear store of cancel funcs
...
If ContextGuard lives for some time after Quit method is called, the map won't
be collected by GC. Optimization.
2025-01-02 10:38:26 -03:00
Boris Nagaev
1750aec13d
fn: remove uneeded argument of ctxBlocking
...
Removed 'cancel' argument, because it is called only in case the context has
already expired and the only action that cancel function did was cancelling the
context.
2025-01-02 10:38:26 -03:00
Boris Nagaev
865da9c525
fn/ContextGuard: test cancelling blocking context
...
Make sure WgWait() doesn't block.
2025-01-02 10:38:26 -03:00
Mohamed Awnallah
e636c76300
chore: change register
to registered
[skip ci]
2024-12-28 23:06:07 +02:00
Elle Mouton
b986f57206
scripts/keys: update pub key for ellemouton
2024-12-21 08:11:38 +02:00
yyforyongyu
bafe5d009f
chainntnfs: fix test testSingleConfirmationNotification
2024-12-20 22:08:32 +08:00
Oliver Gugger
a388c1f39d
Merge pull request #9368 from lightningnetwork/yy-waiting-on-merge
...
Fix itest re new behaviors introduced by `blockbeat`
2024-12-20 07:44:54 -06:00
yyforyongyu
2913f6e4c9
itest: fix flake in testCoopCloseWithExternalDeliveryImpl
...
The response from `ClosedChannels` may not be up-to-date, so we wrap it
inside a wait closure.
2024-12-20 19:38:15 +08:00
yyforyongyu
76eeae32d6
itest: document and fix wallet UTXO flake
2024-12-20 19:38:14 +08:00
yyforyongyu
7ab4081ffd
lntest: make sure chain backend is synced to miner
...
We sometimes see `timeout waiting for UTXOs` error from bitcoind-related
itests due to the chain backend not synced to the miner. We now assert
it's synced before continue.
2024-12-20 19:38:14 +08:00
yyforyongyu
1dec926165
workflows: increase num of tranches to 16
...
Keep the SQL, etcd, bitcoin rpcpolling builds and non-ubuntu builds at 8
since they are less stable.
2024-12-20 19:38:14 +08:00
yyforyongyu
31b66962d8
lntest: properly handle shutdown error
...
This commit removes the panic used in checking the shutdown log.
Instead, the error is returned and asserted in `shutdownAllNodes` so
it's easier to check which node failed in which test. We also catch all
the errors returned from `StopDaemon` call to properly access the
shutdown behavior.
2024-12-20 19:38:14 +08:00
yyforyongyu
73574d919d
lntest: add timeouts for windows
...
For Windows the tests run much slower so we create customized timeouts
for them.
2024-12-20 19:38:14 +08:00