Skip to content

Commit 3e5bd58

Browse files
committed
Revert "update frb to v2.2.0"
This reverts commit 55d2772.
1 parent 55d2772 commit 3e5bd58

File tree

21 files changed

+58
-4538
lines changed

21 files changed

+58
-4538
lines changed

CHANGELOG.md

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
## [0.3.1]
2-
3-
Updated `flutter_rust_bridge` to `2.2.0`.
4-
51
## [0.3.0]
6-
72
Updated `flutter_rust_bridge` to `2.0.0`.
8-
93
#### APIs added
10-
114
- `buildWithFsStore` method is added in the `Builder` class allowing to use the filesystem storage backend.
12-
- Exposed `setLiquiditySourceLsps2` method to `Builder` to configure the `Node` instance to source the inbound liquidity.
5+
- Exposed `setLiquiditySourceLsps2` method to `Builder` to configure the `Node` instance to source the inbound liquidity.
136
- `nextEventAsync` method is added to `Node` class that allows polling the event queue asynchronously.
147
- `status` method has been added to `Node` allowing to retrieve information about the Node's status.
158
- `config` method added to get the config with which the `Node` was initialized.
@@ -18,84 +11,60 @@ Updated `flutter_rust_bridge` to `2.0.0`.
1811
- Support for creating and paying BOLT12 offers and refunds has been added.
1912
- Added `networkGraph` handler method allowing to query the network graph.
2013
- Added `forceCloseChannel` to `Node` class.
21-
2214
#### API changed
23-
2415
- All available balances outside of channel balances are now exposed via a unified `listBalances` interface method.
25-
2616
#### Fixed
27-
2817
Persisted peers are now correctly reconnected after startup.
2918

