Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
76a4206
Add LDK event handling
tnull Dec 10, 2024
ec1cff5
Move `PaymentForwarded` event emission down
tnull Dec 10, 2024
f78f086
Add `LSPS2ServiceEvent` handling
tnull Dec 10, 2024
1091952
Add LSPS2 client<>service integration test
tnull Feb 14, 2025
edb0560
Merge pull request #420 from tnull/2024-12-add-lsps2-service-support
tnull Mar 4, 2025
56d5dc9
test: introduce TestConfig and improve logging tests
enigbe Feb 8, 2025
22cb1df
Merge pull request #463 from enigbe/2025-02-test-logging-interface
tnull Mar 13, 2025
7cf9ef9
Have `Builder::set_entropy_seed_bytes` take `[u8; 64]` for non-`uniffi`
tnull Mar 18, 2025
f0338d1
Merge pull request #493 from tnull/2025-03-take-bytes-by-array
tnull Mar 19, 2025
171a358
Handle persistence failure in event_handled from Node
elnosh Mar 19, 2025
22e97da
Merge pull request #498 from elnosh/handle-persistance-failures
tnull Mar 23, 2025
ca49cb7
Add `NetworkMismatch` error type
elnosh Mar 17, 2025
9c02f23
Merge pull request #485 from elnosh/check-network-switch
tnull Mar 25, 2025
9a38ab0
feat: add Docker Compose for LND, Bitcoind, and Electrs
moisesPompilio Mar 26, 2025
19f4e2c
Add `counterparty_skimmed_fee_msat` field to `PaymentKind::Bolt11Jit`
tnull Mar 19, 2025
13c6d0e
Clarify when `PaymentDetails::amount_msat` might be `None`
tnull Mar 19, 2025
bbe8b1e
Allow disabling background wallet synchronization
alexanderwiederin Mar 25, 2025
2122528
Merge pull request #497 from tnull/2025-03-payment-details-nits
tnull Mar 27, 2025
0dd78ee
Merge pull request #508 from alexanderwiederin/optional-wallet-sync
tnull Mar 28, 2025
fb9243a
Add configuration for node announcement addresses
aylagreystone Mar 14, 2025
e260744
Refactor may_announce_channel to return AnnounceError
aylagreystone Mar 27, 2025
5432ed8
Add test for announcement address propagation
aylagreystone Mar 28, 2025
7528e91
Merge pull request #484 from aylagreystone/announced-addresses
tnull Mar 28, 2025
da5a839
Allow forwarding to unannounced channels if LSP service is enabled
tnull Mar 21, 2025
095ba89
Merge pull request #503 from tnull/2025-03-set-priv-channel-forward-i…
tnull Mar 28, 2025
8d81a4c
feat: implement LND integration tests with lnd_grpc_rust
moisesPompilio Mar 26, 2025
7d592bb
ci: add GitHub Actions workflow for LND integration tests
moisesPompilio Mar 26, 2025
ce34d7e
Fix: add retry logic to Esplora requests to handle connection issues
alexanderwiederin Mar 28, 2025
ce0de1c
Fix removing payment from in-memory store
andrei-21 Mar 31, 2025
c32b646
Use `HashMap::values()` method to access only values
andrei-21 Mar 31, 2025
abdcc6a
Merge pull request #513 from alexanderwiederin/fix-flaky-python-test
tnull Mar 31, 2025
a6cb7a3
Merge pull request #509 from moisesPompilio/issue_505
tnull Mar 31, 2025
fb23bad
Merge pull request #514 from andrei-21/fix/remove-payment
tnull Apr 1, 2025
d79d1ba
fix(ci): enforce compatible CMake version for LND tests
moisesPompilio Apr 3, 2025
4a40ab5
Accommodate minor change in `test_utils` API introduce by LDK 0.1.2
tnull Apr 3, 2025
b00daa3
Merge pull request #517 from tnull/2025-04-fix-ldk-0.1.2-changes
tnull Apr 3, 2025
5abb42f
Merge pull request #516 from moisesPompilio/issue_515
tnull Apr 3, 2025
3bf6e0a
Prefactor: Update bitcoind used in CI to v27.2
tnull Mar 19, 2025
c5a014f
Have the mock log facade not always print to `stdout`
tnull Mar 27, 2025
523727d
Merge pull request #510 from tnull/2025-03-test-log-print-cfg
tnull Apr 15, 2025
df47d33
Prefactor: Upgrade to `electrum-client` v0.22
tnull Feb 3, 2025
2187046
Install `bindgen-cli` in Kotlin CI
tnull Mar 18, 2025
274a21f
Add `bdk_electrum`/`transaction-sync` `electrum` support in `Cargo.toml`
tnull Feb 4, 2025
e793b6f
Allow to configure `ChainSource::Electrum` via builder
tnull Mar 7, 2025
70014d6
Implement (cached) `Filter` for `ElectrumRuntimeClient`
tnull Mar 7, 2025
6ead9be
Implement `continuously_sync_wallets` for `ChainSource::Electrum`
tnull Mar 7, 2025
98150cd
Implement `process_broadcast_queue` for `ChainSource::Electrum`
tnull Mar 7, 2025
af64dd9
Implement `update_fee_rate_estimates` for `ChainSource::Electrum`
tnull Mar 17, 2025
6ac8b91
Implement `sync_lightning_wallet` for `ChainSource::Electrum`
tnull Mar 17, 2025
2bd559b
Implement `sync_onchain_wallet` for `ChainSource::Electrum`
tnull Mar 17, 2025
95e75d4
Add `full_cycle` test using the new `Electrum` chain source
tnull Mar 17, 2025
5cdd2e3
Update README to signal Electrum support
tnull Mar 17, 2025
d840bbd
Merge pull request #486 from tnull/2025-02-add-electrum-support
tnull Apr 16, 2025
66a8d5e
Switch docker files to use `mempool/electrs`
tnull Apr 17, 2025
4affc74
Bump `bitcoind` versions used in docker files to 27.2
tnull Apr 17, 2025
7b41def
Merge pull request #524 from tnull/2025-04-fix-docker
tnull Apr 17, 2025
4c2e5f3
Drop `debug_assert` that would have us panic for replayed `PaymentCla…
tnull Mar 27, 2025
273106d
Merge pull request #511 from tnull/2025-03-fix-paymentdetails-panic-d…
tnull Apr 18, 2025
58ff65f
Release 0.5.0-rc.1
tnull Apr 18, 2025
1525255
Merge pull request #525 from tnull/2025-04-release-0.5.0-rc.1
tnull Apr 18, 2025
71aac7e
Update `CHANGELOG.md` for v0.5.0
tnull Apr 28, 2025
aa10e54
Bump Rust version number adding `+git`
tnull Apr 29, 2025
a98747d
Merge pull request #532 from tnull/2025-04-cut-0.5.0-post-release
tnull Apr 29, 2025
91ec1b6
Bump Kotlin/Swift/Python version numbers
tnull Apr 29, 2025
1b6875d
Use `stable` Rust toolchain for Swift builds
tnull Apr 28, 2025
a7f4b77
Make minor adjustments to commented-out LDK deps
tnull May 5, 2025
923da5c
Update Swift files for v0.5.0
tnull May 5, 2025
ddd1768
Merge pull request #536 from tnull/2025-04-cut-0.5.0-binaries-main
tnull May 5, 2025
f8e758d
feat: Add Bolt11Invoice wrapper for FFI bindings
alexanderwiederin Apr 11, 2025
b914731
Merge pull request #522 from alexanderwiederin/bolt11-invoice-uniffi
tnull May 12, 2025
94b32c9
Add onchain address validation for network-specific addresses
Camillarhi Apr 4, 2025
5586b69
Merge pull request #519 from Camillarhi/validate-onchain-address
tnull May 14, 2025
705d55f
Don't fail `send_all` retaining reserves for 0 channels
tnull May 16, 2025
a8aab2b
Log how much we got when rejecting Anchor channels due to reserves
tnull May 16, 2025
93622f7
Add generic `DataStore`
tnull May 20, 2025
75aa069
Refactor `PaymentStore` to use `DataStore`
tnull May 20, 2025
9151340
Merge pull request #544 from tnull/2025-05-generalized-data-store
tnull May 21, 2025
79eebfe
Call `Wallet::cancel_tx` for temporary transactions
tnull May 20, 2025
387cc2d
Merge pull request #540 from tnull/2025-05-fix-sendall-retaining-rese…
tnull May 22, 2025
825738e
Fix `module_path`/`line` numbers in `log` facade logging
tnull May 26, 2025
477f8d9
Merge pull request #547 from tnull/2025-05-fix-log-facade-logging
tnull May 27, 2025
e396a1a
continue receive flow on offer/invoice creation failure
Camillarhi May 26, 2025
7977b04
Merge pull request #548 from Camillarhi/qr-receive-graceful-fallback
tnull May 28, 2025
00cf9d9
Upgrade to BDK 2.0
tnull Jun 2, 2025
e6fa232
Retrieve and apply evicted transactions to BDK wallet
tnull Jun 3, 2025
ede415f
Merge pull request #551 from tnull/2025-06-upgrade-to-bdk-2.0
tnull Jun 9, 2025
4abe3d8
Update `CHANGELOG` for v0.6.0
tnull Jun 9, 2025
35524cb
Bump version number post v0.6.0
tnull Jun 9, 2025
fbcacef
Merge pull request #569 from tnull/2025-06-cut-0.6-main
tnull Jun 9, 2025
a6697b8
Bump version number for bindings
tnull Jun 9, 2025
415941b
Update Swift files for 0.6.0
tnull Jun 9, 2025
f95c879
Merge pull request #571 from tnull/2025-06-cut-0.6.0-bindings-main
tnull Jun 9, 2025
07b5471
Restructure FFI bindings with conversion traits for Lightning types
alexanderwiederin Jun 1, 2025
ef81e0d
Add Offer wrapper for FFI bindings
alexanderwiederin May 5, 2025
dc6a8f2
Add Refund wrapper for FFI bindings
alexanderwiederin May 5, 2025
f01d021
Add Bolt12Invoice wrapper for FFI bindings
alexanderwiederin May 12, 2025
40a3aeb
Merge pull request #542 from alexanderwiederin/uniffi-bolt12-clean
tnull Jun 10, 2025
520e5aa
Export trait impls in FFI
tnull Jun 10, 2025
a2d4c1e
Merge pull request #573 from tnull/2025-06-add-ffi-trait-exports
tnull Jun 11, 2025
eff4d77
Avoid collision in `Bolt11Invoice::description`
tnull Jun 17, 2025
2a0d2b6
Merge pull request #577 from tnull/2025-06-more-bindings-fix-main
tnull Jun 18, 2025
9a8254d
Log background sync of RGS message with info level
andrei-21 Jun 19, 2025
6b9751b
Fix test code after `Bolt11Invoice::invoice_description` rename
tnull Jun 19, 2025
efa5b73
Update `CHANGELOG.md` for v0.6.1
tnull Jun 19, 2025
ec2b24d
Update Swift files for v0.6.1
tnull Jun 19, 2025
ff9782b
Merge pull request #582 from tnull/2025-06-cut-0.6.1-main
tnull Jun 19, 2025
01c396a
Merge pull request #584 from andrei-21/feature/log-info-rgs
tnull Jun 20, 2025
1199f7d
Set log target to module path
andrei-21 Jun 27, 2025
243c874
Merge pull request #589 from andrei-21/feature/set-log-target
tnull Jun 27, 2025
3954355
Add exponential backoff for sync failures
tosynthegeek Jun 30, 2025
775e0db
Merge pull request #588 from tosynthegeek/main
tnull Jun 30, 2025
948f289
Fix CLN crash by waiting for block height sync before channel open (#…
moisesPompilio Jul 1, 2025
3385495
Merge pull request #590 from moisesPompilio/issue-527
tnull Jul 1, 2025
c1f27ef
prefactor: rename bitcoind_rpc to bitcoind
enigbe Jun 19, 2025
b7de5f8
prefactor: prepare client for REST interface support
enigbe Jun 30, 2025
36e4c7f
feat: support chain sourcing via REST interface
enigbe Jul 1, 2025
0509e99
Merge pull request #526 from enigbe/2025-04-bitcoind-rest-sync-v2
tnull Jul 1, 2025
ed96316
Bump `uniffi` dependency to v0.28.3
tnull Jul 1, 2025
0a2bccd
Merge pull request #591 from tnull/2025-07-bump-to-uniffi-0.28
tnull Jul 2, 2025
6fe2d30
Reduce syncing and shutdown timeouts considerably
tnull May 13, 2025
9eae61d
Await on the background processing task's `JoinHandle`
tnull Jul 7, 2025
c3d6161
Improve logging in `stop`
tnull Jul 7, 2025
bc6137a
Merge pull request #592 from tnull/2025-07-make-shutdown-more-robust
tnull Jul 9, 2025
8c157c3
ci(vss): use latest gradle version
enigbe Jul 3, 2025
57e1fb1
Merge pull request #593 from enigbe/2025-07-fix-vss-integration-ci
tnull Jul 10, 2025
d5df3d0
Add option to include headers in Esplora config
benthecarman Jul 18, 2025
d7226f3
Merge pull request #596 from benthecarman/esplora-headers
tnull Jul 22, 2025
7e93a8b
Introduce `ChainSourceKind` type
tnull Jul 24, 2025
5afe490
Intermittently introduce additional `impl` blocks
tnull Jul 29, 2025
56167ce
Move Esplora sync logic to a `EsploraChainSource` type
tnull Jul 24, 2025
8a01e17
Move `EsploraChainSource` to a new module `chain::esplora`
tnull Jul 29, 2025
fd517ed
Move Electrum sync logic to a `ElectrumChainSource` type
tnull Jul 24, 2025
40d6440
Move `ElectrumChainSource` type to `chain::electrum` module
tnull Jul 29, 2025
4541a0e
Move Bitcoind sync logic to a `BitcoindChainSource` type
tnull Jul 24, 2025
a7e54d8
Move `BitcoindChainSource` type to `chain::bitcoind` module
tnull Jul 29, 2025
7cb1d34
Drop intermittent `impl` blocks on `ChainSource`
tnull Jul 29, 2025
0935401
Merge pull request #598 from tnull/2025-07-chainsource-refactor
tnull Jul 29, 2025
fb34a27
Move inner code to `sync_lightning_wallet_inner` for Esplora
tnull Jul 31, 2025
c1157a3
Move inner code to `sync_onchain_wallet_inner` for Esplora
tnull Jul 31, 2025
c765545
Move inner code to `sync_lightning_wallet_inner` for Electrum
tnull Jul 31, 2025
128fdfd
Move inner code to `sync_onchain_wallet_inner` for Electrum
tnull Jul 31, 2025
9444bc4
Move inner code to `poll_and_update_listeners_inner`
tnull Jul 31, 2025
a6349a4
Call `periodically_archive_fully_resolved_monitors` for Bitcoind
tnull Jul 31, 2025
d2cadd0
Merge pull request #599 from tnull/2025-07-fix-res-propagation-sync
tnull Aug 1, 2025
be2bc07
Bump `electrum-client` to v0.24.0
tnull Aug 7, 2025
3d35691
Fix lifetime elision warnings introduced by rustc 1.89
tnull Aug 7, 2025
5dd6417
Merge pull request #602 from tnull/2025-08-fix-electrum-breakage
tnull Aug 11, 2025
1af27ac
Bump MSRV to rustc 1.85
tnull Aug 11, 2025
241b12b
Merge pull request #606 from tnull/2025-08-bump-msrv-to-1.85
tnull Aug 11, 2025
90cde61
feat: add ability to set payment preimage for spontaneous payments
aagbotemi May 31, 2025
a147ad0
Merge pull request #549 from aagbotemi/support-preimage-spontaneous-p…
tnull Aug 13, 2025
1d06c7a
Ensure we always startup with a `rustls` `CryptoProvider`
tnull Aug 1, 2025
3ff4890
Add test that drops the node in an async context
tnull Aug 14, 2025
b7c0704
Have `ChainSource` hold `tx_broadcaster` reference
tnull Aug 14, 2025
6b9d899
Move continuous tx broadcast processing loop to `ChainSource`
tnull Aug 14, 2025
3de8b1d
Merge pull request #601 from tnull/2025-08-fix-rustls-crypto-provider…
tnull Aug 14, 2025
17a45dd
Wait on all background tasks to finish (or abort)
tnull Aug 14, 2025
5d2092b
Merge pull request #612 from tnull/2025-08-shutdown-wait-on-all-tasks
tnull Aug 14, 2025
f9d65df
Update CHANGELOG for v0.6.2
tnull Aug 14, 2025
80a5abc
Update Swift files for v0.6.2
tnull Aug 15, 2025
6e938fe
Drop nexus publishing plugin
tnull Aug 15, 2025
89bdacb
Add simpler helper script to generate MD5 and SHA checksum files
tnull Aug 15, 2025
e57927a
Add reorg property test and refactor funding logic
moisesPompilio Aug 15, 2025
6bf414f
Merge pull request #617 from tnull/2025-08-cut-v0.6.2-bindings-main
tnull Aug 15, 2025
4879002
Introduce `Runtime` object allowng to detect outer runtime context
tnull May 19, 2025
86cc3d2
Merge pull request #604 from moisesPompilio/issue-575
tnull Aug 15, 2025
12bd254
Add corresponding `_for_hash` methods to receive via jit channel
andrei-21 Aug 18, 2025
110ab06
Merge pull request #543 from tnull/2025-05-allow-to-use-runtime-handle
tnull Aug 18, 2025
217b398
Merge pull request #608 from andrei-21/feature/for-hash
tnull Aug 18, 2025
3fe4f2f
Fix RPC Txid handling and mempool eviction
moisesPompilio Aug 14, 2025
5fe06c8
Add property-based tests for RPC JSON responses
moisesPompilio Aug 14, 2025
4922e8d
Refactor move background task fields to `Runtime`
tnull Aug 18, 2025
90a4fe1
Drop `Runtime::spawn` in favor of `spawn_cancellable_background_task`
tnull Aug 19, 2025
f3aab90
Add RBF integration tests with multi-node setup
moisesPompilio Aug 19, 2025
1c02114
Merge pull request #619 from tnull/2025-08-background-task-tracking
tnull Aug 19, 2025
b755070
Introduce separate stop signal for background processor
tnull Aug 20, 2025
c428c4c
Remove duplicate call to `chain_source.stop()`
tnull Aug 20, 2025
947acf3
Merge pull request #605 from moisesPompilio/fix-evicted-transation
tnull Aug 20, 2025
ab3d78d
Use `crate::runtime::Runtime` for `VssStore`
tnull May 22, 2025
0705ced
Merge pull request #623 from tnull/2025-08-use-runtime-in-vss-store
tnull Aug 21, 2025
fd29ab5
Merge pull request #622 from tnull/2025-08-bp-stop-signal
tnull Aug 21, 2025
24e6947
Require 16kb pages sizes for Android builds
tnull Aug 21, 2025
fdaa759
Merge pull request #625 from tnull/2025-08-kotlin-android-fix-page-si…
tnull Aug 21, 2025
02208ab
Relax `MaximumFeeEstimate` confirmation target estimation
tnull Sep 2, 2025
65f49af
Merge pull request #629 from tnull/2025-08-relax-max-fee-estimate-target
tnull Sep 2, 2025
66b1a88
Stop migrating spendable outputs from pre-v0.3 format
tnull Jul 31, 2025
02c2663
Check last_best_block_hash before updating fee_rate to avoid unnecess…
moisesPompilio Sep 9, 2025
ed12e65
Bump to LDK main (4e32d852)
tnull Feb 6, 2025
4b45d7c
Switch to use `rustls-ring` everywhere
tnull Aug 15, 2025
80ac9f3
Use log timestamps with millisecond resolution
joostjager Sep 3, 2025
a489fbf
Merge pull request #462 from tnull/2025-02-upgrade-to-ldk-0.2
tnull Sep 10, 2025
8bd7f4d
Merge pull request #631 from moisesPompilio/issue-520
tnull Sep 11, 2025
66f5c28
Add static invoice support
joostjager Aug 19, 2025
8f0e4fd
Merge pull request #621 from joostjager/static-invoice-server
tnull Sep 16, 2025
006a06e
Adapt channel balance reporting to use confirmed candidate
joostjager Sep 16, 2025
f0296d2
Merge pull request #634 from joostjager/splicing-balance
tnull Sep 16, 2025
c99ff30
Log to console with node prefix
joostjager Sep 16, 2025
e8b2513
Merge pull request #636 from joostjager/multi-node-console-log
tnull Sep 17, 2025
8d18d16
Update static invoice store for invoice requests
joostjager Sep 16, 2025
efbef4c
Update static invoice test to use unannounced channels
joostjager Sep 17, 2025
0f1d66c
Merge pull request #635 from joostjager/always-online-fwd-inv-req
tnull Sep 18, 2025
3df1477
Fix wait_for_tx exponential backoff
joostjager Sep 19, 2025
97f404f
Adapt to new pay_for_offer call in upstream LDK
joostjager Sep 18, 2025
569e910
Merge pull request #639 from joostjager/pay-for-offer-refactor
tnull Sep 22, 2025
904a05f
Try to log status code for `reqwest`'s `Request` error kind
tnull Sep 22, 2025
65945f8
Merge pull request #641 from joostjager/backoff-fix
tnull Sep 22, 2025
55ffd26
Merge pull request #643 from tnull/2025-09-try-log-status
tnull Sep 24, 2025
1192085
Bump LDK and account for `FutureSpawner` move
tnull Sep 25, 2025
f3dea63
Merge pull request #648 from tnull/2025-09-fix-futurespawner
tnull Sep 25, 2025
b7598ae
Add onion mailbox for async receivers
joostjager Sep 4, 2025
8e03ddc
Merge pull request #632 from joostjager/onion-mailbox
tnull Sep 25, 2025
2ae3466
Re-format all imports
tnull Sep 28, 2025
09eacfa
Merge pull request #652 from tnull/2025-09-format-all-imports
tnull Sep 29, 2025
11b7eb5
Use cancellable task for inbound connections
joostjager Sep 22, 2025
6f1edcd
Listen on all provided addresses
joostjager Sep 22, 2025
0f621ff
Do not use random ports from ephemeral range
joostjager Sep 23, 2025
ca1e5a7
Merge pull request #644 from joostjager/multi-listen-fix
tnull Oct 1, 2025
7cef820
Merge pull request #655 from lightningdevkit/develop
tnull Oct 7, 2025
52a5f9a
Move current VSS `KVStoreSync` logic to `_internal` methods
tnull Sep 12, 2025
bc313f9
Make VSS internal methods `async`, move `block_on` to `impl KVStoreSync`
tnull Sep 12, 2025
2b40a80
Split `VssStore` into `VssStore` and `VssStoreInner`
tnull Sep 12, 2025
679b6d3
Refactor infallible `build_key` to not return an error
tnull Sep 26, 2025
2b117f5
Implement `KVStore` for `VssStore`
tnull Sep 12, 2025
ce73168
f No need to use `RwLock` if we ever only `write` it
tnull Oct 7, 2025
76c75fe
Move `SqliteStore` logic to `_internal` methods
tnull Sep 12, 2025
c0473cc
Split `SqliteStore` into `SqliteStore` and `SqliteStoreInner`
tnull Sep 12, 2025
5c09a31
Bump BDK to 2.2, rust-bitcoin to 0.32.7
tnull Oct 7, 2025
496552b
Implement `KVStore` for `SqliteStore`
tnull Sep 12, 2025
f535b50
Move `TestStoreSync` logic to `_internal` methods
tnull Sep 18, 2025
b2fca59
Split `TestSyncStore` into `TestSyncStore` and `TestSyncStoreInner`
tnull Sep 18, 2025
8aa68ff
Implement `KVStore` for `TestSyncStore`
tnull Sep 18, 2025
c9e3f71
Require both types of `KVStore`
tnull Sep 17, 2025
e92cada
Use `#[allow(deprecated)]` to silence new deprecation warnings
tnull Oct 8, 2025
fa9bd15
Merge pull request #633 from tnull/2025-09-async-vss-store
tnull Oct 8, 2025
8bc984a
Merge pull request #656 from tnull/2025-09-upgrade-bdk-2.2
tnull Oct 8, 2025
a404a94
Account for `LiquidityManager` persistence
tnull Sep 25, 2025
e4bb615
Merge pull request #650 from tnull/2025-09-liq-persistence
tnull Oct 8, 2025
351a0a9
Account for dropped `Arc` for `DefaultTimeProvider`
tnull Sep 25, 2025
9977903
Account for `lazy` being dropped from `KVStore::remove`
tnull Sep 25, 2025
7855d38
Account for lifetime change in `get_change_destination_script`
tnull Sep 30, 2025
cabcbb3
Account for `LiquidityManager` taking a broadcaster
tnull Sep 30, 2025
9ec89fe
Account for `OutputSweeper::read` being dropped
tnull Oct 2, 2025
98d2148
Merge pull request #651 from tnull/2025-09-fix-lazy-remove
tnull Oct 10, 2025
2276157
Bump to latest LDK `main`
tnull Oct 13, 2025
4cbd1bb
Merge pull request #659 from tnull/2025-10-bump-to-latest-LDK-splicing
tnull Oct 13, 2025
813b162
Bump LDK to v0.2.0-beta1
tnull Oct 14, 2025
4419953
Switch to use Rust VSS server in CI
tnull Oct 14, 2025
67bce05
Merge pull request #663 from tnull/2025-10-switch-to-rust-vss-server
tnull Oct 14, 2025
121dadb
Merge pull request #662 from tnull/2025-10-bump-to-ldk-2.0-beta1
tnull Oct 14, 2025
a263427
Merge remote-tracking branch 'upstream/main' into amackillop/2025-10-…
amackillop Oct 15, 2025
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
52 changes: 52 additions & 0 deletions .github/workflows/lnd-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI Checks - LND Integration Tests

