Commit Graph
100 Commits
Author SHA1 Message Date
Slyghtning 7766c1dd9a docs: add release notes for wallet_synced RPC field 2026-02-05 08:58:33 +01:00
Slyghtning b8693bea33 itest: add wallet_synced field integration test
In this commit, we add an integration test that verifies the
wallet_synced field in GetInfoResponse correctly reflects the wallet's
sync state.

The test creates a node, verifies wallet_synced becomes true after
initial sync, then stops the node and mines blocks while it's offline.
After restart, the test polls GetInfo to observe the wallet catching up,
ideally capturing the transition from wallet_synced=false to true.

The test is registered in the "wallet sync" test case group.
2026-02-05 08:58:33 +01:00
Slyghtning d39577682e rpcserver: populate wallet_synced in GetInfo response
In this commit, we extend the chainSyncInfo struct with a new
isWalletSynced field that tracks the wallet's sync state independently
from the composite isSynced field. The GetInfo RPC handler now populates
the WalletSynced response field from this new struct field.

A debug log line is added to GetInfo to help diagnose sync state issues,
showing both the composite sync status and the wallet-specific sync
status.

Currently isWalletSynced mirrors isSynced since both ultimately derive
from the same underlying wallet sync check. This prepares the plumbing
for future differentiation where wallet sync state could be tracked
separately from router and blockbeat dispatcher states.
2026-02-05 08:58:31 +01:00
Slyghtning 3c22c3e7fa lnrpc: add wallet_synced field to GetInfoResponse
In this commit, we add a new `wallet_synced` boolean field to the
GetInfoResponse message. This field exposes the wallet's internal sync
state with the backing chain source, providing visibility into whether
the wallet has caught up to the current chain tip.

This is distinct from the existing `synced_to_chain` field, which
represents a composite sync state that also considers the router and
blockbeat dispatcher. The new field allows callers to distinguish
between wallet sync delays and other subsystem sync states.
2026-02-05 08:45:53 +01:00
Slyghtning 22feff6dbb docs: update release notes for gossip trickle delay validation 2026-02-02 20:48:01 +01:00
Slyghtning 4ef2019dd9 config: default TrickleDelay to 1ms if non-positive 2026-02-02 20:47:59 +01:00
Slyghtning dd29d5690f sqldb: close test db in cleanup 2026-02-02 18:51:39 +01:00
Slyghtning 202e473c7f docs: update release notes 2026-01-07 10:30:04 +01:00
Slyghtning 422aa7d182 itest: estimate on-chain fee with selected inputs 2026-01-07 10:30:03 +01:00
Slyghtning 44aa5efc66 cmd: EstimateFee for explicit inputs 2026-01-07 10:25:30 +01:00
Slyghtning 280929ba1e rpcserver: return inputs in EstimateFeeResponse 2026-01-07 10:25:29 +01:00
Slyghtning e5456d39f2 cmd: make types.go accessible in lnd package 2026-01-07 10:25:29 +01:00
Slyghtning 049f2c738d lnrpc: transaction inputs in EstimateFeeRequest 2026-01-07 10:25:28 +01:00
Slyghtning 1ce64eb45f scripts: update hieblmi pgp key 2025-08-11 11:47:40 +02:00
Slyghtning 45ba301f30 docs: update release notes 2025-06-25 10:36:57 +02:00
Slyghtning ab8ae542d0 chainfee: method to round up the fee for a given transaction weight 2025-06-25 10:02:04 +02:00
Slyghtning d38ad17478 docs: update release notes 2025-03-24 16:57:42 +01:00
Slyghtning 35c9eecf4e routerrpc: add nil check for MilliSat 2025-03-24 16:54:05 +01:00
Slyghtning 06c7cd82e9 rpcserver: warn if sendcoins default conf target is used 2025-03-24 13:20:47 +01:00
Slyghtning bef0268e07 docs: update release notes 2025-03-13 09:57:41 -05:00
Slyghtning 1681be6d65 lncli: ip range caveat for macaroons 2025-03-13 09:57:41 -05:00
Slyghtning 26a4562263 itest: test for ip range checks for macaroons 2025-03-13 09:57:41 -05:00
Slyghtning ea9a5a2a71 macaroons: add ip range checker 2025-03-13 09:57:39 -05:00
Slyghtning f867954a68 docs: update release notes 2025-02-24 09:56:24 +01:00
Slyghtning 6399d77c18 routerrpc: fix estimateroutefee for public route hints 2025-02-24 09:56:22 +01:00
Slyghtning 440cdb3172 docs: update release notes 2024-11-29 10:23:10 +01:00
Slyghtning 85d89a5b41 cmd: fix default timeout for estimateroutefee 2024-11-29 10:20:03 +01:00
Slyghtning de451d72c7 docs: update release notes 2024-11-14 14:31:48 +01:00
Slyghtning 8f8942cda9 routerrpc: fix sendpayment_v2 negative fee limit 2024-11-14 14:31:46 +01:00
Slyghtning 808d958c9c docs: update release notes 2024-08-01 10:25:23 +02:00
Slyghtning 0273eac4b2 itest: payment failure reason canceled 2024-08-01 10:25:22 +02:00
Slyghtning 653226d29c itest: format and typo fixes 2024-08-01 10:24:08 +02:00
Slyghtning 2e3c96f986 routing: new failure reason for cancelled payments 2024-08-01 10:24:08 +02:00
Slyghtning d18c4d61ce lnrpc: payment failure reason canceled 2024-08-01 10:24:07 +02:00
Slyghtning b66e361afa lncli: fix typo in inbound fee help text 2024-06-19 07:33:32 +02:00
Slyghtning 4568dfceee docs: update release notes 2024-06-17 09:32:27 +02:00
Slyghtning 7bfa616371 lncli: cancelable flag for SendPaymentRequest 2024-06-17 09:32:26 +02:00
Slyghtning bba01cf634 routing+routerrpc: cancelable context in SendPaymentV2
In this commit we set up the payment loop context
according to user-provided parameters. The
`cancelable` parameter indicates whether the user
is able to interrupt the payment loop by cancelling
the server stream context. We'll additionally wrap
the context in a deadline if the user provided a
payment timeout.
We remove the timeout channel of the payment_lifecycle.go
and in favor of the deadline context.
2024-06-17 09:32:26 +02:00
Slyghtning e729084149 lnrpc: cancelable sendpayment request 2024-06-17 09:32:26 +02:00
Slyghtning 06bff6f81a routing: fix typos and wrap errors 2024-06-17 09:32:25 +02:00
Slyghtning cc902e3d8a docs: update release notes 2024-06-06 14:15:46 +02:00
Slyghtning 9f83f48d78 lncli: channel point for getchaninfo 2024-06-06 14:15:44 +02:00
Slyghtning 7923ca0de4 rpcserver: retrieve channel info for channel point 2024-06-06 13:37:58 +02:00
Slyghtning 1936aa7261 lnrpc: channel point for GetChanInfo 2024-06-06 13:28:41 +02:00
Slyghtning c9713e0ddb routing: log edge when skipping it 2024-05-16 13:54:54 +02:00
Slyghtning ffaf4da1da release: add hieblmi to verify install script 2024-04-23 10:03:23 +02:00
Slyghtning fba6fdaf94 docs: update release notes 2024-03-05 09:24:27 +01:00
Slyghtning 814e1a79a6 lncli: add estimateroutefee command 2024-03-05 09:24:27 +01:00
Slyghtning e79b8b2986 itest: estimate route fee tests 2024-03-05 09:24:27 +01:00
Slyghtning ef069b658d itest: preparatory fee estimation changes 2024-03-05 09:24:27 +01:00
Slyghtning 7d9589ecbf routerrpc+zpay32: EstimateRouteFee overhaul
In this commit the mission control based fee estimation
is supplemented with a payment probe estimation which can
lead to more accurate estimation results. The probing
utilizes a hop-hint heurisic to detect routes through LSPs
in order to manually estimate fees to destinations behind
an LSP that would otherwise block the payment probe.
2024-03-05 09:24:27 +01:00
Slyghtning 24080c51f9 multi: fee estimation timeout parameters
conf: fee estimation timeout in sample config
2024-03-05 09:24:27 +01:00
Slyghtning 721038d1a4 routerrpc: overhaul RouteFeeRequest with probing parameters. 2024-03-05 09:24:25 +01:00
Slyghtning a6b4135781 funding: fix logs 2024-01-11 19:39:11 +01:00
Slyghtning dd49c0175a docs: update release notes 2023-11-08 10:15:52 +01:00
Slyghtning 8c04c1e7ce contractcourt: log amount if incoming htlc times out 2023-11-08 09:56:03 +01:00
Slyghtning 12f23d2352 itest: simple taproot channel status 2023-10-31 10:10:43 -07:00
Slyghtning 20e731b636 itest: assertions to check channel status 2023-10-31 10:10:41 -07:00
Slyghtning ab117a0ed4 typos: fix updatechanpolicy typos 2023-08-11 17:04:36 +02:00
Slyghtning 6282e0cf86 docs: update release notes 2023-07-28 22:24:55 +02:00
Slyghtning 2c3420679d lncli: add account to WalletBalance command 2023-07-28 22:24:55 +02:00
Slyghtning dd2a89a6ee lnd: WalletBalance checks on account basis 2023-07-28 22:24:55 +02:00
Slyghtning 442f1ac4d4 lnrpc: WalletBalanceRequest adds account 2023-07-28 22:24:53 +02:00
Slyghtning 6e9edc9c88 docs: update release notes 2023-07-26 09:50:47 +02:00
Slyghtning 14be2cdae0 itest: batch channel fee params 2023-07-26 09:49:22 +02:00
Slyghtning 47bcf7af69 funding: add all parameters to batch open channel 2023-07-26 09:49:22 +02:00
Slyghtning 6631741766 lnrpc: sync BatchOpenChannel and OpenChannel params 2023-07-26 09:49:20 +02:00
Slyghtning 23467cbb66 docs: update release notes 2023-07-24 13:07:01 +02:00
Slyghtning 396cffcd70 itest: anchor reserve test for SendOutputs 2023-07-24 13:07:01 +02:00
Slyghtning baa1419187 chanfunding: fix typo 2023-07-24 13:07:01 +02:00
Slyghtning f0579cc509 lncli: add flag utxos for openchannel 2023-07-24 13:07:01 +02:00
Slyghtning e4f0e58214 lnd: handles selected outpoints in parseOpenChannelReq 2023-07-24 13:06:59 +02:00
Slyghtning d327c92188 lnwallet: adds selected Outpoints for funding 2023-07-24 12:10:54 +02:00
Slyghtning 50acd49283 lnrpc: adds field Outpoints to fund a selected set of coins 2023-07-24 12:10:54 +02:00
Slyghtning ac523f93ee chanfunding: adds ability to fund a selected set of coins 2023-07-24 12:10:53 +02:00
Slyghtning 37c0e521e8 scripts: add gpg key for Slyghtning [skip ci] 2023-07-20 16:28:21 +02:00
Slyghtning 79a06d1918 docs: update release notes 2023-04-29 22:44:26 +02:00
Slyghtning 77322dddb8 itest: anchor reserve test for SendOutputs 2023-04-29 22:44:26 +02:00
Slyghtning 8f5910bf91 rpc: fix code style 2023-04-29 22:44:26 +02:00
Slyghtning 903b5dde89 rpc: SendOutputs considers anchor reserve 2023-04-29 22:44:23 +02:00
Slyghtning e352899f22 docs: update release notes 2023-04-05 23:10:04 +02:00
Slyghtning 94900acaa0 funding unit: fundmax sanity check for new channel commitment types. 2023-04-05 23:10:04 +02:00
Slyghtning ff45fc7e71 itest: respect the reserved wallet balance when using fundmax 2023-04-05 23:10:04 +02:00
Slyghtning b9bded33d1 lncli: fundmax flag for openchannel 2023-04-05 23:09:12 +02:00
Slyghtning 5d88693852 lnd+lnwallet: fundmax flag for openchannel 2023-04-05 23:09:11 +02:00
Slyghtning 910e3832dc docs: update release notes 2023-03-03 10:07:46 +01:00
Slyghtning 213bdb2e01 rpcserver: assign peer alias lookup error 2023-03-03 10:07:44 +01:00
Slyghtning 313983f106 docs: update release notes 2023-02-24 10:49:11 +01:00
Slyghtning 4c198bdfde itest: check peer alias in ListChannels 2023-02-24 10:49:11 +01:00
Slyghtning 3e5943b7f9 rpcserver: enrich ListChannels with peer alias 2023-02-24 10:49:11 +01:00
Slyghtning 9d048ecd6a lncli: add flag skip_peer_alias_lookup to listchannels 2023-02-24 10:49:11 +01:00
Slyghtning edb58a8b28 lnrpc: peer_alias field for Channel message 2023-02-24 10:49:11 +01:00
Slyghtning 9e8ee618e3 lncli: fix line length issues 2023-02-16 19:41:30 +01:00
Slyghtning 487cd96acc docs: update release notes 2023-01-12 22:41:35 +10:30
Slyghtning b47cf7e871 funding: code style cleanup for the funding package 2023-01-12 22:40:51 +10:30
Slyghtning c5fa9ef45f docs: Fix lnd.conf typo
Remove repeated word error [skip ci]
2022-12-28 20:37:03 +10:30
Slyghtning f8ef283589 docs: update release notes 2022-10-27 07:11:20 -04:00
Slyghtning 8e53996c52 itest: test ForwardingHistory peer lookup opt-in behavior 2022-10-27 07:11:20 -04:00
Slyghtning 46b8de35ac lnrpc+lncli: rename skip_peer_alias_lookup to reflect opt-in behavior 2022-10-27 07:11:19 -04:00
Slyghtning 2189bb4ba6 docs: update release notes 2022-10-20 09:23:50 -04:00