Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gugger f48e5098b1 Merge pull request #9643 from yyforyongyu/fix-startup
lnd: make sure startup flow is not aborted
2025-03-26 07:56:46 -06:00
Oliver Gugger 0a2b33abe5 Merge pull request #9645 from guggero/update-contributors
docs: update release notes with contributors
2025-03-25 11:42:15 -06:00
Oliver Gugger 300fbbc528 docs: update release notes with contributors
Adds all missing contributors since v0.18.0-beta, extracted from the git
log.
2025-03-25 12:07:37 -05:00
Oliver Gugger 2998f5b3c5 Merge pull request #9644 from ziggie1984/payment-unit-test
Add unit test to record pkg
2025-03-25 10:34:38 -06:00
Oliver Gugger d1093cd3c3 Merge pull request #9642 from yyforyongyu/skip-blockbeat
lnd: skip setting `blockbeat` for `nochainbackend` mode
2025-03-25 08:20:34 -06:00
Oliver Gugger cf35be847c Merge pull request #9626 from ziggie1984/payment-lifecycle-small-fix
payment lifecycle small fix
2025-03-25 08:15:48 -06:00
Oliver Gugger 44161a3643 Merge pull request #9631 from hieblmi/degrade-err
rpcserver: warn if sendcoins default conf target is used
2025-03-25 08:09:11 -06:00
Oliver Gugger af2f11edff Merge pull request #9544 from lightningnetwork/elle-graphCacheBase
graph: move graph cache out of CRUD layer
2025-03-25 07:43:06 -06:00
Oliver Gugger 813f26cbc1 Merge pull request #9621 from jjjike2021/exp/maps
multi: remove x/exp/maps dependency
2025-03-25 07:08:02 -06:00
Oliver Gugger f7b3177483 Merge pull request #9558 from kornpow/fix-listchaintxns-lncli-inputs
Fix input sanitation for listchaintxns lncli cmd
2025-03-24 13:53:29 -06:00
Oliver Gugger e979538cf9 Merge pull request #9634 from hieblmi/fix-nil-pointer
routerrpc: add nil check for MilliSat
2025-03-24 11:45:30 -06:00
Oliver Gugger d757bb51ee docs: add release notes 2025-03-24 11:53:23 -05:00
Oliver Gugger 0aea482b51 multi: add testnet4 support 2025-03-24 11:53:23 -05:00
Oliver Gugger e5b9d9684a mod: bump btcwallet and neutrino to latest version 2025-03-24 11:53:23 -05:00
Oliver Gugger 6a9ec1065b Merge pull request #9612 from GustavoStingelin/tests/multimutex
multimutex: add unit tests
2025-03-24 10:14:58 -06:00
Oliver Gugger b031002aed Merge pull request #9604 from jjjike2021/fix-dep
fn: remove x/exp/slices dependency
2025-03-20 11:10:18 -06:00
Oliver Gugger de1ed93f52 Merge pull request #9601 from bitromortac/2503-neutrino-maxpeers
lnd: pass through neutrino MaxPeers config
2025-03-18 16:41:39 -06:00
Oliver Gugger 053d63e110 Merge pull request #9546 from hieblmi/macaroon-ip-cidr-constraint
macaroons: ip range constraint
2025-03-14 10:22:43 -06:00
Oliver Gugger c4a77d1b1c Merge pull request #9502 from guggero/bandwidth-manager-fix
routing: don't set custom amount if manager isn't handling
2025-03-13 13:42:51 -06:00
Oliver Gugger 0044975293 docs: add release notes 2025-03-13 12:27:07 -05:00
Oliver Gugger dac5de5ce9 htlcswitch+routing: return IsHandled from AuxBandwidth
To make it more clear whether the external traffic shaper is handling a
channel or not, we return an explicit boolean.
2025-03-13 12:26:50 -05:00
Oliver Gugger 6531d45050 Merge pull request #9458 from Crypt-iQ/banning_010072025
multi+server.go: add initial permissions for some peers
2025-03-12 08:14:31 -06:00
Oliver Gugger 5d8309ea6b Merge pull request #9596 from JoeGruffins/testingbtcwalletchange
deps: Update btcwallet to v0.16.10.
2025-03-11 11:31:25 -06:00
Oliver Gugger 04c76101dd Merge pull request #9595 from yyforyongyu/fix-gossip-syncer
multi: fix flakes and gossip syncer
2025-03-11 09:33:05 -06:00
Oliver Gugger a673826dee Merge pull request #9563 from yyforyongyu/fix-unit-test
chanbackup: fix test flake in `TestUpdateAndSwap`
2025-03-10 16:01:57 -06:00
Oliver Gugger 97bba57520 Merge pull request #9597 from guggero/rebase-fix
contractcourt: fix rebase issue with removed variadic option
2025-03-10 15:46:51 -06:00
Oliver Gugger 0e9b7c5fa2 contractcourt: fix rebase issue with removed variadic option
The optional variadic functional parameters probably got lost during a
rebase.
2025-03-10 21:52:02 +01:00
Oliver Gugger 342a75891c mod: bump tor submodule to v1.1.5 to fix flake
After merging #9581, the flake in the coverage unit test should be gone.
All we have to do is update the submodule version to the fixed one
(since during unit tests the module is used not the physical directory
on disk).
2025-03-07 19:39:00 +01:00
Oliver Gugger d5a7e8957f Merge pull request #9581 from yyforyongyu/fix-TestReconnectSucceed
tor: fix `TestReconnectSucceed`
2025-03-07 12:37:19 -06:00
Oliver Gugger 115b452abe Merge pull request #9562 from NishantBansal2003/test-num-block-fund
Make MaxWaitNumBlocksFundingConf Configurable for itest
2025-03-07 12:35:30 -06:00
Oliver Gugger ab2dc09eb7 Merge pull request #9582 from yyforyongyu/flake-doc
itest: properly document the known flakes
2025-03-07 10:37:14 -06:00
Oliver Gugger a5f54d1d6b Merge pull request #9573 from ellemouton/checkUpdateStalenessBeforeRateLimit
discovery: obtain channelMtx before doing any DB calls in `handleChannelUpdate`
2025-03-07 04:17:00 -06:00
Oliver Gugger 76808a81a0 Merge pull request #9587 from guggero/mining-block-limit-configurable
lntest: make mining block limit configurable
2025-03-07 02:57:29 -06:00
Oliver Gugger 25c83104b7 lntest: make mining block limit configurable
Nudging test authors towards not mining too many blocks makes sense,
especially in lnd where we have a lot of integration tests.
But the lntest package is also used in other projects where this
restriction might lead to large refactors.
To be able to stage those refactors we also want to allow this limit to
be configurable if lntest is used as a library.
2025-03-07 09:22:51 +01:00
Oliver Gugger 72b570320a Merge pull request #9586 from ellemouton/logConfig
config: only create a sub-log manager if one doesnt already exist
2025-03-07 01:30:02 -06:00
Oliver Gugger 7d7e1872c8 Merge pull request #9574 from ellemouton/fixWatcherPanic
lntest: wait for ChanUpdate req to be fully processed before sending another
2025-03-06 09:21:35 -06:00
Oliver Gugger 9feb761b4e Merge pull request #9576 from ellemouton/logConfYamlTags
build: add yaml tags to some LogConfig fields
2025-03-04 13:27:11 -06:00
Oliver Gugger f1182e4338 Merge pull request #9521 from guggero/coverage-fixes
unit: remove GOACC, use Go 1.20 native coverage functionality
2025-02-28 09:54:12 -06:00
Oliver Gugger 7761e37522 GitHub: remove generated files from coverage 2025-02-28 14:55:34 +01:00
Oliver Gugger 124137e31a GitHub+make: debug failing test, use official coveralls action 2025-02-28 14:55:34 +01:00
Oliver Gugger 576da75a07 multi: remove unneeded env variables
With Go 1.23 we don't need to set any of these variables anymore, as
they're the default values now.
2025-02-28 14:55:34 +01:00
Oliver Gugger 70ac201cb8 make+tools: remove goacc, use Go 1.20 builtin functionality
Starting with Go 1.20 the -coverprofile flag does the same that GOACC
did before.
2025-02-28 14:55:33 +01:00
Oliver Gugger dc0ba72271 Merge pull request #9566 from yyforyongyu/improve-itest
lntest+itest: change the method signature of `AssertPaymentStatus`
2025-02-28 07:52:49 -06:00
Oliver Gugger a78f9f6c0a GitHub+docs: no longer accept typo fixes to fight PR spam 2025-02-28 13:02:49 +01:00
Oliver Gugger dfd43c972c Merge pull request #9519 from fuyangpengqi/master
refactor: use a more straightforward return value
2025-02-28 04:41:18 -06:00
Oliver Gugger 8532955b35 Merge pull request #9540 from ellemouton/backwardsCompat
scripts+make+GH: Add simple backwards compatibility test to the CI
2025-02-27 05:05:03 -06:00
Oliver Gugger e3d9fcb5ac Merge pull request #9549 from yyforyongyu/fix-bitcond-test
Fix unit test flake `TestHistoricalConfDetailsTxIndex`
2025-02-26 07:23:30 -06:00
Oliver Gugger 5d3680a6f6 Merge pull request #9484 from Abdulkbk/refactor-makedir
lnutils: add CreateDir util function
2025-02-25 01:00:45 -06:00
Oliver Gugger b8c5e85821 Merge pull request #8900 from guggero/go-cc
Makefile: add GOCC variable
2025-02-25 00:59:14 -06:00
Oliver Gugger ad021a290d Makefile: add GOCC variable 2025-02-23 09:48:54 +01:00
Oliver Gugger 5fe900d18d Merge pull request #9534 from ellemouton/graph13
graph: refactor Builder network message handling
2025-02-21 08:38:35 -06:00
Oliver Gugger 1227eb1cce Merge pull request #9491 from ziggie1984/closechannel-rpc
Allow coop closing a channel with HTLCs on it via lncli
2025-02-21 05:05:53 -06:00
Oliver Gugger dc64ea97a2 GitHub: remove duplicate caching
Turns out that actions/setup-go starting with @v4 also adds caching.
With that, our cache size on disk has almost doubled, leading to the
GitHub runner running out of space in certain situation.
We fix that by disabling the automated caching since we already have our
own, custom-tailored version.
2025-02-20 18:14:29 +01:00
Oliver Gugger 09a4d7e224 Merge pull request #9530 from ziggie1984/fix-debug-log
multi: fix debug log
2025-02-20 09:28:14 -06:00
Oliver Gugger 0e87863481 Merge pull request #9523 from ellemouton/graph9
graph/db: use View directly instead of manual DB tx creation and commit
2025-02-19 01:55:18 -06:00
Oliver Gugger 31418e4b85 Merge pull request #9525 from ellemouton/graph10
graph: Restrict interface to update channel proof instead of entire channel
2025-02-18 11:34:38 -06:00
Oliver Gugger b08bc99945 Merge pull request #9518 from starius/bumpfee-immediate-doc-fix
walletrpc: fix description of bumpfee.immediate
2025-02-18 02:02:36 -06:00
Oliver Gugger 01819f0d42 Merge pull request #9516 from ellemouton/graph6
invoicesrpc: remove direct access to ChannelGraph pointer
2025-02-17 07:40:56 -06:00
Oliver Gugger fa10991545 multi: fix linter by updating to latest version 2025-02-17 10:40:55 +01:00
Oliver Gugger 68105be1eb Merge pull request #9507 from saubyk/18.5-releasenotes-patch
Update release-notes-0.18.5.md
2025-02-13 13:03:23 -06:00
Oliver Gugger 319a0ee470 Merge pull request #9493 from ziggie1984/lncli-no-replacement
For some lncli cmds we should not replace the content with other data
2025-02-13 09:52:52 -06:00
Oliver Gugger 2ec972032e Merge pull request #9517 from yyforyongyu/fix-coverage
workflows: skip coverage error in job `finish`
2025-02-13 09:11:57 -06:00
Oliver Gugger d5ac05ce87 Merge pull request #9501 from yyforyongyu/getinfo-blockheight
rpcserver: check `blockbeatDispatcher` when deciding `isSynced`
2025-02-13 04:17:45 -06:00
Oliver Gugger 693b3991ee Merge pull request #9508 from ellemouton/ignoreSendCoverageFail
.github: ignore Send coverage errors
2025-02-12 05:23:29 -06:00
Oliver Gugger 4dbbd837c0 Merge pull request #9496 from ellemouton/graph4
graph: remove redundant iteration through a node's persisted channels
2025-02-12 03:36:32 -06:00
Oliver Gugger fbc668ca53 Merge pull request #9500 from MPins/release-note-0.20.0
doc: creating release-notes-0.20.0.md
2025-02-11 02:22:38 -06:00
Oliver Gugger d10ab03b75 Merge pull request #9480 from ellemouton/autopilotRefactor
graph+autopilot: remove `autopilot` access to raw `graphdb.ChannelGraph`
2025-02-10 09:07:47 -06:00
Oliver Gugger 2a0dca77a0 Merge pull request #9495 from ziggie1984/fix-graphbuilder-flake
fix graphbuilder flake
2025-02-10 08:43:59 -06:00
Oliver Gugger 6eb8f1f6e3 Merge pull request #9477 from ellemouton/graph2
discovery+graph: various preparations for moving funding tx validation to the gossiper
2025-02-10 05:58:05 -06:00
Oliver Gugger 6f312d457f Merge pull request #9451 from Juneezee/minmax
refactor: replace min/max helpers with built-in min/max
2025-02-10 05:57:34 -06:00
Oliver Gugger 6bf6603fb8 Merge pull request #9492 from yyforyongyu/itest-flake-interceptor
itest: fix flake in `testForwardInterceptorRestart`
2025-02-10 05:50:13 -06:00
Oliver Gugger 3c0350e481 Merge pull request #9476 from ellemouton/graph1
graph: refactor `graph.Builder` update handling
2025-02-07 07:23:41 -06:00
Oliver Gugger d2c0279647 Merge pull request #9456 from mohamedawnallah/deprecate-warning-sendpayment-and-sendtoroute
lnrpc+docs: deprecate warning `SendToRoute`, `SendToRouteSync`, `SendPayment`, and `SendPaymentSync` in Release 0.19
2025-01-31 11:05:27 -06:00
Oliver Gugger f4bf99b161 Merge pull request #9462 from guggero/go-1-22-11
Update to Go 1.22.11
2025-01-30 10:18:50 -06:00
Oliver Gugger 94efe06495 docs: add release notes 2025-01-30 16:14:56 +01:00
Oliver Gugger 191c838ad1 multi: bump Go version to v1.22.11 2025-01-30 16:13:26 +01:00
Oliver Gugger f25e44712f Merge pull request #9445 from yyforyongyu/itest-flake
itest: fix flake in `testAnchorThirdPartySpend`
2025-01-27 02:12:34 -06:00
Oliver Gugger 1ed76af179 Merge pull request #9442 from ellemouton/miscErrorFormats
misc: fix incorrect inclusion of nil err in various formatted strings
2025-01-26 06:49:31 -06:00
Oliver Gugger baa34b06d3 Merge pull request #9232 from Abdulkbk/archive-channel-backups
chanbackup: archive old channel backup files
2025-01-24 05:42:13 -06:00
Oliver Gugger 6cabc74c20 Merge pull request #8831 from bhandras/sql-invoice-migration
invoices: migrate KV invoices to native SQL for users of KV SQL backends
2025-01-23 05:48:25 -06:00
Oliver Gugger 49affa2dc3 Merge pull request #9424 from yyforyongyu/fix-gossip-ann
multi: fix inconsistent state in gossip syncer
2025-01-23 05:25:01 -06:00
Oliver Gugger 1f20bd352f Merge pull request #9429 from yyforyongyu/update-action
.github: update actions versions
2025-01-20 09:01:46 -06:00
Oliver Gugger baa3b0dea3 Merge pull request #9425 from yyforyongyu/flake-fix
itest: fix flake in `testSweepHTLCs`
2025-01-17 10:36:55 -06:00
Oliver Gugger 27df4af53e Merge pull request #9359 from NishantBansal2003/fix-timeout
routerrpc: add a default value for timeout_seconds in SendPaymentV2
2025-01-17 09:43:38 -06: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
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
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
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
Oliver Gugger fe48e65f42 Merge pull request #9381 from yyforyongyu/fix-no-space-left
workflows: fix no space left error
2024-12-20 12:21:53 +01:00
Oliver Gugger 8859dbc288 Merge pull request #9315 from lightningnetwork/yy-feature-blockbeat
Implement `blockbeat`
2024-12-20 12:20:32 +01:00
Oliver Gugger 1dfb5a0c20 Merge pull request #9382 from guggero/linter-update
lint: deprecate old linters, use new ref commit
2024-12-20 10:51:08 +01:00
Oliver Gugger f3ddf4d8ea .golangci.yml: speed up linter by updating start commit
With this we allow the linter to only look at recent changes, since
everything between that old commit and this most recent one has been
linted correctly anyway.
2024-12-20 10:02:24 +01:00
Oliver Gugger ad29096aa1 .golangci.yml: turn off deprecated linters
All these linters produced a deprecation warning. They've all been
replaced by new linters, so we can safely turn them off.
2024-12-20 10:01:42 +01:00
Oliver Gugger 03eab4db64 Merge pull request #9377 from alingse/fix-nilnesserr
fix check node1Err !=nil but return a nil value error err
2024-12-20 09:26:38 +01:00