mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
Merge branch 'staging' into update-btc-blk-explr
This commit is contained in:
commit
0c42cc818e
6 changed files with 8 additions and 10 deletions
|
@ -46,11 +46,9 @@ class _AddWalletViewState extends State<AddWalletView> {
|
||||||
_searchFieldController = TextEditingController();
|
_searchFieldController = TextEditingController();
|
||||||
_searchFocusNode = FocusNode();
|
_searchFocusNode = FocusNode();
|
||||||
coins.remove(Coin.firoTestNet);
|
coins.remove(Coin.firoTestNet);
|
||||||
if (isDesktop) {
|
if (Platform.isWindows) {
|
||||||
|
coins.remove(Coin.monero);
|
||||||
coins.remove(Coin.wownero);
|
coins.remove(Coin.wownero);
|
||||||
if (Platform.isWindows) {
|
|
||||||
coins.remove(Coin.monero);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
super.initState();
|
super.initState();
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,12 +54,10 @@ class _NodesSettings extends ConsumerState<NodesSettings> {
|
||||||
void initState() {
|
void initState() {
|
||||||
_coins = _coins.toList();
|
_coins = _coins.toList();
|
||||||
_coins.remove(Coin.firoTestNet);
|
_coins.remove(Coin.firoTestNet);
|
||||||
if (isDesktop) {
|
|
||||||
_coins.remove(Coin.wownero);
|
|
||||||
if (Platform.isWindows) {
|
if (Platform.isWindows) {
|
||||||
_coins.remove(Coin.monero);
|
_coins.remove(Coin.monero);
|
||||||
|
_coins.remove(Coin.wownero);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
searchNodeController = TextEditingController();
|
searchNodeController = TextEditingController();
|
||||||
searchNodeFocusNode = FocusNode();
|
searchNodeFocusNode = FocusNode();
|
||||||
|
|
|
@ -45,7 +45,7 @@ import 'package:stackwallet/utilities/prefs.dart';
|
||||||
import 'package:tuple/tuple.dart';
|
import 'package:tuple/tuple.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
const int MINIMUM_CONFIRMATIONS = 1;
|
const int MINIMUM_CONFIRMATIONS = 0;
|
||||||
const int DUST_LIMIT = 546;
|
const int DUST_LIMIT = 546;
|
||||||
|
|
||||||
const String GENESIS_HASH_MAINNET =
|
const String GENESIS_HASH_MAINNET =
|
||||||
|
|
|
@ -15,6 +15,7 @@ import 'package:stackwallet/services/coins/particl/particl_wallet.dart'
|
||||||
as particl;
|
as particl;
|
||||||
import 'package:stackwallet/services/coins/wownero/wownero_wallet.dart' as wow;
|
import 'package:stackwallet/services/coins/wownero/wownero_wallet.dart' as wow;
|
||||||
import 'package:stackwallet/utilities/constants.dart';
|
import 'package:stackwallet/utilities/constants.dart';
|
||||||
|
import 'dart:io' show Platform;
|
||||||
|
|
||||||
enum Coin {
|
enum Coin {
|
||||||
bitcoin,
|
bitcoin,
|
||||||
|
@ -41,6 +42,7 @@ enum Coin {
|
||||||
}
|
}
|
||||||
|
|
||||||
final int kTestNetCoinCount = 4; // Util.isDesktop ? 5 : 4;
|
final int kTestNetCoinCount = 4; // Util.isDesktop ? 5 : 4;
|
||||||
|
// remove firotestnet for now
|
||||||
|
|
||||||
extension CoinExt on Coin {
|
extension CoinExt on Coin {
|
||||||
String get prettyName {
|
String get prettyName {
|
||||||
|
|
|
@ -11,7 +11,7 @@ description: Stack Wallet
|
||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 1.6.4+146
|
version: 1.6.5+147
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.17.0 <3.0.0"
|
sdk: ">=2.17.0 <3.0.0"
|
||||||
|
|
|
@ -25,7 +25,7 @@ import 'bitcoincash_wallet_test_parameters.dart';
|
||||||
void main() async {
|
void main() async {
|
||||||
group("bitcoincash constants", () {
|
group("bitcoincash constants", () {
|
||||||
test("bitcoincash minimum confirmations", () async {
|
test("bitcoincash minimum confirmations", () async {
|
||||||
expect(MINIMUM_CONFIRMATIONS, 1);
|
expect(MINIMUM_CONFIRMATIONS, 0);
|
||||||
});
|
});
|
||||||
test("bitcoincash dust limit", () async {
|
test("bitcoincash dust limit", () async {
|
||||||
expect(DUST_LIMIT, 546);
|
expect(DUST_LIMIT, 546);
|
||||||
|
|
Loading…
Reference in a new issue