/
CryptoescudoMain.java
executable file
·37 lines (31 loc) · 1.26 KB
/
CryptoescudoMain.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.mygeopay.core.coins;
import com.mygeopay.core.coins.families.BitFamily;
import org.bitcoinj.core.Coin;
/**
* @author Geopay.me
*/
public class CryptoescudoMain extends CoinType {
private CryptoescudoMain() {
id = "cryptoescudo.main";
addressHeader = 28;
p2shHeader = 88;
acceptableAddressCodes = new int[] { addressHeader, p2shHeader };
spendableCoinbaseDepth = 40; // COINBASE_MATURITY = 40 - cryptoescudo/src/main.h
dumpedPrivateKeyHeader = 156; // 128 + addressHeader[28] = 156
family = BitFamily.get();
name = "CESC (α)"; // A Portuguese Cryptocoin
fullname = "CryptoEscudo";
symbol = "CESC";
uriScheme = "cryptoescudo";
bip44Index = 111; // TODO Need confirmation in Satoshi Labs
unitExponent = 8;
feePerKb = value(100000); // 0 Zerado para testes normal 100 000 value(100000000L)
minNonDust = value(1000); // 0.00001 CESC mininput
softDustLimit = value(100000); // 0 CESC value(100000000L)
softDustPolicy = SoftDustPolicy.BASE_FEE_FOR_EACH_SOFT_DUST_TXO;
}
private static CryptoescudoMain instance = new CryptoescudoMain();
public static synchronized CryptoescudoMain get() {
return instance;
}
}