Yong
85a5bf294c
Merge pull request #10341 from bitromortac/2511-fix-tor-healthcheck
...
server: prevent duplicate onion addresses in getinfo
2025-11-27 18:40:27 +08:00
Yong
c746aeed31
Merge pull request #10391 from ffranr/wip/add-field-committxblockheight-to-resolutionreq
...
lnwallet: add field `CommitTxBlockHeight` to `ResolutionReq`
2025-11-26 10:50:53 +08:00
Yong
8c8662c86a
Merge pull request #10384 from starius/rm-dead-code
...
lncli: remove dead code
2025-11-20 16:09:02 +08:00
Yong
31452a66a5
Merge pull request #10374 from ziggie1984/bugfix/fix-unit-test
...
Fix unit test for onion messages
2025-11-17 21:25:45 +08:00
Yong
841a29118a
Merge pull request #10310 from starius/bump-mapstructure
...
multi: update mapstructure/v2
2025-11-14 20:11:52 +08:00
Yong
ff20dd281e
Merge pull request #9432 from NishantBansal2003/close-addr-conf
...
multi: add upfront-shutdown-address to lnd.conf.
2025-11-14 15:54:58 +08:00
Yong
bb6e8f390b
Merge pull request #10366 from starius/mv-release-notes
...
docs: move release notes from 0.20.0 to 0.21.0
2025-11-14 15:53:04 +08:00
Yong
f6005ed350
Merge pull request #10352 from starius/chainnotifier-unavallable
...
chainrpc: return Unavailable while notifier starts
2025-11-13 23:27:52 +08:00
Yong
04917644ff
Merge pull request #10361 from Roasbeef/master-v-20-99
...
build: bump master version to v0.20.99
2025-11-12 22:52:04 +08:00
Yong
93ca7eda03
Merge pull request #10362 from Roasbeef/security-key-update-2025
...
security: update security@ PGP key
2025-11-12 22:37:12 +08:00
Yong
096ab65b1d
Merge pull request #10350 from saubyk/update-pgp-key-suheb
...
Updated expired PGP key for Suheb
2025-11-06 20:56:04 +08:00
Yong
b63a6a0c09
Merge pull request #10349 from ziggie1984/ci/enhance-expiration-date-key
...
refresh signing PGP key ziggie1984 - expiring at the end of november
2025-11-06 20:37:52 +08:00
Yong
c7c80730d2
Merge pull request #10334 from ziggie1984/fix-decoding-extra-tlv-data
...
Don't fail on invalid extra tlv data when decoding a payment
2025-11-03 22:15:37 +08:00
Yong
9f5094c98e
Merge pull request #10315 from saubyk/db-migration-guide
...
docs: added a user guide for db migration
2025-10-29 00:49:08 +08:00
Yong
995a1e75cd
Merge pull request #10314 from AbelLykens/patch-2
...
[docs] Typo recovery.md
2025-10-28 18:31:55 +08:00
Yong
ead95de2ce
Merge pull request #10312 from saubyk/release-signing-doc-url-fix
...
docs: fix build instructions doc url
2025-10-27 18:09:47 +08:00
Yong
e386e2bfbe
Merge pull request #10251 from ziggie1984/create-21-release-notes
...
Add release-notes for 0.21.0
2025-10-01 02:33:07 +08:00
Yong
6a22f99824
Merge pull request #10254 from yyforyongyu/docs-deprecate-tor
...
docs: add deprecation warning for `tor.v2`
2025-09-30 10:39:04 +08:00
Yong
01ca50db26
Merge pull request #10250 from ViktorT-11/2025-08-add-viktor-t-gpg-key
...
scripts: add gpg key for ViktorT-11
2025-09-29 14:22:46 +08:00
yyforyongyu
dcdc97c70f
docs: add release note for tor.v2 deprecation
2025-09-29 13:01:33 +08:00
yyforyongyu
4aff00260d
lncfg: makr tor.v2 as deprecated
2025-09-29 13:01:31 +08:00
Yong
b09b20c699
Merge pull request #10133 from GeorgeTsagk/rpc-find-base-alias
...
Add `XFindBaseLocalChanAlias` RPC
2025-09-25 21:06:41 +08:00
Yong
f293566849
Merge pull request #10235 from Abdulkbk/fix-externalip-retention-issue
...
lnd: fix externalip retention issue
2025-09-25 14:23:51 +08:00
Yong
2d8c9d48a4
Merge pull request #10211 from yyforyongyu/remove-flap-count
...
chanfitness: track flap counts for peers with channels
2025-09-23 23:53:00 +08:00
Yong
82f77e542f
Merge pull request #10200 from bitromortac/2509-lnd-issue-form
...
github: change to form-based issue template
2025-09-22 22:32:16 +08:00
yyforyongyu
7b6589366d
docs: update release notes
2025-09-18 22:29:40 +08:00
yyforyongyu
2d59976e16
rpcserver+itest: skip err from FlapCount
...
We need to make sure the `ListPeers` to be robust against errors from
the `FlapCount` so this RPC won't fail due to no flap count info. Also
updated the itest to check this field.
2025-09-18 22:29:40 +08:00
yyforyongyu
e50ecac2f2
lnrpc: update docs for FlapCount and LastFlapNs
2025-09-18 22:24:45 +08:00
yyforyongyu
22fddd626b
lntest+rpcserver: ignore chanfitness.ErrPeerNotFound in rpc
...
Similar to how we handle `chanfitness.ErrChannelNotFound`, we now also
ignore the `ErrPeerNotFound`. This is needed as previously we will
always see the peer in the channel event store given it'd added when
connected. This is no longer the case as we only add the peer to the map
when the channel is added.
2025-09-18 22:24:45 +08:00
yyforyongyu
6c56f33a70
lntest: fix error msg in ReceiveChannelEvent
2025-09-18 22:24:43 +08:00
yyforyongyu
455e4564eb
chanfitness: send peer online event when we see the first channel
...
We rename `getPeerMonitor` to `getOrCreatePeerMonitor` for clarity - it
will now send an online event when the peer monitor is being created,
which means we will only start counting the peer as online when it has
opened a channel with us.
2025-09-18 22:18:28 +08:00
yyforyongyu
92de9424ce
chanfitness: only process online events for peers with channels
2025-09-18 22:18:28 +08:00
Yong
b34fc964ba
Merge pull request #10228 from ellemouton/fixNilAssignment
...
autopilot: fix nil map assignment
2025-09-18 14:59:12 +08:00
Yong
1ee3b95f6d
Merge pull request #10221 from ziggie1984/update-bbolt
...
Update bbolt
2025-09-17 19:45:39 +08:00
Yong
cbed86e21d
Merge pull request #10189 from ziggie1984/fix-fee-estimation
...
bugfix error matching sweeper
2025-09-17 00:53:10 +08:00
Yong
9a6d34a028
Merge pull request #10218 from ellemouton/docs-fix-graph-links
...
docs: improve readability of graph SQL work
2025-09-16 15:16:48 +08:00
Yong
0c1746a093
Merge pull request #10174 from hexcow/patch-1
...
chore(ci): upgrade checkout to v5
2025-09-15 15:29:55 +08:00
Yong
5082566ed7
Merge pull request #9677 from NishantBansal2003/conf-count
...
Expose confirmation count for pending 'channel open' transactions
2025-09-11 22:36:05 +08:00
Yong
d1d3a82010
Merge pull request #9884 from ellemouton/relaxFeatureBitCheck
...
multi: use relaxed feature bit `Set` method for peer features
2025-09-10 17:22:16 +08:00
Yong
67880c557e
Merge pull request #10149 from Roasbeef/estimate-route-fee-docs
...
docs: add docs for `EstimateRouteFee`
2025-09-10 13:26:00 +08:00
Yong
6c9e0f348c
Merge pull request #10196 from ziggie1984/refactor-payment-part-6
...
refactor payments part 6
2025-09-08 15:40:36 +08:00
Yong
c02e94e767
Merge pull request #10187 from Roasbeef/skip-labels-green-check
...
build: make special label checks auto-pass instead of skip
2025-09-06 04:36:48 +08:00
Yong
ab924be037
Merge pull request #10197 from bhandras/wallet-create-warning
...
commands: add extra warning on wallet creation
2025-09-05 08:08:03 +08:00
Yong
e46c676894
Merge pull request #10162 from ellemouton/graphMigUnwrapDNSAddrs
...
graph/db: unwrap dns addresses from opaque ones during migration
2025-09-04 22:29:49 +08:00
Yong
d08afa3ea6
Merge pull request #10185 from ellemouton/renameLightningNode
...
multi: Rename LightningNode to Node
2025-09-04 10:01:10 +08:00
Yong
f51684dd0f
Merge pull request #10103 from yyforyongyu/rate-limit-peer
...
Rate limit outgoing gossip bandwidth by peer
2025-09-02 23:31:29 +08:00
yyforyongyu
86a915a772
docs: update release notes
2025-09-02 21:23:08 +08:00
yyforyongyu
6d14370e8e
lncfg: validate msg-burst-bytes
2025-09-02 21:23:08 +08:00
yyforyongyu
5bc4666efc
multi: add new config peer-msg-rate-bytes
2025-09-02 21:23:07 +08:00
yyforyongyu
778456769a
discovery: rate limiting sending msgs per peer
...
We now add another layer of rate limiting before sending the messages
inside `GossipSyncer`.
2025-09-02 21:23:07 +08:00
yyforyongyu
6826703c77
discovery: introduce rate limiter to GossipSyncer
2025-09-02 21:13:46 +08:00
yyforyongyu
19bc941cbd
discovery: create common helper methods for rate limiter
...
This allows us to reuse them in the upcoming commits where we introduce
a rate limiter to the gossip syncer.
2025-09-02 21:13:46 +08:00
Yong
1666764690
Merge pull request #10136 from yyforyongyu/use-btcwallet-interface
...
lnwallet: use btcwallet's new interface
2025-09-02 20:46:56 +08:00
Yong
84b2c20ea0
Merge pull request #10167 from starius/go124
...
multi: bump Go to 1.24.6
2025-09-01 20:03:54 +08:00
yyforyongyu
48f88248b8
docs: update release notes
2025-08-26 20:36:22 +08:00
yyforyongyu
b10aca5c1b
lnwallet: use the wallet interface
2025-08-26 20:36:21 +08:00
yyforyongyu
2403313443
gomod: update btcwallet
2025-08-26 20:36:21 +08:00
yyforyongyu
596d969881
btcwallet: fix duplicate import
...
The `wallet` has already imported using `base`.
2025-08-26 20:36:21 +08:00
Yong
0c2f045f5d
Merge pull request #10102 from yyforyongyu/fix-UpdatesInHorizon
...
Catch bad gossip peer and fix `UpdatesInHorizon`
2025-08-20 22:35:31 +08:00
Yong
8f489d0f12
Merge pull request #10153 from ziggie1984/refactor-payments-code-05
...
Refactor Payment PR 5
2025-08-20 21:18:04 +08:00
Yong
9a4968656a
Merge pull request #8825 from Abdulkbk/restore-node-announcement
...
lnd: use persisted node announcement settings across restarts
2025-08-18 18:21:00 +08:00
Yong
3841d55549
Merge pull request #10112 from GustavoStingelin/check-pgp-keys-expiry
...
CI: add pgp keys expiry check
2025-08-15 12:12:33 +08:00
Yong
dfc29b3f71
Merge pull request #9847 from ziggie1984/refactor-payments-code-04
...
Refactor Payment PR 4
2025-08-15 12:03:33 +08:00
Yong
c6a9116e3a
Merge pull request #9844 from ziggie1984/refactor-payments-code-03
...
Refactor Payment PR 3
2025-08-13 06:05:01 -04:00
Yong
f3e1f2f351
Merge pull request #10141 from ziggie1984/fix-stuck-payment
...
fix stuck payment
2025-08-11 19:44:12 +08:00
Yong
3db93f5b29
Merge pull request #10117 from yyforyongyu/keep-exclusive
...
contractcourt+sweep: make anchor inputs exclusive
2025-08-05 14:57:26 +08:00
Yong
21726f0179
Merge pull request #9826 from ziggie1984/refactor-payments-code-02
...
Refactor Payment PR 2
2025-08-04 17:01:30 +08:00
yyforyongyu
4d7622ab05
docs: add and update release notes for 0.19.3
2025-08-04 16:50:34 +08:00
yyforyongyu
ab8e0354ab
sweep: fix typos
2025-08-04 16:50:34 +08:00
yyforyongyu
3da4093012
itest: fix tests re the new anchor behavior
2025-08-04 16:50:31 +08:00
yyforyongyu
5ee54b34ce
sweep: only remove the other input from the exclusive group
...
We now make sure when removing inputs identified by the exclusive group
ID, we only remove the other one, not the one that invoked the removal.
2025-08-04 16:20:25 +08:00
yyforyongyu
ae08a75410
contractcourt+sweep: make anchor inputs exclusive
...
We now make sure to sweep each anchor input in its own sweeping tx, if
economically feasible.
2025-08-04 16:07:33 +08:00
yyforyongyu
7c46ba19ca
docs: update gossip rate limiting doc
2025-08-04 15:55:11 +08:00
yyforyongyu
fc11e48585
discovery: fix make lint
2025-08-04 15:47:12 +08:00
yyforyongyu
84532e27f9
docs: add release notes for ban-threshold
2025-08-04 15:46:17 +08:00
yyforyongyu
60603f0854
multi: allow disable banning peers
...
When users set `gossip.ban-threshold` to 0, it's now treated as setting
the ban score to max uint64, which effectively disables the banning. We
still want to record the peer's ban score in case we need it for future
debugging.
2025-08-04 15:46:16 +08:00
yyforyongyu
a6f8617e7c
multi: add new config ban-threshold
2025-08-04 15:45:47 +08:00
yyforyongyu
3109a8f3fe
discovery: pass banThreshold to banman
...
So we can configure it via gossip's config in a following commit.
2025-08-04 15:44:35 +08:00
yyforyongyu
343418cfdf
docs: update release notes
2025-08-04 15:44:34 +08:00
yyforyongyu
11c53b7212
discovery: increase peer's ban score when received skewed channel_update
2025-08-04 15:44:34 +08:00
yyforyongyu
c3780a230c
discovery: use handleBadPeer to increase peer's ban score
2025-08-04 15:44:34 +08:00
yyforyongyu
f1b2a47717
discovery: add new method handleBadPeer
...
So we can use the same piece of code elsewhere.
2025-08-04 15:44:34 +08:00
yyforyongyu
9cae62dcd7
discovery: only send node_announcement associated with channels
...
If a node doesn't have any channels, there's little point to send its
node_announcement as it cannot be used for routing.
2025-08-04 15:44:34 +08:00
yyforyongyu
f00073e62c
discovery: skip sending channel_announcement with no channel_updates
...
Base on BOLT07:
> If a channel_announcement has no corresponding channel_updates:
> - MUST NOT send the channel_announcement.
2025-08-04 15:44:33 +08:00
Yong
6c39b9a3d4
Merge pull request #10097 from Roasbeef/gossip-block-fix
...
multi: make gossip filter sends non-blocking, only allow a single backlog catch up goroutine per peer
2025-08-04 15:43:33 +08:00
Yong
149a81911a
Merge pull request #10087 from starius/estimate-feerate-allow-1
...
walletrpc: allow conf_target=1 in EstimateFee and FundPsbt
2025-08-04 14:08:42 +08:00
yyforyongyu
d0c07d76d2
docs: update release notes
2025-07-25 17:45:02 +08:00
yyforyongyu
03bf1974a3
lncfg: update docs about msg-rate-bytes and msg-burst-bytes
2025-07-25 17:41:00 +08:00
yyforyongyu
cadf870dcb
discovery: increase default msg rates to 1MB
2025-07-25 17:40:59 +08:00
yyforyongyu
19a6358a3e
docs: add release notes
2025-07-25 17:13:44 +08:00
yyforyongyu
10b4ed6c28
contractcourt: replace MarkChannelClosed with NotifyChannelResolved
2025-07-25 17:13:43 +08:00
yyforyongyu
d3501197be
contractcourt: add a new chan resolvedChan to handle resolved channels
...
Thus we can mark channels as resolved in an async way to avoid deadlock.
2025-07-25 17:13:43 +08:00
yyforyongyu
af2f935ab7
.github: add timeout when sending coverage reports
...
We also make it cancelable.
2025-07-18 15:41:46 +08:00
yyforyongyu
f2e1c11593
.github: remove github.job from the cache key and update docs
...
This commit adds a more descriptive docs about the caching process. In
addition, the `github.job` is now removed from the cache key
construction to allow jobs sharing the same cache. In addition, given we
now use `inputs.key-prefix`, the `github.job` is no longer relevant as
the `key-prefix` already creates a unique name for the cache.
We also update the lint and check commits job to use the same cache from
the unit test, given they are running in the same environment.
2025-07-18 15:41:46 +08:00
yyforyongyu
4b1a68778e
.github: use title case in job names
...
To unify the format used in job names.
2025-07-18 15:41:46 +08:00
yyforyongyu
a83dcaffae
.github: add new action cleanup-space
2025-07-18 15:41:44 +08:00
yyforyongyu
81ce5aad94
.github: run PR review stats only for side branches
2025-07-17 20:42:24 +08:00
yyforyongyu
db0927fb95
.github: auto clean caches older than 12 hours
2025-07-17 20:42:24 +08:00
yyforyongyu
4f98a0313a
.github: add write permission to delete caches
2025-07-17 20:42:24 +08:00
yyforyongyu
da2b3469dd
.github: move small tasks onto the same machine
...
Thus saving us from the overhead cost, also they can share the same
cache file.
2025-07-17 20:42:21 +08:00