Releases: LtbLightning/ldk-node-flutter
v0.7.0
[0.7.0]
Updated ldk-node to 0.7.0.
Updated flutter_rust_bridge to 2.11.1.
Updated freezed to 3.2.0.
Updated freezed-annotation to 3.1.0.
APIs Added
Channel Management
- Channel Splicing: Experimental support via
spliceIn()andspliceOut()methods openChannelandopenAnnouncedChannel(replacesconnectOpenChannel)
Payments
- Async Payments: Static invoice support with
receiveStaticInvoice()andsendStaticInvoice() - Custom Preimage:
sendWithPreimage()for spontaneous payments - Route Parameters:
RouteParametersConfigsupport for BOLT12 payments and refunds - Unified QR:
node.unifiedQrPayment&UnifiedQrPaymenthandler for generating and paying unified QR codes - BOLT12 support for
quantityandpayerNotefields SendingParameterssupport when sending BOLT11 payments
Chain Data Sources
- Bitcoin Core REST:
ChainDataSourceConfig.bitcoindRest() - Bitcoin Core RPC:
setChainSourceBitcoinRpc()for chain and fee estimation data - Electrum:
ChainDataSourceConfig.electrum()withElectrumSyncConfigand background sync options - Esplora with Headers:
ChainDataSourceConfig.esploraWithHeaders()for custom HTTP headers - Renamed
setEsploraServer→setChainSourceEsplorawithEsploraSyncConfig
FeeRate Class
- Constants:
zero,min,max,broadcastMin,dust - Constructors:
fromSatPerKwu(),fromSatPerVb(),fromSatPerVbUnchecked() - Converters:
toSatPerVbFloor(),toSatPerVbCeil(),toSatPerKwu() - Enhanced
OnChainPaymentmethods withFeeRateparameter support
LSP Integration
- LSPS2 service with
receiveViaJitChannel()andreceiveVariableAmountViaJitChannel() Bolt11Jitpayment variant with LSP fee limits and counterparty skimmed fee tracking
Events
payment_preimagefield inPaymentSuccessfuleventsPaymentForwardedevents for tracking forwarded payments with fee/routing info- Custom TLV records in
PaymentClaimableandPaymentReceivedviacustomRecords
Pathfinding
importPathfindingScores()andmergePathfindingScores()
Configuration
Mnemonic.generateWithWordCount()for configurable entropybuilder.setNodeAliasfor public node announcements- Experimental encrypted VSS remote storage via
builder.buildWithVssStore&builder.buildWithVssStoreAndFixedHeaders
Other
- On-chain transactions now included in payment store and exposed via payment APIs
Breaking Changes
flutter_rust_bridgeupdated from2.6.0to2.11.1— may require changes in low-level FFI bindingsfreezedupdated to3.2.0— may require regeneration of freezed classesnode.connectOpenChannelsplit intoopenChannelandopenAnnouncedChannelsetEsploraServerrenamed tosetChainSourceEsplora- Payment events include new fields (
preimage,customRecords) affecting event handling code
Fixed
- Node no longer enters unrecoverable state when previously generated transaction is accepted first (fixed in
bdk_wallet 2.0.0) - Node no longer throws exception on persistence failure during event handling — events replay until successful
- Node can now use confirmed on-chain funds to spend/bump Anchor outputs
- FeeRate FFI type conflicts resolved with native Dart solution
ChannelConfigrefactored — now allows querying currentMaxDustHTLCExposurelimit
Notes
- Splicing-related transactions may still get misclassified in the payment store
- Liquidity service data is now persisted across restarts
- Improved shutdown robustness and reduced IO load via differential channel monitor updates
- VSS support is alpha/experimental — may throw exceptions on unrecoverable persistence failures
- Custom TLV sending (
sendWithCustomTlvs) not yet exposed in public API
Precompiled binaries feb2837e
Precompiled binaries for crate ldk_node, crate hash feb2837e64c8d26c7262b144c821db6c.
Precompiled binaries 91ff194e
Precompiled binaries for crate ldk_node, crate hash 91ff194e59b253cc41b47d91ddf38c45.
Precompiled binaries 73afe9a2
Precompiled binaries for crate ldk_node, crate hash 73afe9a2fcc6370d0da210a69cbdfe02.
Precompiled binaries 618f633c
Precompiled binaries for crate ldk_node, crate hash 618f633c2313657b129e0b5b5dedbde7.
Precompiled binaries f5462279
Precompiled binaries for crate ldk_node, crate hash f54622798f7ddbbf244c0b599d681a53.
v0.3.0
[0.3.0]
Updated flutter_rust_bridge to 2.0.0.
APIs added
buildWithFsStoremethod is added in theBuilderclass allowing to use the filesystem storage backend.- Exposed
setLiquiditySourceLsps2method toBuilderto configure theNodeinstance to source the inbound liquidity. nextEventAsyncmethod is added toNodeclass that allows polling the event queue asynchronously.statusmethod has been added toNodeallowing to retrieve information about the Node's status.configmethod added to get the config with which theNodewas initialized.- The payment APIs have been restructured to use per-type (bolt11, onchain, bolt12) payment handlers which can be accessed via
node.{type}Payment. - Support for sourcing inbound liquidity via LSPS2 just-in-time (JIT) channels has been added.
- Support for creating and paying BOLT12 offers and refunds has been added.
- Added
networkGraphhandler method allowing to query the network graph. - Added
forceCloseChanneltoNodeclass.
API changed
- All available balances outside of channel balances are now exposed via a unified
listBalancesinterface method.
Fixed
Persisted peers are now correctly reconnected after startup.
v0.3.0
[0.3.0]
Updated flutter_rust_bridge to 2.0.0.
APIs added
buildWithFsStoremethod is added in theBuilderclass allowing to use the filesystem storage backend.- Exposed
setLiquiditySourceLsps2method toBuilderto configure theNodeinstance to source the inbound liquidity. nextEventAsyncmethod is added toNodeclass that allows polling the event queue asynchronously.statusmethod has been added toNodeallowing to retrieve information about the Node's status.configmethod added to get the config with which theNodewas initialized.- The payment APIs have been restructured to use per-type (bolt11, onchain, bolt12) payment handlers which can be accessed via
node.{type}Payment. - Support for sourcing inbound liquidity via LSPS2 just-in-time (JIT) channels has been added.
- Support for creating and paying BOLT12 offers and refunds has been added.
- Added
networkGraphhandler method allowing to query the network graph. - Added
forceCloseChanneltoNodeclass.
API changed
- All available balances outside of channel balances are now exposed via a unified
listBalancesinterface method.
Fixed
Persisted peers are now correctly reconnected after startup.
v0.2.2-dev
[0.2.2-dev]
Updated Rust and Flutter dependencies.
APIs added
- Expose
isRunning()inNodeclass.
API changed
- Renamed
waitUntilNextHandled()towaitNextHandled. - Renamed
listeningAddress()tolisteningAddresses. - Upgraded
BuilderExceptionto handle invalidsocketAddress& `trustedPeers. - Upgraded
NodeExceptionto handle invalidtxid.
Fixed
- Functions hang indefinitely on iOs devices
- Android support bug resolved
- Thread
frb_workerpoolpanic onSocketAddress,PublicKey,AddressBolt11Invoice,ConfigandTxid.
Pub.dev: https://pub.dev/packages/ldk_node/versions/0.2.2-dev
binaries for this release version will be downloaded and installed automatically from here: https://github.com/LtbLightning/ldk-node-flutter/releases/tag/precompiled_eacf7899dcd30c945b6c2b465765762c
Precompiled binaries for v0.2.2-dev
Precompiled binaries for crate ldk_node, crate hash eacf7899dcd30c945b6c2b465765762c.
These binaries are downloaded and installed when v0.2.2-dev is installed from pub.dev or from github