Oliver Gugger
b0cba7dd08
Merge pull request #9804 from ellemouton/removeChanGraphCacheMu
...
graph/db: remove ChannelGraph cacheMu
2025-05-13 16:10:17 +02:00
Oliver Gugger
1db6c31e20
Merge pull request #9798 from ellemouton/graphFixNotificationSubs
...
graph/db: synchronous topology client subscriptions/cancellations
2025-05-12 17:10:44 +02:00
Oliver Gugger
8044891df4
Merge pull request #9799 from guggero/function-call-formatting
...
docs: document previously implicit formatting rule
2025-05-12 13:13:14 +02:00
Oliver Gugger
12dbeb99c3
docs: document previously implicit formatting rule
...
Adds a formatting rule to the code style documentation that is being
used widely throughout the codebase but isn't properly documented.
2025-05-12 07:00:51 +02:00
Oliver Gugger
ee25c228e9
Merge pull request #8330 from bitromortac/2401-bimodal-improvements
...
bimodal pathfinding probability improvements
2025-05-08 21:35:49 +02:00
Oliver Gugger
43e822c3b0
Merge pull request #9789 from ellemouton/updateTLVDep
...
multi: use updated TLV SizeFunc signature
2025-05-08 10:20:37 +02:00
Oliver Gugger
8b413e89f1
Merge pull request #9793 from ellemouton/tlvSizeBigSize
...
tlv: catch unhandled type in SizeBigSize
2025-05-07 19:21:57 +02:00
Oliver Gugger
67a40c90ad
Merge pull request #9782 from Roasbeef/v19-rc4
...
build: bump to version v0.19 rc4
2025-05-06 18:36:20 +02:00
Oliver Gugger
221b7634a6
Merge pull request #9783 from bitromortac/2505-loadmc-fixes
...
lncli: establish connection after parsing of mc data for loadmc
2025-05-06 13:52:57 +02:00
Oliver Gugger
334a7d1123
Merge pull request #9770 from bitromortac/2504-mc-migration-fix
...
routing+migration: fix mission control migration with nil failure msg
2025-05-02 14:22:59 +02:00
Oliver Gugger
b068d79dfb
Merge pull request #9776 from saubyk/19.0-releasenotes-update
...
docs: update release notes with more detail on the RBF coop close section
2025-04-30 08:14:07 +02:00
Oliver Gugger
b34afa33f6
Merge pull request #9764 from ZZiigguurraatt/RBF-release-notes-cleanup
...
docs/release-notes: fix indentation in RBF close section
2025-04-28 12:38:23 +02:00
Oliver Gugger
7e50b8438e
Merge pull request #9759 from guggero/fix-release
...
GitHub: fix order of operations for release build
2025-04-24 12:15:07 +02:00
Oliver Gugger
d9089b11ac
GitHub: fix order of operations
2025-04-24 08:36:17 +02:00
Oliver Gugger
4862251833
Merge pull request #9750 from starius/fix-InternalKeyForAddr-for-imported-addresses
...
lnwallet: fix InternalKeyForAddr for imported addr
2025-04-23 17:53:13 +02:00
Oliver Gugger
a35ace7371
Merge pull request #9739 from ellemouton/rpcInterceptorMD
...
lnrpc+rpcperms: add ctx metadata pairs to RPCMiddlewareRequest
2025-04-23 11:21:32 +02:00
Oliver Gugger
1aad61c2b6
Merge pull request #9755 from guggero/payment-bandwidth-funding-blob
...
htlcswitch+routing: add funding blob to PaymentBandwidth
2025-04-22 22:23:45 +02:00
Oliver Gugger
56d2381f51
htlcswitch+routing: add funding blob to PaymentBandwidth
...
For certain auxiliary bandwidth checks we need to know the funding blob
that was present when the channel was created.
2025-04-22 21:21:11 +02:00
Oliver Gugger
987302923d
Merge pull request #9746 from ziggie1984/make-resolution-more-efficient
...
lnwallet: no need to consult the aux unit for legacy channels
2025-04-22 18:56:28 +02:00
Oliver Gugger
fba64c812b
itest: test RPCMiddleware gRPC metadata propagation
...
Expand the rpc middleware test to assert gRPC metadata pair propagation
for rpc middleware requests.
2025-04-22 15:03:17 +02:00
Oliver Gugger
51add8a701
Merge pull request #9722 from ziggie1984/fix-notifier-itest-flake
...
Change RPC call order for the btcd notifier
2025-04-17 22:50:07 +02:00
Oliver Gugger
337d9a9b23
Merge pull request #9628 from guggero/bitcoind-29
...
scripts+GitHub: use bitcoind v29.0
2025-04-17 16:23:00 +02:00
Oliver Gugger
c25f98f5b9
Merge pull request #9727 from guggero/strict-forwarding
...
Aux bandwidth manager: also pass HTLC blob to `ShouldHandleTraffic`
2025-04-17 14:00:46 +02:00
Oliver Gugger
a304be6bad
Merge pull request #9715 from ellemouton/removeChanClean
...
itest: remove manual channel closures from route blinding tests
2025-04-17 14:00:08 +02:00
Oliver Gugger
5fb0f43172
htlcswitch+routing: add htlc blob to ShouldHandleTraffic
...
Whether we should let the aux bandwidth manager decide what the
bandwidth of a channel is should also depend on whether the HTLC is a
custom HTLC, not just the channel.
2025-04-17 11:52:56 +02:00
Oliver Gugger
cf0e0ff32c
switch: add trace log for circular route detection
...
Helps with debugging of strict forwarding issues.
2025-04-17 10:53:37 +02:00
Oliver Gugger
121e6c4015
docs: update release notes
2025-04-17 09:11:54 +02:00
Oliver Gugger
f4a6c3487a
scripts+GitHub: use bitcoind v29.0
2025-04-17 09:07:01 +02:00
Oliver Gugger
24fdae7dff
Merge pull request #9693 from yyforyongyu/debug-listunspent
...
Fix inaccurate `locked_balance`
2025-04-17 08:46:36 +02:00
Oliver Gugger
7381f4b221
Merge pull request #9687 from GeorgeTsagk/aux-trff-shpr-htlcview
...
`AuxTrafficShaper.PaymentBandwidth` uses HTLC view
2025-04-17 07:59:00 +02:00
Oliver Gugger
06f1ef47fa
Merge pull request #9720 from ziggie1984/add-btcd-notify-logs
...
chainntnfs: increase logging of the subsystems
2025-04-15 18:56:44 +02:00
Oliver Gugger
014706cc3e
Merge pull request #9713 from ellemouton/getInfoStarted
...
scripts: use LND status to determine when a node is ready for RPC calls
2025-04-15 12:40:32 +02:00
Oliver Gugger
7d3b5a1bcf
Merge pull request #9714 from bhandras/invoice-migration-log-rate
...
invoices: reduce log spam when migrating invoices to SQL
2025-04-14 20:38:22 +02:00
Oliver Gugger
bec84e14a8
Merge pull request #9674 from ziggie1984/small-neutrino-fix
...
Move neutrino db also to postgres when using postgres as a backend
2025-04-14 18:46:44 +02:00
Oliver Gugger
905cf651ac
Merge pull request #9712 from guggero/bump-kvdb
...
mod: bump kvdb to v1.4.15
2025-04-14 18:37:39 +02:00
Oliver Gugger
62b0c4cc20
mod: bump kvdb to v1.4.15
2025-04-14 15:59:01 +02:00
Oliver Gugger
6d648ad90a
Merge pull request #9684 from ziggie1984/master
...
multi: update new walletdb version in main go.mod and kvdb go.mod
2025-04-14 15:56:16 +02:00
Oliver Gugger
ff6f98a818
Merge pull request #9696 from yyforyongyu/add-aider
...
Add `development_guidelines.md` for both human and machine
2025-04-14 11:19:58 +02:00
Oliver Gugger
f7bd2a7228
Merge pull request #9705 from ffranr/assert-log-shutdown-only-with-handle
...
lntest: assert shutdown via logs only if log file handle is present
2025-04-11 17:48:19 +02:00
Oliver Gugger
b732525a98
Merge pull request #9603 from NishantBansal2003/validate-mpp
...
routerrpc: add validation to MPP params
2025-04-10 19:28:02 +02:00
Oliver Gugger
867d27d68a
Merge pull request #9689 from starius/fix-typos
...
chainrpc: fix description of several methods
2025-04-09 11:17:13 +02:00
Oliver Gugger
aaf0a19b06
Merge pull request #9682 from guggero/make-space-for-build
...
GitHub: disable cache, remove hosted tools cache
2025-04-07 16:06:37 +02:00
Oliver Gugger
5ac72ed282
GitHub: disable cache, remove hosted tools cache
...
In an attempt to fix the "out of disk space" build error during release
builds, we first disable using Golang caches (which can be quite large)
and then remove a bunch of pre-installed tools and their caches to
provide some additional disk storage.
2025-04-07 12:23:16 +02:00
Oliver Gugger
a7c2c47397
Merge pull request #9670 from Roasbeef/19-rc2
...
build: bump version to v0.19.0 rc2
2025-04-07 10:08:25 +02:00
Oliver Gugger
6a3845b79d
Merge pull request #9667 from guggero/kvdb-update
...
mod: bump kvdb to latest tagged version v1.4.13
2025-04-01 21:30:22 +02:00
Oliver Gugger
973db1b305
mod: bump kvdb to latest tagged version v1.4.13
...
After merging #9665 , we can now bump to the tagged version.
2025-04-01 18:42:28 +02:00
Oliver Gugger
11d3a68561
Merge pull request #9666 from bhandras/invoice-bucket-tombstone-log-removal
...
lnd: remove unnecessary debug log to avoid misunderstanding
2025-04-01 18:33:25 +02:00
Oliver Gugger
856dc2db79
Merge pull request #9636 from guggero/review-checklist
...
README+docs: add code review checklist
2025-03-28 16:18:10 -06:00
Oliver Gugger
b6d8ecc747
Merge pull request #9654 from bhandras/use-sqldb-v1.0.8
...
mod: use sqldb v1.0.8
2025-03-28 10:32:44 -06:00
Oliver Gugger
d0032b1251
README+docs: add code review checklist
...
We want to encourage new contributors to review code instead of creating
their own PRs as a first contribution.
2025-03-28 09:53:15 -05:00
Oliver Gugger
b85571b94b
Merge pull request #9647 from bhandras/sqldb-migration-base-version
...
sqldb: establish a base DB version even if it's not yet tracked
2025-03-28 07:59:22 -06:00
Oliver Gugger
eb822a5e11
Merge pull request #9504 from guggero/closedchannels
...
lnrpc+rpcserver: add custom channel data for closed channels
2025-03-27 12:33:48 -06:00
Oliver Gugger
177bbd2721
docs: add release notes
2025-03-27 12:38:49 -05:00
Oliver Gugger
82b7891e2d
rpcserver: add custom channel data to pending channels
...
The pending force close and pending waiting close channels didn't have
their custom channel data populated yet.
2025-03-27 12:38:49 -05:00
Oliver Gugger
bab5cabd90
lnrpc+rpcserver: add custom channel data for closed channels
...
This commit adds the custom channel data for closed channels which
represents the initial funding state as well as the final balances at
closing time.
2025-03-27 12:38:47 -05:00
Oliver Gugger
a53c6dda64
Merge pull request #9650 from Roasbeef/early-offer-chan-flushing-flake
...
lnwallet/chancloser: fix flake in TestRbfChannelFlushingTransitions/early_offer
2025-03-27 08:18:07 -06:00
Oliver Gugger
193d2a6581
Merge pull request #9649 from guggero/cmd-fix
...
cmd: fix incorrect error code
2025-03-26 13:19:43 -06:00
Oliver Gugger
04533e924c
cmd: fix incorrect error code
...
Fixes a bug introduced by #9605 , fixes #9648 .
We return a specific error in the RPC permission interceptor for the
case where the wallet is already unlocked or is still locked.
We need to catch those errors correctly to give the user a bit more
context on what to do.
2025-03-26 11:28:59 -05:00
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