NetworkParameters: Remove deprecated static methods.

This commit is contained in:
Andreas Schildbach
2019-02-21 23:56:08 +01:00
parent 0004ea4c35
commit 5749e3796d

View File

@@ -158,36 +158,6 @@ public abstract class NetworkParameters {
*/
public static final Coin MAX_MONEY = COIN.multiply(MAX_COINS);
/** Alias for TestNet3Params.get(), use that instead. */
@Deprecated
public static NetworkParameters testNet() {
return TestNet3Params.get();
}
/** Alias for TestNet3Params.get(), use that instead. */
@Deprecated
public static NetworkParameters testNet3() {
return TestNet3Params.get();
}
/** Alias for MainNetParams.get(), use that instead */
@Deprecated
public static NetworkParameters prodNet() {
return MainNetParams.get();
}
/** Returns a testnet params modified to allow any difficulty target. */
@Deprecated
public static NetworkParameters unitTests() {
return UnitTestParams.get();
}
/** Returns a standard regression test params (similar to unitTests) */
@Deprecated
public static NetworkParameters regTests() {
return RegTestParams.get();
}
/**
* A Java package style string acting as unique ID for these parameters
*/