100 Commits
Author SHA1 Message Date
Yong 9bef04a67d Merge pull request #10604 from lightningnetwork/elle-payment-sql-series-new
payments: SQL backend implementation series
2026-02-26 10:52:57 +08:00
Yong 344af33ac7 Merge pull request #10557 from Liongrass/master
Remove redundant documentation from /docs
2026-02-24 21:17:22 +08:00
Yong f9e3825601 Merge pull request #10414 from lightningnetwork/elle-g175Prep-base
[g175] graph/db: merge g175 types-prep side branch
2026-02-14 00:22:59 +08:00
Yong 1bdd0f9a29 Merge pull request #10562 from ziggie1984/fix-severity-cmd-classification
build: classify cmd/* as MEDIUM in PR severity bot
2026-02-12 21:03:24 +08:00
Yong e53c4b1de5 Merge pull request #10465 from ziggie1984/bugfix/fix-peer-disconnect-log
peer: fix log output when not applicable
2026-02-11 11:41:20 +08:00
Yong eaa7bcf67a Merge pull request #10547 from gijswijs/fix-linter-for-worktrees
Fix linter in git worktrees
2026-02-04 20:26:06 +08:00
Yong 89b54abbc6 Merge pull request #10544 from ellemouton/updateBWCompatBaseVersion
scripts: update bw-compat test LND base version
2026-02-04 03:30:11 +08:00
Yong 06b175a140 Merge pull request #10463 from hieblmi/fix-trickle
discovery: default trickledelay to 1 if less is set
2026-02-03 18:42:30 +08:00
Yong 676386ce52 Merge pull request #10520 from darioAnongba/fix/routerrpc-failuredetail-additions
routerrpc: FailureDetail enums for invoice/AMP validation failures
2026-01-23 09:58:22 +08:00
Yong 28355a20b9 Merge pull request #10493 from ziggie1984/add-usetesting-linter
Update usetesting linter to match old behavior
2026-01-13 23:59:06 +08:00
Yong d3ce622bde Merge pull request #10403 from gijswijs/fix-flatmap
Fix FlatMap implementation in Result type
2026-01-06 22:37:18 +08:00
Yong 013f5c93ed Merge pull request #10455 from ziggie1984/fix-onchain-timeout-terminal
Fix flaky itest multihop testcase
2025-12-22 23:10:09 +08:00
Yong 91423ee519 Merge pull request #10449 from ziggie1984/bugfix/setsource-node-sql
server: fix timestamp comparison in setSelfNode
2025-12-16 16:58:25 +08:00
Yong 0cc84d0b00 Merge pull request #10353 from starius/fix-rbf_coop_test
chancloser: stabilize remote RBF coop tests
2025-12-15 14:56:00 +08:00
Yong 1e15efc473 Merge pull request #10439 from ziggie1984/bugfix/probing
Always add the payment address when probing an invoice
2025-12-10 22:39:58 +08:00
Yong cb3991ea6e Merge pull request #10428 from ziggie1984/fix-sql-pool-exhaustion
graphdb: fix potential sql tx exhaustion
2025-12-09 21:09:50 +08:00
Yong 0a6907d44b Merge pull request #10415 from yyforyongyu/race-test-sql
github: add `unit-race` for sql tests
2025-12-08 22:40:18 +08:00
yyforyongyu 57448a90c8 github: add unit-race for sql tests 2025-12-08 19:31:56 +08:00
Yong d962b146b0 Merge pull request #10420 from ellemouton/removePubKeyCaching
graph: fix various races
2025-12-08 19:31:32 +08:00
Yong a76f22da9d Merge pull request #10419 from AbelLykens/patch-2
[docs] Document use-native-sql=true for SQL migration step 2
2025-12-04 19:27:30 +08:00
Yong 4b1c4998ad Merge pull request #10399 from mohamedawnallah/handle-partial-tls-files
tls_manager: Handle partial TLS files
2025-12-03 18:27:39 +08:00
Yong 0a2a5b29c7 Merge pull request #10394 from ziggie1984/add-back-globallock
lncfg: readd global lock for postgres and the channeldb_kv table
2025-11-28 20:19:40 +08:00
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