Updated on 2026-08-14
This commit is contained in:
parent
fd2baa543e
commit
63043cf8a7
5 changed files with 8 additions and 8 deletions
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
Binary file not shown.
|
|
@ -15,7 +15,7 @@ android {
|
|||
applicationId "com.tangem.wallet"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 27
|
||||
versionCode 26
|
||||
versionCode 27
|
||||
versionName "0.85.5." + generateVersionName()
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package com.tangem.domain
|
||||
|
||||
enum class TestNode(val host: String, val port: Int) {
|
||||
enum class BitcoinTestNetNode(val host: String, val port: Int) {
|
||||
arihanc_com("testnetnode.arihanc.com", 51001),
|
||||
hsmiths_com("testnet.hsmiths.com", 53011),
|
||||
qtornado_com("testnet.qtornado.com", 51001),
|
||||
|
|
@ -2,7 +2,7 @@ package com.tangem.domain.wallet;
|
|||
|
||||
import android.net.Uri;
|
||||
|
||||
import com.tangem.domain.TestNode;
|
||||
import com.tangem.domain.BitcoinTestNetNode;
|
||||
import com.tangem.domain.cardReader.CardProtocol;
|
||||
import com.tangem.domain.cardReader.TLV;
|
||||
import com.tangem.util.BTCUtils;
|
||||
|
|
@ -61,20 +61,20 @@ public class BtcEngine extends CoinEngine {
|
|||
|
||||
|
||||
// public static String[] GetBitcoinTestNetServiceHosts() {
|
||||
// return new String[]{/*"testnetnode.arihanc.com"*/TestNode.hsmiths_com.getHost(), TestNode.qtornado_com.getHost(), TestNode.bauerj_eu.getHost()};
|
||||
// return new String[]{/*"testnetnode.arihanc.com"*/BitcoinTestNetNode.hsmiths_com.getHost(), BitcoinTestNetNode.qtornado_com.getHost(), BitcoinTestNetNode.bauerj_eu.getHost()};
|
||||
// }
|
||||
//
|
||||
// public static Integer[] GetBitcoinTestNetServicePorts() {
|
||||
// return new Integer[]{/*51001*/TestNode.hsmiths_com.getPort(), TestNode.qtornado_com.getPort(), TestNode.bauerj_eu.getPort()};
|
||||
// return new Integer[]{/*51001*/BitcoinTestNetNode.hsmiths_com.getPort(), BitcoinTestNetNode.qtornado_com.getPort(), BitcoinTestNetNode.bauerj_eu.getPort()};
|
||||
// }
|
||||
|
||||
|
||||
public static String[] GetBitcoinTestNetServiceHosts() {
|
||||
return new String[]{TestNode.bauerj_eu.getHost()};
|
||||
return new String[]{BitcoinTestNetNode.bauerj_eu.getHost()};
|
||||
}
|
||||
|
||||
public static Integer[] GetBitcoinTestNetServicePorts() {
|
||||
return new Integer[]{TestNode.bauerj_eu.getPort()};
|
||||
return new Integer[]{BitcoinTestNetNode.bauerj_eu.getPort()};
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
buildscript {
|
||||
|
||||
ext.kotlin_version = '1.2.41'
|
||||
ext.kotlin_version = '1.2.50'
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue