Skip to content

Commit

Permalink
Merge pull request #38 from LtbLightning/upgrade-v0.2.1
Browse files Browse the repository at this point in the history
Upgrade v0.2.1
  • Loading branch information
BitcoinZavior authored Mar 3, 2024
2 parents 4afd8ac + cc43e59 commit 0136bb7
Show file tree
Hide file tree
Showing 21 changed files with 132 additions and 51 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ migrate_working_dir/
build/
rust/target/
rust/wallets/
rust/ldk.0.2.1/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- Flutter (1.0.0)
- ldk_node (0.2.0):
- ldk_node (0.2.1):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
Expand All @@ -21,7 +21,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
ldk_node: 3e4a91c5d2da568ee28704366beed870588c35b6
ldk_node: 46de990c54f2b3669d094b941ae40d9f09e28c6c
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
Expand Down
5 changes: 3 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class _MyAppState extends State<MyApp> {
String path, ldk.SocketAddress address) async {
final directory = await getApplicationDocumentsDirectory();
final nodePath = "${directory.path}/ldk_cache/$path";
print(nodePath);
final config = ldk.Config(
probingLiquidityLimitMultiplier: 3,
trustedPeers0Conf: [],
Expand All @@ -72,7 +71,9 @@ class _MyAppState extends State<MyApp> {
ldk.SocketAddress.hostname(addr: "0.0.0.0", port: 3003));
ldk.Builder aliceBuilder = ldk.Builder.fromConfig(config: aliceConfig);
aliceNode = await aliceBuilder
.setEntropyBip39Mnemonic(mnemonic: await ldk.Mnemonic.generate())
.setEntropyBip39Mnemonic(
mnemonic: ldk.Mnemonic(
"cart super leaf clinic pistol plug replace close super tooth wealth usage"))
.setEsploraServer(esploraUrl)
.build();
await startNode(aliceNode);
Expand Down
Loading

0 comments on commit 0136bb7

Please sign in to comment.