Summary
The [0.7.0] CHANGELOG entry advertises channel splicing support via
spliceIn() and spliceOut() methods, but these methods do not exist
in the generated Dart API. Only the splice-related events are present.
Environment
- Package:
ldk-node-flutter
- Ref / commit:
7aa619809c300656098bb79d4819ebaff9bbbf8a (pinned via
git: ref: v0.7.0 in pubspec)
- Platform: Flutter / Android
What the CHANGELOG says
The [0.7.0] section states:
Channel Splicing: Experimental support for channel splicing via
spliceIn() and spliceOut() methods
What is actually in the package
Searching the entire package for splice returns only:
Event.splicePending / Event.spliceFailed (in types.dart)
- their
freezed boilerplate (types.freezed.dart)
- FFI serialization for those events (
frb_generated.dart,
frb_generated.io.dart)
ChannelException with code ChannelSplicingFailed (exceptions.dart)
There is no callable spliceIn / spliceOut method on the Node
class (or anywhere else) in any .dart file.
Reproduction
Search the resolved package cache for the advertised methods:
grep -rn "spliceIn|spliceOut" /git/ldk-node-flutter-7aa6198.../lib/
Result: no matches for the method definitions. Only the events above appear
when searching for splice.
Expected
Node.spliceIn(...) and Node.spliceOut(...) should be present and callable
in the generated Dart API, as described in the CHANGELOG.
Actual
The initiating methods are absent; only splice events are exposed, so a
splice cannot be initiated or actively completed from Dart. The splice
events without corresponding methods are not enough to use splicing.
Question
Is this a generation/bindgen gap where the underlying ldk-node (Rust)
methods were not exposed through flutter_rust_bridge, or is the CHANGELOG
ahead of the implementation? Any guidance on whether a newer ref exposes
these methods would be appreciated.
Summary
The
[0.7.0]CHANGELOG entry advertises channel splicing support viaspliceIn()andspliceOut()methods, but these methods do not existin the generated Dart API. Only the splice-related events are present.
Environment
ldk-node-flutter7aa619809c300656098bb79d4819ebaff9bbbf8a(pinned viagit: ref: v0.7.0in pubspec)What the CHANGELOG says
The
[0.7.0]section states:What is actually in the package
Searching the entire package for
splicereturns only:Event.splicePending/Event.spliceFailed(intypes.dart)freezedboilerplate (types.freezed.dart)frb_generated.dart,frb_generated.io.dart)ChannelExceptionwith codeChannelSplicingFailed(exceptions.dart)There is no callable
spliceIn/spliceOutmethod on theNodeclass (or anywhere else) in any
.dartfile.Reproduction
Search the resolved package cache for the advertised methods:
grep -rn "spliceIn|spliceOut" /git/ldk-node-flutter-7aa6198.../lib/
Result: no matches for the method definitions. Only the events above appear
when searching for
splice.Expected
Node.spliceIn(...)andNode.spliceOut(...)should be present and callablein the generated Dart API, as described in the CHANGELOG.
Actual
The initiating methods are absent; only splice events are exposed, so a
splice cannot be initiated or actively completed from Dart. The splice
events without corresponding methods are not enough to use splicing.
Question
Is this a generation/bindgen gap where the underlying
ldk-node(Rust)methods were not exposed through
flutter_rust_bridge, or is the CHANGELOGahead of the implementation? Any guidance on whether a newer ref exposes
these methods would be appreciated.