Skip to content

chore: bump ldk-node to 0.7.0-rc.80 - #1872

Merged
ovitrif merged 1 commit into
masterfrom
chore/bump-ldk-node-rc80
Nov 11, 2026
Merged

ovitrif merged 1 commit into
masterfrom
chore/bump-ldk-node-rc80

Conversation

@ovitrif

@ovitrif ovitrif commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #1870

Twin: synonymdev/bitkit-ios#1290

Updates ldk-node-android to 0.7.0-rc.80, which bumps LDK to 0.2.8 (synonymdev/ldk-node#134).

Description

  • Bumps com.synonym:ldk-node-android from 0.7.0-rc.79 to 0.7.0-rc.80, a dependency-update release with no API changes.
  • Adds a changelog.d fragment for the upstream security fixes.

Design

N/A — no UI changes.

Preview

N/A

QA Notes

Setup

Regtest build.

Journeys

N/A — no user-visible behaviour change.

Manual Tests

N/A

Automated Checks

  • ran lightning.e2e.ts (@lightning_1) on a regtest emulator — a channel opens, the app receives 10,000 and 111 sats, sends two payments, restores from the recovery phrase and closes the channel (results).

Evidence

  • ./gradlew compileDevDebugKotlin passes against the published com.synonym:ldk-node-android:0.7.0-rc.80.
  • CI build, unit and E2E checks run on this head.

Gaps

N/A

@ovitrif ovitrif added this to the 3.2.0 milestone Nov 11, 2026
@ovitrif ovitrif self-assigned this Nov 11, 2026
@ovitrif
ovitrif requested review from a team, ben-kaufman and pwltr and removed request for a team November 11, 2026 17:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T17:24:38.353445Z cce0cfe PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The supplied changes appear safe to merge; no blocking issue was found.

Summary

Updates com.synonym:ldk-node-android from 0.7.0-rc.79 to 0.7.0-rc.80.

  • Bitkit Android builds now use the newer Lightning node package.

Reviews (1) · Last reviewed commit: "chore: bump ldk-node to 0.7.0-rc.80" · Reviewed by Greptile

@github-actions

Copy link
Copy Markdown
Contributor

Regtest APK

Built from cce0cfe (run).

Download bitkit-dev-debug universal APK (expires in 30 days).

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings. Bumps com.synonym:ldk-node-android from 0.7.0-rc.79 to 0.7.0-rc.80 (LDK 0.2.8, lightning-invoice 0.34.2) and adds one security changelog fragment. Reviewed cce0cfe, full tier (dependency manifest).

What I checked, and 3 candidates I ruled out

Upstream delta: synonymdev/ldk-node v0.7.0-rc.79...v0.7.0-rc.80 is three commits (synonymdev/ldk-node#134, a changelog line, the release commit); #134 touches only Cargo.toml, Cargo.lock and CHANGELOG.md, so the bindings surface is unchanged, matching the release note.
LDK 0.2.8 behaviour changes read against the app:

  • Zero-conf splice acceptance on outbound channels removed: the app starts no splices and ignores Event.SplicePending / Event.SpliceFailed (AppViewModel.kt:2471), and trustedPeers0conf is empty (LightningService.kt:134), so nothing here relied on it.
  • RouteHop::maybe_announced_channel now false for unknown route-hint hops: no reference in app/src/main.
  • Changelog fragment: one fragment, <issue>.security.md in changelog.d/next/, single sentence, as the repo's changelog rules ask; the 0.2.8 notes do list fixes for counterparty-triggered panics, invalid co-op close broadcast and LSPS2 DoS, so the security category is accurate.

Build: not built here; per the Bitkit review policy an auto review does not run Gradle on a PR branch. Reasoned from the code, the upstream diff and CI.
CI at review time: build-and-test green (resolves and compiles against the published rc.80 artifact); lint, compose-ui / ui-tests and E2E build-local still running. Author's regtest device run (cases 1 to 3) is pending per the PR body.

Merge confidence: 4/5, a dependency bump of the Lightning node with lint, UI tests, E2E and the regtest device cases still outstanding at this head.

Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the run metadata available to this reviewer reports the model but no effort setting)

@jvsena42 jvsena42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code scan at cce0cfe27: no findings. This is the Android side of synonymdev/bitkit-ios#1290, which I approved.

  • The bump: only ldk-node-android moves, 0.7.0-rc.79 → 0.7.0-rc.80. rc.80 is LDK 0.2.8 on top of rc.79 (synonymdev/ldk-node#134 and #135, both reviewed). Persisted state is upgrade- and downgrade-safe: ChannelMonitor and Channel serialization is unchanged, and ChannelManager gains one odd TLV.
  • Fixes: 0.2.8 fixes Electrum sync hiding transactions, ChannelManager deserialization failures at startup, and peer-triggered panics, including one in MonitorUpdatingPersister.
  • Changelog: the 1870.security.md fragment reads fine.

perf: relevant. On iOS, cold start was 8.42 s vs 7.86 s on master (+0.56 s, all of it in node build, where 0.2.8 adds the monitor-cleanup reads).

Device gate (partial): cce0cfe27 — not run yet. Node cold start against master on the emulator, plus an upgrade over a master install, are next. CI's Lightning e2e lanes cover channel open, receive and send.

Reviewer model: Claude Fable 5.2 (claude-fable-5-2), Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed

@ovitrif ovitrif removed this from the 3.2.0 milestone Nov 11, 2026
@ovitrif

ovitrif commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

QA for cce0cfe:
Tested on Android 15 emulator, regtest.

🟢 Open a channel, receive and send Lightning payments
Open a channel, receive and send Lightning payments

The bitkit-e2e-tests spec @lightning_1 - Can receive and send LN payments passed on this build, whose libldk_node.so is the one from the published com.synonym:ldk-node-android:0.7.0-rc.80. An LND peer opened a channel to the app, the app received 10,000 sats and then 111 sats on an edited invoice, and it sent two payments back to LND (one invoice without an amount, one for 1,000 sats). After a wipe and a restore from the recovery phrase, the restored wallet showed its earlier activity and closed the channel cooperatively. The recording plays at 2x; it is two screen-recording segments joined, with a few seconds missing at the join.

lightning_1-android2x.mp4

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings at cce0cfe.

The only change is ldk-node-android 0.7.0-rc.79 → 0.7.0-rc.80. In synonymdev/ldk-node, rc.80 bumps lightning, lightning-liquidity, lightning-persister and lightning-transaction-sync to 0.2.8 and lightning-invoice to 0.34.2. It has no ldk-node API changes, so no Kotlin call sites need to change. The changelog.d/next/1870.security.md fragment matches.

I did not read the upstream LDK 0.2.8 changes line by line. CI is green at cce0cfe, including build-and-test, lint, detekt and the local e2e suites.

Review details

General review
Model: Claude Opus 5.5
Reasoning effort: high

@jvsena42 jvsena42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device gate at cce0cfe27: the node starts and upgrades cleanly on rc.80. Approving.

Cold start (Gate_Throwaway emulator, staging; a new wallet with no channels; builds alternated; host load 2–5):

median launch → Node started node build (Building node with → LDK node setup) start()
this PR (4 runs) 8.84 s 5.84 s 1.58 s
master 831c4d2a6 (5 runs) 8.78 s 5.82 s 1.59 s

No measurable difference on Android: the node-build segment differs by about 15 ms. The APKs' libldk_node.so differ, so the bump is in the build. With no channel monitors on this wallet, the archived-monitor cleanup had little to read. iOS measured +0.56 s in the same segment, so a wallet with several closed channels may still pay a little more. Both builds log the same WARN/ERROR set, with no VSS or read failures.

this PR:
18:16:25.366 VERBOSE [LightningService.kt:387] Building node with  vssUrl: 'https://bitkit.stag0.blocktank.to/vss_rs_auth' ...
18:16:31.142 INFO    [LightningService.kt:324] LDK node setup - LightningService
18:16:32.721 INFO    [LightningService.kt:487] Node started - LightningService
master:
18:15:46.525 VERBOSE [LightningService.kt:387] Building node with  vssUrl: 'https://bitkit.stag0.blocktank.to/vss_rs_auth' ...
18:15:52.342 INFO    [LightningService.kt:324] LDK node setup - LightningService
18:15:53.919 INFO    [LightningService.kt:487] Node started - LightningService

Upgrade over a master install (no wipe): pass. The node started with the same node ID and no new errors. Going back to master also started cleanly, 4 times.

⚠️ Lightning payment: not run. The wallet has no channel, and Blocktank no longer sells them. CI's Lightning e2e lanes cover channel open, receive and send.

Device gate: cce0cfe27 — node cold start and upgrade passed; perf: cold start 8.84 s (master 8.78 s); payment not run (no channel); iOS: synonymdev/bitkit-ios#1290 approved (+0.56 s there).

Reviewer model: Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed

@ovitrif

ovitrif commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator Author

Merged: approved by @pwltr and @jvsena42 on cce0cfe, checks green, regtest Lightning e2e passed (results).

@ovitrif
ovitrif merged commit 428ed54 into master Nov 11, 2026
24 checks passed
@ovitrif
ovitrif deleted the chore/bump-ldk-node-rc80 branch November 11, 2026 18:23
@piotr-iohk piotr-iohk mentioned this pull request Nov 12, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: bump ldk-node to 0.7.0-rc.80

4 participants