All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.osslabz.bitcoin.NetworkParams Maven / Gradle / Ivy

Go to download

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() {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy