package com.mygeopay.core.coins;
import com.mygeopay.core.coins.families.BitFamily;
import com.mygeopay.core.coins.families.PeerFamily;
import org.bitcoinj.core.Coin;
/**
* @author FuzzyHobbit
*/
public class RubycoinMain extends CoinType {
private RubycoinMain() {
id = "rubycoin.main";
addressHeader = 60;
p2shHeader = 85;
acceptableAddressCodes = new int[] { addressHeader, p2shHeader };
spendableCoinbaseDepth = 50;
family = PeerFamily.get();
name = "RBY";
fullname = "Rubycoin";
symbol = "RBY";
uriScheme = "rubycoin";
bip44Index = 16;
unitExponent = 8;
feePerKb = value(10000); // 0.0001 RBY
minNonDust = value(1);
softDustLimit = value(1000000); // 0.01 RBY
softDustPolicy = SoftDustPolicy.AT_LEAST_BASE_FEE_IF_SOFT_DUST_TXO_PRESENT;
}
private static RubycoinMain instance = new RubycoinMain();
public static synchronized RubycoinMain get() {
return instance;
}
}