com.google.bitcoin.params
Class TestNet2Params

java.lang.Object
  extended by com.google.bitcoin.core.NetworkParameters
      extended by com.google.bitcoin.params.TestNet2Params
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RegTestParams

public class TestNet2Params
extends NetworkParameters

Parameters for the old version 2 testnet. This is not useful to you - it exists only because some unit tests are based on it.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.bitcoin.core.NetworkParameters
acceptableAddressCodes, addressHeader, alertSigningKey, BIP16_ENFORCE_TIME, checkpoints, dnsSeeds, dumpedPrivateKeyHeader, genesisBlock, id, ID_MAINNET, ID_TESTNET, ID_UNITTESTNET, interval, INTERVAL, MAX_MONEY, p2shHeader, packetMagic, PAYMENT_PROTOCOL_ID_MAINNET, PAYMENT_PROTOCOL_ID_TESTNET, port, proofOfWorkLimit, PROTOCOL_VERSION, SATOSHI_KEY, spendableCoinbaseDepth, subsidyDecreaseBlockCount, TARGET_SPACING, TARGET_TIMESPAN, targetTimespan
 
Constructor Summary
TestNet2Params()
           
 
Method Summary
static TestNet2Params get()
           
 String getPaymentProtocolId()
           
 
Methods inherited from class com.google.bitcoin.core.NetworkParameters
allowEmptyPeerChain, equals, fromID, fromPmtProtocolID, getAcceptableAddressCodes, getAddressHeader, getAlertSigningKey, getDnsSeeds, getDumpedPrivateKeyHeader, getGenesisBlock, getId, getInterval, getP2SHHeader, getPacketMagic, getPort, getProofOfWorkLimit, getSpendableCoinbaseDepth, getSubsidyDecreaseBlockCount, getTargetTimespan, hashCode, isCheckpoint, passesCheckpoint, prodNet, regTests, testNet, testNet2, testNet3, unitTests
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNet2Params

public TestNet2Params()
Method Detail

get

public static TestNet2Params get()

getPaymentProtocolId

public String getPaymentProtocolId()
Specified by:
getPaymentProtocolId in class NetworkParameters


Copyright © 2014. All rights reserved.