100 Commits
Author SHA1 Message Date
Oliver Gugger e259456585 Merge pull request #10168 from ziggie1984/move-pgp-check-to-daily
move pgp check to daily builds
2025-08-19 05:34:43 -06:00
Oliver Gugger fb1adfc218 Merge pull request #10160 from mohamedawnallah/increase-wait-wallet-sync-timeout
lnwallet/test: increase wait for wallet to sync to `30s` to match with the returned error in case of timeout
2025-08-15 06:54:11 -06:00
Oliver Gugger 365f1788e5 Merge pull request #10157 from ziggie1984/remove-pgp-key
remove expired key
2025-08-15 01:10:05 -06:00
Oliver Gugger c428b7f430 Merge pull request #10158 from ellemouton/graphTest
graph/db: expand TestPopulateViaMigration for easy testing
2025-08-15 00:52:51 -06:00
Oliver Gugger 31fc556507 Merge pull request #10155 from ziggie1984/add-missing-invoice-settle-index
Add missing invoice index for native sql
2025-08-14 09:23:37 -06:00
Oliver Gugger 4b3ede5cb0 Merge pull request #10154 from ellemouton/graphPerf11
graph/db: use batch validation to improve SQL migration performance
2025-08-14 05:54:21 -06:00
Oliver Gugger d11d699443 Merge pull request #10147 from hieblmi/update-hieblmi-key
scripts: update hieblmi pgp key
2025-08-11 04:52:22 -06:00
Oliver Gugger 72e9ad8e65 Merge pull request #10144 from jtobin/jt/aux-error
server: don't mention aux controllers in error message
2025-08-11 00:42:12 -06:00
Oliver Gugger e00a072bab Merge pull request #10139 from ziggie1984/update-golang-version
update Golang version to v1.23.12 to fix potential SQL bug
2025-08-07 23:58:15 -06:00
Oliver Gugger 2269859d98 Merge pull request #10138 from sputn1ck/update_sputn1ck_key
scripts: update sputn1ck pgp key
2025-08-07 05:33:35 -06:00
Oliver Gugger 8a2128ba41 Merge pull request #9806 from guggero/formatting-list-initializations
docs: document formatting for slice definitions
2025-08-07 01:49:54 -06:00
Oliver Gugger e5359f2f5b Merge pull request #10135 from guggero/update-19-3-release-notes
docs: move v0.19.3 items to correct file
2025-08-06 09:20:47 -06:00
Oliver Gugger 02d48d1d81 Merge pull request #10132 from ffranr/update-ffranr-signing-key
scripts: update ffranr release signing key
2025-08-06 07:14:48 -06:00
Oliver Gugger 74b327ba9c Merge pull request #10127 from ellemouton/graphPerf8
[7] graph/db+autopilot: improve efficiency of autopilot methods that use the ForEachNode/ForEachChannel pattern
2025-08-06 07:05:25 -06:00
Oliver Gugger 513cdb36a5 Merge pull request #10131 from ziggie1984/remove-positiveblue-pgp-key
scripts: remove expired pgp key
2025-08-06 07:04:24 -06:00
Oliver Gugger 429aa830c3 docs: move v0.19.3 items to correct file
Moves the PRs that are going to be shipped with v0.19.3 into the correct
release notes file.
2025-08-06 15:02:30 +02:00
Oliver Gugger e512770f14 Merge pull request #10125 from ziggie1984/fix-payment-send-local-chan
bugfix payment lifecycle payment attempts
2025-08-06 02:56:55 -06:00
Oliver Gugger c4db070e5f Merge pull request #10119 from guggero/remote-signing-imported-tapscript
wallet: fix imported tapscript address behavior in watch-only mode
2025-08-05 10:34:27 -06:00
Oliver Gugger d1f79953b6 docs: add release notes 2025-08-05 16:41:29 +02:00
Oliver Gugger f5280491ab mod: update btcwallet to version with fix 2025-08-05 16:41:01 +02:00
Oliver Gugger cce2df9018 itest: run FundPsbt test with imported account
This demonstrates that the "imported" account behaves differently for a
wallet that's watch-only vs. normal. The testTaprootImportTapscriptFullKeyFundPsbt
test case succeeds in a normal run but fails in a remote-signing setup.

For some reason, an imported tapscript address ends up in the "default"
account when remote-signing but in the "imported" account for a normal
wallet.
2025-08-05 16:41:01 +02:00
Oliver Gugger c214575de1 itest: run normal FundPsbt test case in remote-signer mode
This makes sure there is no general issue with running the pay-join
FundPsbt test case in a remote signer setup.
2025-08-05 16:41:00 +02:00
Oliver Gugger e10cb0174e docs: explain what "visual symmetry" means 2025-08-04 16:34:18 +02:00
Oliver Gugger 46b1897d03 docs: document formatting for slice definitions
Adds more clarity around when to use what style for using inline
slice definitions.
2025-08-04 16:26:41 +02:00
Oliver Gugger 7152224b22 Merge pull request #10118 from ellemouton/graphPerf5
[4] sqldb+graph/db: add and use new pagination helper
2025-08-04 05:04:50 -06:00
Oliver Gugger 37523b6cb7 Merge pull request #10100 from Abdulkbk/fix-chanid-flag
commands: fix how we parse chan ids args at CLI level
2025-07-31 06:49:46 -06:00
Oliver Gugger f7efc15a9e Merge pull request #9625 from MPins/issue-8161
Add deletecanceledinvoice RPC call
2025-07-30 09:14:06 -06:00
Oliver Gugger 117035d95c Merge pull request #10109 from ellemouton/graphPerf1
graph/db: helper tests and some benchmarks for SQL
2025-07-30 09:10:45 -06:00
Oliver Gugger ce10a9d82e Merge pull request #10114 from ellemouton/fixPolicySwop
graph/db: fix potential policy swop
2025-07-29 00:25:27 -06:00
Oliver Gugger 13cec7daec Merge pull request #10083 from starius/reorg-notif-itest3
itest: RegisterSpendNtfn detects reorgs
2025-07-28 23:31:38 -06:00
Oliver Gugger f4173dbb83 Merge pull request #10090 from starius/up-deps
update golang dependencies
2025-07-25 13:25:33 -06:00
Oliver Gugger 839370946e Merge pull request #10108 from yyforyongyu/fix-arb-deadlock
Fix arbitrator deadlock found in `ResolveContract`
2025-07-25 04:42:32 -06:00
Oliver Gugger 6f09d9653f Merge pull request #10052 from guggero/rbf-close-err
chancloser: fix flakes in chancloser tests
2025-07-23 03:47:09 -06:00
Oliver Gugger 05b87f5ec1 Merge pull request #10075 from yyforyongyu/fix-TestChangeWalletPasswordStateless
Fix flake in `TestChangeWalletPasswordStateless`
2025-07-22 10:02:06 -06:00
Oliver Gugger 8b8290a64d Merge pull request #10030 from guggero/macaroon-docs
lnrpc+rpcserver: improve docs for CheckMacaroonPermissions
2025-07-21 06:27:31 -06:00
Oliver Gugger 1882939cd8 chancloser: fix flake by registering subscriber first
Fixes another flake in the unit-race test: Sometimes we miss startup
events if there's a high CPU load (in CI for example).
To avoid that, we register our subscriber before starting the state
machine.
2025-07-21 13:53:25 +02:00
Oliver Gugger 15d8f963ce chancloser: fix error tests
These tests previously only worked because we didn't properly wait for
all transitions to come in. We fix them by correctly asserting the
expected number of state transitions.
2025-07-21 13:49:17 +02:00
Oliver Gugger bc33986bfa chancloser: fix flake in TestRbfCloseClosingNegotiationRemote
This fixes the actual flake: We didn't wait for next iterations to _not_
come in, so depending on timing, we could read another transition in a
second run.
But making sure we expect all transitions at the same time and then make
sure no further transitions come in makes this not depend on time.
2025-07-21 13:49:16 +02:00
Oliver Gugger 263d070624 chancloser: increase timeouts 2025-07-21 13:49:16 +02:00
Oliver Gugger f96ad47d28 make: add flakehunter-unit-all and flakehunter-unit-race
These two new goals take all the usual flags like pkg=, case=, nocache= and so
on.
2025-07-21 13:48:42 +02:00
Oliver Gugger 0860f2dac4 chancloser: fix nolint comments, fix formatting 2025-07-21 13:48:31 +02:00
Oliver Gugger 6b1c85265f lnrpc+rpcserver: add QoL flag for permission check
To make it even more obvious that by default the permissions to check
aren't taken from the full method provided, we add a new flag that does
that on request.
2025-07-21 13:07:43 +02:00
Oliver Gugger 66340500e9 lnrpc+rpcserver: improve docs for CheckMacaroonPermissions
Fixes #10026.
2025-07-21 13:06:25 +02:00
Oliver Gugger 270fad23f1 scripts/keys: remove old expired or revoked keys
Fixes #10093.
This commit removes some old signing keys that haven't been used to sign
in a while and have either expired or been revoked.

