public class TestNet3Params extends AbstractBitcoinNetParams
NetworkParameters.ProtocolVersion
BITCOIN_SCHEME
acceptableAddressCodes, addressHeader, addrSeeds, alertSigningKey, BIP16_ENFORCE_TIME, bip32HeaderPriv, bip32HeaderPub, 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, spendableCoinbaseDepth, subsidyDecreaseBlockCount, TARGET_SPACING, TARGET_TIMESPAN, targetTimespan
Constructor and Description |
---|
TestNet3Params() |
Modifier and Type | Method and Description |
---|---|
void |
checkDifficultyTransitions(StoredBlock storedPrev,
Block nextBlock,
BlockStore blockStore)
Throws an exception if the block's difficulty is not correct.
|
static TestNet3Params |
get() |
String |
getPaymentProtocolId() |
getMaxMoney, getMinNonDustOutput, getMonetaryFormat, getProtocolVersionNum, getSerializer, getUriScheme, hasMaxMoney, isDifficultyTransitionPoint
allowEmptyPeerChain, equals, fromID, fromPmtProtocolID, getAcceptableAddressCodes, getAddressHeader, getAddrSeeds, getAlertSigningKey, getBip32HeaderPriv, getBip32HeaderPub, getBlockVerificationFlags, getDefaultSerializer, getDnsSeeds, getDumpedPrivateKeyHeader, getGenesisBlock, getHttpSeeds, getId, getInterval, getMajorityEnforceBlockUpgrade, getMajorityRejectBlockOutdated, getMajorityWindow, getMaxTarget, getP2SHHeader, getPacketMagic, getPort, getSpendableCoinbaseDepth, getSubsidyDecreaseBlockCount, getTargetTimespan, getTransactionVerificationFlags, hashCode, isCheckpoint, passesCheckpoint, prodNet, regTests, testNet, testNet2, testNet3, unitTests
public static TestNet3Params get()
public String getPaymentProtocolId()
getPaymentProtocolId
in class NetworkParameters
public void checkDifficultyTransitions(StoredBlock storedPrev, Block nextBlock, BlockStore blockStore) throws VerificationException, BlockStoreException
NetworkParameters
checkDifficultyTransitions
in class AbstractBitcoinNetParams
VerificationException
- if the block's difficulty is not correct.BlockStoreException
Copyright © 2016. All rights reserved.