Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Security Audit
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
audit:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - Benchmarks

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
benchmark:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/cln-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - CLN Integration Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
check-cln:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/kotlin.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - Kotlin Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
check-kotlin:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/lnd-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - LND Integration Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
check-lnd:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - Python Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
check-python:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - Rust Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: SemVer checks
on: [push, pull_request]
on: [workflow_dispatch]

jobs:
semver-checks:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - Swift Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
check-swift:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/vss-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks - VSS Integration Tests

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [workflow_dispatch]

jobs:
build-and-test:
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ If anything is missing or cannot be verified, you must fix it before declaring s
- NEVER run binding generation scripts yourself - always ask the user to run them (they are long-running and resource-intensive)

## Bindings Generation Command
To regenerate ALL bindings (Swift, Kotlin, Python), use this command:
To regenerate ALL bindings (Swift, Kotlin, Python), run from the repo root:
```sh
RUSTFLAGS="--cfg no_download" cargo build && ./scripts/uniffi_bindgen_generate.sh && ./scripts/swift_create_xcframework_archive.sh && sh scripts/uniffi_bindgen_generate_kotlin.sh && sh scripts/uniffi_bindgen_generate_kotlin_android.sh
./bindgen.sh
```

## Version Bumping Checklist
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 0.7.0-rc.27 (Synonym Fork)
# 0.7.0-rc.28 (Synonym Fork)

## Bug Fixes

Expand All @@ -12,6 +12,9 @@
confirmed, causing `get_merkle` to fail for 0-conf channel funding transactions.
- Fixed duplicate payment events (`PaymentReceived`, `PaymentSuccessful`, `PaymentFailed`) being
emitted when LDK replays events after node restart.
- Switched from forked rust-lightning (`ovitrif/rust-lightning#0.2-electrum-fix`) back to official
upstream crates.io releases. The Electrum sync fix (PR #4341) is now in upstream
`lightning-transaction-sync` v0.2.1. Also picks up `lightning` v0.2.2 fixes.

## Synonym Fork Additions

Expand Down
15 changes: 1 addition & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exclude = ["bindings/uniffi-bindgen"]

[package]
name = "ldk-node"
version = "0.7.0-rc.27"
version = "0.7.0-rc.28"
authors = ["Elias Rohrer <dev@tnull.de>"]
homepage = "https://lightningdevkit.org/"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -123,19 +123,6 @@ check-cfg = [
name = "payments"
harness = false

[patch.crates-io]
lightning = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-types = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-invoice = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-net-tokio = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-persister = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-background-processor = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-rapid-gossip-sync = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-block-sync = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-transaction-sync = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-liquidity = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }
lightning-macros = { git = "https://github.com/ovitrif/rust-lightning", branch = "0.2-electrum-fix" }

#[patch.crates-io]
#lightning = { path = "../rust-lightning/lightning" }
#lightning-types = { path = "../rust-lightning/lightning-types" }
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

let tag = "v0.7.0-rc.27"
let checksum = "3b26fa722dbabc615ff61360c67974d9b07f8789fafc2871315557356b5439db"
let tag = "v0.7.0-rc.28"
let checksum = "a831f3454be219770bfd511f0c5b8d17c9f814d3769d6c9111a3c0c332d2de96"
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"

let package = Package(
Expand Down
8 changes: 8 additions & 0 deletions bindgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail

RUSTFLAGS="--cfg no_download" cargo build \
&& ./scripts/uniffi_bindgen_generate.sh \
&& ./scripts/swift_create_xcframework_archive.sh \
&& sh scripts/uniffi_bindgen_generate_kotlin.sh \
&& sh scripts/uniffi_bindgen_generate_kotlin_android.sh
2 changes: 1 addition & 1 deletion bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Build All Bindings
Run in the root dir:
```sh
RUSTFLAGS="--cfg no_download" cargo build && ./scripts/uniffi_bindgen_generate.sh && ./scripts/swift_create_xcframework_archive.sh && sh scripts/uniffi_bindgen_generate_kotlin.sh && sh scripts/uniffi_bindgen_generate_kotlin_android.sh
./bindgen.sh
```

---
Expand Down
2 changes: 1 addition & 1 deletion bindings/kotlin/ldk-node-android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
group=com.synonym
version=0.7.0-rc.27
version=0.7.0-rc.28
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion bindings/kotlin/ldk-node-jvm/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx1536m
kotlin.code.style=official
group=com.synonym
version=0.7.0-rc.27
version=0.7.0-rc.28
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ldk_node"
version = "0.7.0-rc.27"
version = "0.7.0-rc.28"
authors = [
{ name="Elias Rohrer", email="dev@tnull.de" },
]
Expand Down