mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
fix ppc testnet port and map coins to nodes instead oif manually
This commit is contained in:
parent
5b573c579c
commit
5cda658bd2
1 changed files with 4 additions and 26 deletions
|
@ -17,31 +17,9 @@ abstract class DefaultNodes {
|
||||||
static const String defaultName = "Stack Default";
|
static const String defaultName = "Stack Default";
|
||||||
|
|
||||||
@Deprecated("old and decrepit")
|
@Deprecated("old and decrepit")
|
||||||
static List<NodeModel> get all => [
|
static List<NodeModel> get all => Coin.values
|
||||||
bitcoin,
|
.map((e) => DefaultNodes.getNodeFor(e))
|
||||||
litecoin,
|
.toList(growable: false);
|
||||||
dogecoin,
|
|
||||||
firo,
|
|
||||||
monero,
|
|
||||||
eCash,
|
|
||||||
epicCash,
|
|
||||||
ethereum,
|
|
||||||
bitcoincash,
|
|
||||||
namecoin,
|
|
||||||
wownero,
|
|
||||||
particl,
|
|
||||||
peercoin,
|
|
||||||
stellar,
|
|
||||||
nano,
|
|
||||||
banano,
|
|
||||||
tezos,
|
|
||||||
bitcoinTestnet,
|
|
||||||
litecoinTestNet,
|
|
||||||
bitcoincashTestnet,
|
|
||||||
dogecoinTestnet,
|
|
||||||
firoTestnet,
|
|
||||||
stellarTestnet,
|
|
||||||
];
|
|
||||||
|
|
||||||
static NodeModel get bitcoin => NodeModel(
|
static NodeModel get bitcoin => NodeModel(
|
||||||
host: "bitcoin.stackwallet.com",
|
host: "bitcoin.stackwallet.com",
|
||||||
|
@ -325,7 +303,7 @@ abstract class DefaultNodes {
|
||||||
|
|
||||||
static NodeModel get peercoinTestNet => NodeModel(
|
static NodeModel get peercoinTestNet => NodeModel(
|
||||||
host: "testnet-electrum.peercoinexplorer.net",
|
host: "testnet-electrum.peercoinexplorer.net",
|
||||||
port: 50009,
|
port: 50002,
|
||||||
name: DefaultNodes.defaultName,
|
name: DefaultNodes.defaultName,
|
||||||
id: DefaultNodes.buildId(Coin.peercoinTestNet),
|
id: DefaultNodes.buildId(Coin.peercoinTestNet),
|
||||||
useSSL: true,
|
useSSL: true,
|
||||||
|
|
Loading…
Reference in a new issue