3019
## [0.2.2-dev]
31-
3220
Updated Rust and Flutter dependencies.
33-
3421
#### APIs added
35-
3622
- Expose `isRunning()` in `Node` class.
37-
3823
#### API changed
39-
4024
- Renamed `waitUntilNextHandled()` to `waitNextHandled`.
4125
- Renamed `listeningAddress()` to `listeningAddresses`.
4226
- Upgraded `BuilderException` to handle invalid `socketAddress` & `trustedPeers.
4327
- Upgraded `NodeException` to handle invalid `txid`.
44-
4528
#### Fixed
46-
4729
- Functions hang indefinitely on iOs devices
4830
- Android support bug resolved
4931
- Thread `frb_workerpool` panic on `SocketAddress`, `PublicKey`, `Address` `Bolt11Invoice`, `Config` and `Txid`.
5032

5133
## [0.2.0]
52-
5334
Updated `Rust` and `Flutter` dependencies.
5435

5536
## [0.1.3]
56-
5737
Updated `Rust` and `Flutter` dependencies.
5838
Invalid `BuilderException` bug resolved
59-
6039
#### APIs added
61-
62-
- Expose `generate()` in `Mnemonic` class.
63-
40+
- Expose `generate()` in `Mnemonic` class.
6441
#### API changed
65-
6642
- Remove `generateEntropyMnemonic()`.
6743

6844
## [0.1.2]
69-
7045
#### APIs added
71-
7246
- Expose `generateEntropyMnemonic` function - a utility method for generating a BIP39 mnemonic.
73-
- Expose `Node` class's `updateChannelConfig`, `verifySignature`, `signMessage`, `sendPaymentProbe`, `sendSpontaneousPaymentProbe` methods.
47+
- Expose `Node` class's `updateChannelConfig`, `verifySignature`, `signMessage`, `sendPaymentProbe`, `sendSpontaneousPaymentProbe` methods.
7448
- Add `ChannelConfig?` to node.connectOpenChannel() params - a `ChannelConfig` may now be specified on channel open or updated afterwards.
7549
- Expose `counterpartyNodeId`, `funding_txo` & `channelValueSats` in `ChannelDetails`.
7650
- Expose `trustedPeers0Conf` `probingLiquidityLimitMultiplier`, `logDirPath`, `onchainWalletSyncInterval_secs`, `walletSyncIntervalSecs`, &
77-
`feeRateCacheUpdateIntervalSecs` in `Config` - allowing inbound trusted 0conf channels.
51+
`feeRateCacheUpdateIntervalSecs` in `Config` - allowing inbound trusted 0conf channels.
7852
- Non-permanently connected peers are now included in node.listPeers().
7953

8054
#### API changed
81-
8255
- node.newFundingAddress renamed to `newOnchainAddress`.
8356
- node.sendToOnChainAddress renamed to `sendToOnchainAddress`.
8457
- node.sendAllToOnChainAddress renamed to `sendAllToOnchainAddress`.
8558
- Remove node.onChainBalance.
8659

8760
## [0.1.1-alpha]
88-
8961
Support `Dart 3` and `Flutter 3.10`
9062

9163
## [0.1.1]
92-
9364
Support `Dart 3` and `Flutter 3.10`
9465

9566
### Fixed
96-
97-
- `setEntropyBip39Mnemonic` issue resolved
98-
67+
- `setEntropyBip39Mnemonic` issue resolved
9968
## [0.1.0]
10069

10170
This is the first release of `ldk_node`. It features support for sourcing chain data via an `Esplora` server, filesystem persistence, gossip sourcing via the `Lightning` peer-to-peer network, and configurble entropy sources for the integrated LDK & BDK-based wallets.
@@ -166,4 +135,4 @@ This is the first release of `ldk_node`. It features support for sourcing chain
166135

167136
`stop`- Disconnects all peers, stops all running background tasks, and shuts down Node.
168137

169-
`syncWallets`- Sync the `LDK & BDK` wallets with the current chain state.
138+
`syncWallets`- Sync the `LDK & BDK` wallets with the current chain state.

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.7.0'
2+
ext.kotlin_version = '1.6.10'
33
repositories {
44
google()
55
mavenCentral()

example/pubspec.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ packages:
143143
dependency: transitive
144144
description:
145145
name: flutter_rust_bridge
146-
sha256: "7beb9cb4690916a6c4fd151d91dba53555ea258dbc029dd5f1bfba2e7bd32b86"
146+
sha256: f703c4b50e253e53efc604d50281bbaefe82d615856f8ae1e7625518ae252e98
147147
url: "https://pub.dev"
148148
source: hosted
149-
version: "2.2.0"
149+
version: "2.0.0"
150150
flutter_test:
151151
dependency: "direct dev"
152152
description: flutter
@@ -213,18 +213,18 @@ packages:
213213
dependency: transitive
214214
description:
215215
name: leak_tracker
216-
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
216+
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
217217
url: "https://pub.dev"
218218
source: hosted
219-
version: "10.0.5"
219+
version: "10.0.4"
220220
leak_tracker_flutter_testing:
221221
dependency: transitive
222222
description:
223223
name: leak_tracker_flutter_testing
224-
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
224+
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
225225
url: "https://pub.dev"
226226
source: hosted
227-
version: "3.0.5"
227+
version: "3.0.3"
228228
leak_tracker_testing:
229229
dependency: transitive
230230
description:
@@ -253,18 +253,18 @@ packages:
253253
dependency: transitive
254254
description:
255255
name: material_color_utilities
256-
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
256+
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
257257
url: "https://pub.dev"
258258
source: hosted
259-
version: "0.11.1"
259+
version: "0.8.0"
260260
meta:
261261
dependency: transitive
262262
description:
263263
name: meta
264-
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
264+
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
265265
url: "https://pub.dev"
266266
source: hosted
267-
version: "1.15.0"
267+
version: "1.12.0"
268268
path:
269269
dependency: transitive
270270
description:
@@ -325,10 +325,10 @@ packages:
325325
dependency: transitive
326326
description:
327327
name: platform
328-
sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65"
328+
sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
329329
url: "https://pub.dev"
330330
source: hosted
331-
version: "3.1.5"
331+
version: "3.1.4"
332332
plugin_platform_interface:
333333
dependency: transitive
334334
description:
@@ -410,10 +410,10 @@ packages:
410410
dependency: transitive
411411
description:
412412
name: test_api
413-
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
413+
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
414414
url: "https://pub.dev"
415415
source: hosted
416-
version: "0.7.2"
416+
version: "0.7.0"
417417
typed_data:
418418
dependency: transitive
419419
description:
@@ -442,10 +442,10 @@ packages:
442442
dependency: transitive
443443
description:
444444
name: vm_service
445-
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
445+
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
446446
url: "https://pub.dev"
447447
source: hosted
448-
version: "14.2.4"
448+
version: "14.2.1"
449449
web:
450450
dependency: transitive
451451
description:

ios/Classes/frb_generated.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -953,10 +953,6 @@ void frbgen_ldk_node_wire__crate__api__spontaneous__ldk_spontaneous_payment_send
953953
uint64_t amount_msat,
954954
struct wire_cst_public_key *node_id);
955955

956-
void frbgen_ldk_node_wire__crate__api__types__anchor_channels_config_default(int64_t port_);
957-
958-
void frbgen_ldk_node_wire__crate__api__types__config_default(int64_t port_);
959-
960956
void frbgen_ldk_node_rust_arc_increment_strong_count_RustOpaque_Arcldk_nodepaymentBolt12Payment(const void *ptr);
961957

962958
void frbgen_ldk_node_rust_arc_decrement_strong_count_RustOpaque_Arcldk_nodepaymentBolt12Payment(const void *ptr);
@@ -1238,8 +1234,6 @@ static int64_t dummy_method_to_enforce_bundling(void) {
12381234
dummy_var ^= ((int64_t) (void*) frbgen_ldk_node_wire__crate__api__on_chain__ldk_on_chain_payment_send_to_address);
12391235
dummy_var ^= ((int64_t) (void*) frbgen_ldk_node_wire__crate__api__spontaneous__ldk_spontaneous_payment_send);
12401236
dummy_var ^= ((int64_t) (void*) frbgen_ldk_node_wire__crate__api__spontaneous__ldk_spontaneous_payment_send_probes);
1241-
dummy_var ^= ((int64_t) (void*) frbgen_ldk_node_wire__crate__api__types__anchor_channels_config_default);
1242-
dummy_var ^= ((int64_t) (void*) frbgen_ldk_node_wire__crate__api__types__config_default);
12431237
dummy_var ^= ((int64_t) (void*) store_dart_post_cobject);
12441238
return dummy_var;
12451239
}

lib/src/generated/api/bolt11.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// Generated by `flutter_rust_bridge`@ 2.2.0.
2+
// Generated by `flutter_rust_bridge`@ 2.0.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

lib/src/generated/api/bolt12.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// Generated by `flutter_rust_bridge`@ 2.2.0.
2+
// Generated by `flutter_rust_bridge`@ 2.0.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

lib/src/generated/api/builder.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// Generated by `flutter_rust_bridge`@ 2.2.0.
2+
// Generated by `flutter_rust_bridge`@ 2.0.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

@@ -16,7 +16,7 @@ import 'types.dart';
1616
abstract class NodeBuilder implements RustOpaqueInterface {
1717
Builder get builder;
1818

19-
set builder(Builder builder);
19+
void set builder(Builder builder);
2020

2121
Future<LdkNode> build();
2222

lib/src/generated/api/graph.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// Generated by `flutter_rust_bridge`@ 2.2.0.
2+
// Generated by `flutter_rust_bridge`@ 2.0.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

lib/src/generated/api/node.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// Generated by `flutter_rust_bridge`@ 2.2.0.
2+
// Generated by `flutter_rust_bridge`@ 2.0.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

lib/src/generated/api/on_chain.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// Generated by `flutter_rust_bridge`@ 2.2.0.
2+
// Generated by `flutter_rust_bridge`@ 2.0.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

0 commit comments

Comments
 (0)