Type fixes. Fixed way for check monero nodes health.
M committed
May 11, 2021 at 19:57 UTC
053e0d18ef2bb47a6298b870a4612d84b45b367e
18 files changed
+38
-38
assets/litecoin_electrum_server_list.yml
+1
-1
@@ -1,2 +1,2 @@
1
-
2
- uri: 128.199.34.116:50002
\ No newline at end of file
2
+ uri: ltc-electrum.cakewallet.com:50002
\ No newline at end of file
ios/Runner.xcodeproj/project.pbxproj
+3
-3
@@ -362,7 +362,7 @@
362
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
363
CLANG_ENABLE_MODULES = YES;
364
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
365
- CURRENT_PROJECT_VERSION = 39;
365
+ CURRENT_PROJECT_VERSION = 40;
366
DEVELOPMENT_TEAM = 32J6BB6VUS;
367
ENABLE_BITCODE = NO;
368
FRAMEWORK_SEARCH_PATHS = (
@@ -505,7 +505,7 @@
505
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
506
CLANG_ENABLE_MODULES = YES;
507
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
508
- CURRENT_PROJECT_VERSION = 39;
508
+ CURRENT_PROJECT_VERSION = 40;
509
DEVELOPMENT_TEAM = 32J6BB6VUS;
510
ENABLE_BITCODE = NO;
511
FRAMEWORK_SEARCH_PATHS = (
@@ -540,7 +540,7 @@
540
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
541
CLANG_ENABLE_MODULES = YES;
542
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
543
- CURRENT_PROJECT_VERSION = 39;
543
+ CURRENT_PROJECT_VERSION = 40;
544
DEVELOPMENT_TEAM = 32J6BB6VUS;
545
ENABLE_BITCODE = NO;
546
FRAMEWORK_SEARCH_PATHS = (
lib/entities/default_settings_migration.dart
+1
-1
@@ -21,7 +21,7 @@ import 'package:encrypt/encrypt.dart' as encrypt;
21
22
const newCakeWalletMoneroUri = 'xmr-node.cakewallet.com:18081';
23
const cakeWalletBitcoinElectrumUri = 'electrum.cakewallet.com:50002';
24
-const cakeWalletLitecoinElectrumUri = '128.199.34.116:50002';
24
+const cakeWalletLitecoinElectrumUri = 'ltc-electrum.cakewallet.com:50002';
25
26
Future defaultSettingsMigration(
27
{@required int version,
lib/entities/node.dart
+5
-5
@@ -11,7 +11,7 @@ import 'package:cake_wallet/entities/digest_request.dart';
11
part 'node.g.dart';
12
13
Uri createUriFromElectrumAddress(String address) =>
14
- Uri.tryParse('tcp://$address');
14
+ Uri.tryParse('tcp://$address');
15
16
@HiveType(typeId: Node.typeId)
17
class Node extends HiveObject with Keyable {
@@ -104,7 +104,7 @@ class Node extends HiveObject with Keyable {
104
uri: uri.toString(), login: login, password: password);
105
resBody = response.data as Map<String, dynamic>;
106
} else {
107
- final rpcUri = Uri.http(uri.toString(), '/json_rpc');
107
+ final rpcUri = Uri.http(uri.authority, '/json_rpc');
108
final headers = {'Content-type': 'application/json'};
109
final body =
110
json.encode({'jsonrpc': '2.0', 'id': '0', 'method': 'get_info'});
@@ -121,9 +121,9 @@ class Node extends HiveObject with Keyable {
121
122
Future<bool> requestElectrumServer() async {
123
try {
124
- await SecureSocket.connect(uri.host, uri.port,
125
- timeout: Duration(seconds: 5), onBadCertificate: (_) => true);
126
- return true;
124
+ await SecureSocket.connect(uri.host, uri.port,
125
+ timeout: Duration(seconds: 5), onBadCertificate: (_) => true);
126
+ return true;
127
} catch (_) {
128
return false;
129
}
res/values/strings_de.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Derzeit unterstützen wir nur den Kauf von Bitcoin. Um Bitcoin zu kaufen, erstellen Sie bitte Ihre Bitcoin-Brieftasche oder wechseln Sie zu dieser",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_en.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_es.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Actualmente solo apoyamos la compra de Bitcoin. Para comprar Bitcoin, cree o cambie a su billetera Bitcoin",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_hi.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "वर्तमान में हम केवल बिटकॉइन की खरीद का समर्थन करते हैं। बिटकॉइन खरीदने के लिए, कृपया अपना बिटकॉइन वॉलेट बनाएं या स्विच करें",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_hr.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_it.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_ja.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "現在、ビットコインの購入のみをサポートしています。 ビットコインを購入するには、ビットコインウォレットを作成するか切り替えてください",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_ko.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "현재 우리는 비트 코인 구매 만 지원합니다. 비트 코인을 구매하려면 비트 코인 지갑을 생성하거나 전환하십시오",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_nl.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Momenteel ondersteunen we alleen de aankoop van Bitcoin. Om Bitcoin te kopen, moet u uw Bitcoin-portemonnee aanmaken of naar uw Bitcoin-portemonnee overschakelen",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_pl.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Obecnie obsługujemy tylko zakup Bitcoinów. Aby kupić Bitcoin, utwórz lub przełącz się na swój portfel Bitcoin",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_pt.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "Atualmente, apoiamos apenas a compra de Bitcoin. Para comprar Bitcoin, crie ou mude para sua carteira Bitcoin",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_ru.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "В настоящее время мы поддерживаем только покупку Bitcoin. Чтобы купить Bitcoin, создайте или переключитесь на ваш Bitcoin кошелек",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_uk.arb
+2
-2
@@ -473,6 +473,6 @@
473
474
"buy_alert_content" : "На даний час ми підтримуємо тільки покупку Bitcoin. Щоб купити Bitcoin, будь ласка, створіть або переключіться на ваш Bitcoin гаманець",
475
476
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
477
- "understand" : "I undersand"
476
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
477
+ "understand" : "I understand"
478
}
\ No newline at end of file
res/values/strings_zh.arb
+2
-2
@@ -470,6 +470,6 @@
470
"submit_request" : "提交请求",
471
"buy_alert_content" : "目前,我們僅支持購買比特幣。 要購買比特幣,請創建或切換到您的比特幣錢包",
472
473
- "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have the 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-seed wallet and stop using wallets with the 12-word seed. Please do this immediately to secure your funds.",
474
- "understand" : "I undersand"
473
+ "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
474
+ "understand" : "I understand"
475
}
\ No newline at end of file