=== scripts/keys/arshbot.asc ===
KeyID: 90E00CCB1C74C611 Created: 2018-08-08 Expires: 2022-08-08 Revoked: NO

=== scripts/keys/Crypt-iQ.asc ===
KeyID: 118759E83439A9B1 Created: 2019-05-31 Expires: 2022-10-13 Revoked: NO

https://github.com/lightningdevkit/rust-lightning/pull/2029
2025-07-21 09:43:19 +02:00
Oliver Gugger 8023583414 chancloser: use separate broadcast channels
This doesn't change the behavior but makes the use of the broadcast
channels more clear.
2025-07-18 14:07:30 +02:00
Oliver Gugger 899131f7be chancloser: use param instead of constant
The param previously was unused so this was likely an oversight or
copy/paste error.
This does not change any behavior, as the method was always called with
the constant previously used. But it makes things more explicit.
2025-07-18 14:07:29 +02:00
Oliver Gugger 5c62e904e2 Merge pull request #10032 from yyforyongyu/fix-ci-cache
CI: reduce cache size and auto clean caches
2025-07-18 03:07:34 -06:00
Oliver Gugger 012fb79d7e Merge pull request #9751 from starius/bump-deps
multi: update Go to 1.23.10 and update some packages
2025-07-16 01:46:21 -06:00
Oliver Gugger d7100ebe52 Merge pull request #10057 from Abdulkbk/outchanids-to-queryroutes
routerrpc: accept mutliple outgoing chan ids in queryroutes
2025-07-15 15:02:23 -06:00
Oliver Gugger e72e414091 Merge pull request #10073 from ellemouton/graphMigUnitTestsRapid
graph/db: add graph SQL migration rapid unit test
2025-07-15 14:11:31 -06:00
Oliver Gugger 7f491dbd88 Merge pull request #10079 from guggero/funding-timeout-error
Add missing `FundingTimeoutEvent` type to `SubscribeChannelEvents` RPC
2025-07-15 10:42:08 -06:00
Oliver Gugger 6f90204e20 docs: add release notes 2025-07-15 17:16:00 +02:00
Oliver Gugger f5b27bf057 lnrpc+rpcserver: add missing channel update event type
Fixes the error "unexpected channel event update" in
SubscribeChannelEvents.
2025-07-15 17:12:17 +02:00
Oliver Gugger 7c32c667c1 channelnotifier: fix Godoc comment 2025-07-15 17:09:12 +02:00
Oliver Gugger df6c02e3af Merge pull request #10068 from ellemouton/graphResetForCallbacks
multi: let all V1Store `ForEach*` methods take a `reset` call-back
2025-07-15 04:54:47 -06:00
Oliver Gugger 302551ade0 Merge pull request #10071 from ellemouton/graphSQLMigPlugIn
lnd+itest: plug in graph SQL migration under test tag & add itest
2025-07-15 01:52:30 -06:00
Oliver Gugger 5bb2277749 Merge pull request #10070 from yyforyongyu/fix-invoice-unit-test
Fix invoice unit test `TestInvoiceRegistry`
2025-07-14 00:48:28 -06:00
Oliver Gugger e62e4918cc Merge pull request #9659 from Abdulkbk/benchmark-fns
fn: fix flake in TestPropForEachConcOutperformsMapWhenExpensive
2025-07-14 00:47:01 -06:00
Oliver Gugger 63609b0801 Merge pull request #10061 from yyforyongyu/fix-listsweep-itest
itest+lntest: fix flake in `testListSweeps`
2025-07-11 00:25:48 -06:00
Oliver Gugger 04a2be29d2 Merge pull request #10066 from ellemouton/graphFixMergeIssue
graph/db: fix sql test compilation
2025-07-10 08:08:42 -06:00
Oliver Gugger 8ee661f18f Merge pull request #10043 from ellemouton/ctx3
multi: add context.Context param to more graphdb.V1Store methods
2025-07-10 13:40:51 +02:00
Oliver Gugger 0e830da9d9 Merge pull request #10058 from ellemouton/fix/rpc-graph-cache-race
rpcserver: fix race condition in graph cache eviction
2025-07-09 17:09:38 +02:00
Oliver Gugger 10209b9301 Merge pull request #10059 from ellemouton/geminiStyle
.gemini: add styleguide.md
2025-07-09 17:08:46 +02:00
Oliver Gugger ea32aac770 Merge pull request #10050 from ellemouton/graphMig2-channels
[graph mig 2]: graph/db: migrate graph channels and policies from kvdb to SQL
2025-07-09 13:09:27 +02:00
Oliver Gugger 47dce08948 Merge pull request #10018 from yyforyongyu/minor-refactor-link
Refactor link's long methods
2025-07-08 19:51:04 +02:00
Oliver Gugger df1a15f0f1 Merge pull request #10041 from ziggie1984/fix-fwd-pkg-garbage-collection
channeldb: gc fwd packgages which have zero ADDs
2025-07-08 18:30:47 +02:00
Oliver Gugger 886ccd3f9b Merge pull request #10042 from ziggie1984/debug-sending-payment-failure
routing: add logs to debug potential payment sending issue
2025-07-08 14:15:50 +02:00
Oliver Gugger b815109b81 Merge pull request #10045 from yyforyongyu/fix-panic
contractcourt: only close quit in `Stop`
2025-07-07 16:30:58 +02:00
Oliver Gugger 8a03414190 Merge pull request #10017 from ellemouton/strictTypeForChanFeatures
refactor+multi: use *lnwire.FeatureVector for ChannelEdgeInfo features
2025-07-02 19:59:47 +02:00
Oliver Gugger b5c84eab18 Merge pull request #9980 from GeorgeTsagk/enhance-aux-modifier
AuxTrafficShaper methods use first hop pub key
2025-07-02 16:50:57 +02:00
Oliver Gugger 1d2e5472b3 Merge pull request #9572 from yyforyongyu/fix-custom-msg
rpcserver: remove duplicate info from `RoutingPolicy`
2025-07-02 09:16:17 +02:00
Oliver Gugger 538723e33b Merge pull request #10016 from ellemouton/fixAccessManLogging
accessman: Fix pub key formatting in logs
2025-07-01 19:49:26 +02:00
Oliver Gugger d8a12a5e57 Merge pull request #10011 from ellemouton/graphRefactor
refactor+graph/db: refactor preparations required for incoming SQL migration code
2025-07-01 15:58:29 +02:00
Oliver Gugger 500808fadd Merge pull request #10010 from ellemouton/sqlGraphUpdates
graph/db: various misc updates
2025-07-01 12:40:50 +02:00
Oliver Gugger 5a8606cf80 Merge pull request #10007 from ellemouton/chanUpdateBitFields
graph/db: explicitly store bitfields for channel_update message & channel flags
2025-07-01 12:19:34 +02:00
Oliver Gugger 0ca9123dbf Merge pull request #10000 from yyforyongyu/explore-dyn
watchtower: fix logging and add comments
2025-07-01 12:17:07 +02:00
Oliver Gugger 31814a1198 Merge pull request #10014 from GustavoStingelin/issue-9583-missing-wt-cli-usage
cmd/wtclient: add usage info for session and terminate commands
2025-07-01 09:04:29 +02:00
Oliver Gugger e54206f8c2 Merge pull request #9990 from ziggie1984/follow-up-payment-addr-spec-update
itest coverage increase following the spec update regarding MPP payments
2025-06-30 15:45:14 +02:00
Oliver Gugger 01dfee6f8d Merge pull request #10004 from ellemouton/ensureNewNodeAnnUpdateTime
multi: use "errors" pkg everywhere and ensure newer node announcement timestamp
2025-06-30 14:40:22 +02:00
Oliver Gugger 6290edf146 Merge pull request #9996 from calvinrzachman/lseed
chainreg: use new lseed service
2025-06-27 12:31:28 +02:00
Oliver Gugger e75c82e25a Merge pull request #9988 from starius/remove-used-proto-message
lnrpc: remove unused type ConfirmationUpdate
2025-06-26 17:15:18 +02:00
Oliver Gugger 5f961e4349 Merge pull request #9972 from ellemouton/graphSQL17-complete-unit-tests
[17] multi: run all graph unit tests against SQL backends & run itest suite against SQL graph backend
2025-06-26 12:40:42 +02:00
Oliver Gugger fb1fef9e6c Merge pull request #9971 from ellemouton/graphSQL16-closed-scids
[16] graph/db: SQL closed SCIDs table and last few methods
2025-06-25 17:32:49 +02:00
Oliver Gugger 53b249efc0 Merge pull request #9991 from ziggie1984/add-probe-logging
routerrpc: add log line for probing the invoice request
2025-06-25 14:49:51 +02:00
Oliver Gugger fb720c174b Merge pull request #9989 from hieblmi/round-up
chainfee: method to round up the fee for a given transaction weight
2025-06-25 12:11:09 +02:00
Oliver Gugger 33e6f28542 Merge pull request #9938 from ellemouton/graphSQL14
[14] graph/db: implement more SQLStore methods
2025-06-25 09:28:04 +02:00
Oliver Gugger 29ff13d83f Merge pull request #9973 from ZZiigguurraatt/skip-native-sql-migration-doc-update
sqldb: clarify native sql options in `lnd.conf`
2025-06-24 18:18:13 +02:00
Oliver Gugger a9b530ce4a Merge pull request #9984 from starius/lntest-feeservice-mutex
lntest: do not do IO under mutex in fee_service
2025-06-24 14:09:10 +02:00
Oliver Gugger 715cae936d Merge pull request #9967 from ellemouton/peerBootstrapItest
itest: test automatic peer bootstrapping
2025-06-24 14:07:51 +02:00
Oliver Gugger 7857d2c6ae Merge pull request #9969 from ellemouton/fixLnwireTestDataRace
lnwire: fix test data race
2025-06-20 13:47:41 +02:00
Oliver Gugger 5e9e1826c6 Merge pull request #9965 from ellemouton/checkNilPolicy
graph/db: do nil check on ChannelEdgePolicy
2025-06-20 10:55:07 +02:00
Oliver Gugger 40efefeb6a Merge pull request #9959 from ellemouton/chanGraphContext2
multi: add context.Context param to more graphdb.V1Store methods
2025-06-19 16:42:55 +02:00
Oliver Gugger e0a9705d59 Merge pull request #9935 from ellemouton/graphSQL11-forEachMethods
[11] graph/db: Implement various "ForEach" methods on the graph SQLStore
2025-06-19 10:29:42 +02:00
Oliver Gugger 31c74f20fa Merge pull request #9962 from yyforyongyu/fix-panic
chainio: use package logger instead of instance logger
2025-06-18 15:09:07 +02:00
Oliver Gugger 79294dff35 Merge pull request #9931 from ellemouton/graphSQL10-forEachSourceNode
[10] graph/db+sqldb: implement ForEachSourceNodeChannel
2025-06-18 14:51:38 +02:00
Oliver Gugger a27bd69b9c Merge pull request #9956 from ellemouton/chanGraphContext
multi: add `context.Context` param to some `graphdb.V1Store` methods
2025-06-17 20:34:56 +02:00
Oliver Gugger c1740c14ba Merge pull request #9887 from ellemouton/graphSQL9-chan-policies-schema
graph/db+sqldb: channel policy SQL schemas, queries and upsert CRUD
2025-06-17 16:30:23 +02:00
Oliver Gugger 207df8dd7c Merge pull request #9951 from yyforyongyu/fix-cached-policy
graph: fix nil pointer deference in `ForEachChannelCacheable`
2025-06-16 10:28:16 +02:00
Oliver Gugger cb10536a2f Merge pull request #9943 from ziggie1984/update-lightning-onion
multi: update sphinx lib to latest version
2025-06-16 10:26:25 +02:00
Oliver Gugger 8f8d17de26 Merge pull request #9903 from ziggie1984/sphinx-relays-doc
docs: add sphinx replay description
2025-06-16 10:25:04 +02:00