add todo for using bitcoinj network params

This commit is contained in:
woodser 2021-05-12 18:06:44 -04:00
parent 1e1a51c0cf
commit e6217c0038

View file

@ -26,7 +26,7 @@ import org.bitcoinj.utils.MonetaryFormat;
import lombok.Getter; import lombok.Getter;
public enum BaseCurrencyNetwork { public enum BaseCurrencyNetwork {
XMR_MAINNET(new XmrMainNetParams(), "XMR", "MAINNET", "Monero"), XMR_MAINNET(new XmrMainNetParams(), "XMR", "MAINNET", "Monero"), // TODO (woodser): network params are part of bitcoinj and shouldn't be needed. only used to get MonetaryFormat? replace with MonetaryFormat if so
XMR_TESTNET(new XmrTestNet3Params(), "XMR", "TESTNET", "Monero"), XMR_TESTNET(new XmrTestNet3Params(), "XMR", "TESTNET", "Monero"),
XMR_STAGENET(new XmrRegTestParams(), "XMR", "STAGENET", "Monero"), XMR_STAGENET(new XmrRegTestParams(), "XMR", "STAGENET", "Monero"),
BTC_DAO_TESTNET(RegTestParams.get(), "XMR", "STAGENET", "Monero"), BTC_DAO_TESTNET(RegTestParams.get(), "XMR", "STAGENET", "Monero"),