public class MainNetParams extends AbstractBitcoinNetParams
NetworkParameters.ProtocolVersion
Modifier and Type | Field and Description |
---|---|
static int |
MAINNET_MAJORITY_ENFORCE_BLOCK_UPGRADE |
static int |
MAINNET_MAJORITY_REJECT_BLOCK_OUTDATED |
static int |
MAINNET_MAJORITY_WINDOW |
BITCOIN_SCHEME, REWARD_HALVING_INTERVAL
addressHeader, addrSeeds, alertSigningKey, BIP16_ENFORCE_TIME, bip32HeaderP2PKHpriv, bip32HeaderP2PKHpub, bip32HeaderP2WPKHpriv, bip32HeaderP2WPKHpub, checkpoints, defaultSerializer, dnsSeeds, dumpedPrivateKeyHeader, genesisBlock, httpSeeds, id, ID_MAINNET, ID_REGTEST, ID_TESTNET, ID_UNITTESTNET, interval, INTERVAL, majorityEnforceBlockUpgrade, majorityRejectBlockOutdated, majorityWindow, MAX_COINS, MAX_MONEY, maxTarget, p2shHeader, packetMagic, PAYMENT_PROTOCOL_ID_MAINNET, PAYMENT_PROTOCOL_ID_REGTEST, PAYMENT_PROTOCOL_ID_TESTNET, PAYMENT_PROTOCOL_ID_UNIT_TESTS, port, SATOSHI_KEY, segwitAddressHrp, spendableCoinbaseDepth, subsidyDecreaseBlockCount, TARGET_SPACING, TARGET_TIMESPAN, targetTimespan
Constructor and Description |
---|
MainNetParams() |
Modifier and Type | Method and Description |
---|---|
static MainNetParams |
get() |
java.lang.String |
getPaymentProtocolId() |
checkDifficultyTransitions, getMaxMoney, getMinNonDustOutput, getMonetaryFormat, getProtocolVersionNum, getSerializer, getUriScheme, hasMaxMoney, isDifficultyTransitionPoint, isRewardHalvingPoint
allowEmptyPeerChain, equals, fromID, fromPmtProtocolID, getAddressHeader, getAddrSeeds, getAlertSigningKey, getBip32HeaderP2PKHpriv, getBip32HeaderP2PKHpub, getBip32HeaderP2WPKHpriv, getBip32HeaderP2WPKHpub, getBlockVerificationFlags, getDefaultSerializer, getDnsSeeds, getDumpedPrivateKeyHeader, getGenesisBlock, getHttpSeeds, getId, getInterval, getMajorityEnforceBlockUpgrade, getMajorityRejectBlockOutdated, getMajorityWindow, getMaxTarget, getP2SHHeader, getPacketMagic, getPort, getSegwitAddressHrp, getSpendableCoinbaseDepth, getSubsidyDecreaseBlockCount, getTargetTimespan, getTransactionVerificationFlags, hashCode, isCheckpoint, passesCheckpoint
public static final int MAINNET_MAJORITY_WINDOW
public static final int MAINNET_MAJORITY_REJECT_BLOCK_OUTDATED
public static final int MAINNET_MAJORITY_ENFORCE_BLOCK_UPGRADE
public static MainNetParams get()
public java.lang.String getPaymentProtocolId()
getPaymentProtocolId
in class NetworkParameters