on: [push, pull_request]

jobs:
check-lnd:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check and install CMake if needed
# lnd_grpc_rust (via prost-build v0.10.4) requires CMake >= 3.5 but is incompatible with CMake >= 4.0.
# This step checks if CMake is missing, below 3.5, or 4.0 or higher, and installs CMake 3.31.6 if needed,
# ensuring compatibility with prost-build in ubuntu-latest.
run: |
if ! command -v cmake &> /dev/null ||
[ "$(cmake --version | head -n1 | cut -d' ' -f3)" \< "3.5" ] ||
[ "$(cmake --version | head -n1 | cut -d' ' -f3)" \> "4.0" ]; then
sudo apt-get update
sudo apt-get remove -y cmake
wget https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-Linux-x86_64.sh
echo "518c76bd18cc4ca5faab891db69b1289dc1bf134f394f0983a19576711b95210 cmake-3.31.6-Linux-x86_64.sh" | sha256sum -c - || {
echo "Error: The checksum of the downloaded file does not match the expected value!"
exit 1
}
chmod +x cmake-3.31.6-Linux-x86_64.sh
sudo ./cmake-3.31.6-Linux-x86_64.sh --prefix=/usr/local --skip-license
fi

- name: Create temporary directory for LND data
id: create-temp-dir
run: echo "LND_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV

