net.osslabz.bitcoin.NetworkParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitcoin-commons Show documentation
Show all versions of bitcoin-commons Show documentation
This package decouples my bitcoin related libraries from the underlying implementation although it
seems unlikely this will ever
change ;-)
The newest version!
package net.osslabz.bitcoin;
import org.bitcoinj.core.NetworkParameters;
public class NetworkParams {
public static final NetworkParameters NETWORK_PARAMETERS_MAIN_NET = NetworkParameters.fromID(NetworkParameters.ID_MAINNET);
public static final NetworkParameters NETWORK_PARAMETERS_REG_NET = NetworkParameters.fromID(NetworkParameters.ID_REGTEST);
public static final NetworkParameters TESTNET_PARAMETERS_TEST_NET = NetworkParameters.fromID(NetworkParameters.ID_TESTNET);
private NetworkParams() {
}
}