- name: Start bitcoind, electrs, and LND
run: docker compose -f docker-compose-lnd.yml up -d
env:
LND_DATA_DIR: ${{ env.LND_DATA_DIR }}

- name: Set permissions for LND data directory
# In PR 4622 (https://github.com/lightningnetwork/lnd/pull/4622),
# LND sets file permissions to 0700, preventing test code from accessing them.
# This step ensures the test suite has the necessary permissions.
run: sudo chmod -R 755 $LND_DATA_DIR
env:
LND_DATA_DIR: ${{ env.LND_DATA_DIR }}

- name: Run LND integration tests
run: LND_CERT_PATH=$LND_DATA_DIR/tls.cert LND_MACAROON_PATH=$LND_DATA_DIR/data/chain/bitcoin/regtest/admin.macaroon
RUSTFLAGS="--cfg lnd_test" cargo test --test integration_tests_lnd -- --exact --show-output
env:
LND_DATA_DIR: ${{ env.LND_DATA_DIR }}
43 changes: 0 additions & 43 deletions .github/workflows/publish-android.yml

This file was deleted.

86 changes: 0 additions & 86 deletions .github/workflows/publish-jvm.yml

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
toolchain: [
stable,
beta,
1.75.0, # Our MSRV
1.85.0, # Our MSRV
]
include:
- toolchain: stable
Expand All @@ -29,7 +29,7 @@ jobs:
platform: macos-latest
- toolchain: stable
platform: windows-latest
- toolchain: 1.75.0
- toolchain: 1.85.0
msrv: true
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -42,10 +42,6 @@ jobs:
- name: Check formatting on Rust ${{ matrix.toolchain }}
if: matrix.check-fmt
run: rustup component add rustfmt && cargo fmt --all -- --check
- name: Pin packages to allow for MSRV
if: matrix.msrv
run: |
cargo update -p home --precise "0.5.9" --verbose # home v0.5.11 requires rustc 1.81 or newer
- name: Set RUSTFLAGS to deny warnings
if: "matrix.toolchain == 'stable'"
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -78,7 +74,7 @@ jobs:
if: matrix.build-uniffi
run: cargo build --features uniffi --verbose --color always
- name: Build documentation on Rust ${{ matrix.toolchain }}
if: "matrix.platform != 'windows-latest' || matrix.toolchain != '1.75.0'"
if: "matrix.platform != 'windows-latest' || matrix.toolchain != '1.85.0'"
run: |
cargo doc --release --verbose --color always
cargo doc --document-private-items --verbose --color always
Expand Down
44 changes: 5 additions & 39 deletions .github/workflows/vss-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: YOU_MUST_CHANGE_THIS_PASSWORD
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand All @@ -36,47 +36,13 @@ jobs:
repository: lightningdevkit/vss-server
path: vss-server

- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'

- name: Start Tomcat
- name: Build and Deploy VSS Server
run: |
docker run -d --network=host --name tomcat tomcat:latest

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: release-candidate

- name: Create database table
run: |
psql -h localhost -U postgres -d postgres -f ./vss-server/java/app/src/main/java/org/vss/impl/postgres/sql/v0_create_vss_db.sql
env:
PGPASSWORD: YOU_MUST_CHANGE_THIS_PASSWORD

- name: Build and Deploy VSS
run: |
# Print Info
java -version
gradle --version

cd vss-server/java
gradle wrapper --gradle-version 8.1.1
./gradlew --version
./gradlew build

docker cp app/build/libs/vss-1.0.war tomcat:/usr/local/tomcat/webapps/vss.war
cd ../
- name: Run VSS Integration tests against vss-instance.
cd vss-server/rust
cargo run server/vss-server-config.toml&
- name: Run VSS Integration tests
run: |
cd ldk-node
export TEST_VSS_BASE_URL="http://localhost:8080/vss"
RUSTFLAGS="--cfg vss_test" cargo build --verbose --color always
RUSTFLAGS="--cfg vss_test" cargo test --test integration_tests_vss

- name: Cleanup
run: |
docker stop tomcat && docker rm tomcat
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ swift.swiftdoc
.build/arm64-apple-macosx/debug/index/db/v13/p69904--d2c184/data.mdb
.build/arm64-apple-macosx/debug/index/db/v13/p69904--d2c184/lock.mdb
.build/arm64-apple-macosx/debug/LDKNode.build/module.modulemap

# Hermit
.hermit/
bin/
Loading
Loading