Change base networks from btc to xmr, e.g. BTC_REGTEST -> XMR_STAGENET (#55)

change base networks from btc to xmr, e.g. BTC_REGTEST -> XMR_STAGENET

add xmr seed node files
This commit is contained in:
woodser 2021-05-08 13:57:32 -04:00 committed by GitHub
parent de5bbf4a85
commit 9903821b18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 353 additions and 181 deletions

View file

@ -19,16 +19,13 @@ package bisq.asset;
/**
* Abstract base class for {@link Asset}s with their own dedicated blockchain, such as
* {@link bisq.asset.coins.Bitcoin} itself or one of its many derivatives, competitors and
* alternatives, often called "altcoins", such as {@link bisq.asset.coins.Litecoin},
* {@link bisq.asset.coins.Ether}, {@link bisq.asset.coins.Monero} and
* {@link bisq.asset.coins.Zcash}.
* {@link bisq.asset.coins.Bitcoin}, {@link bisq.asset.coins.Ether}, and {@link bisq.asset.coins.Monero}.
* <p>
* In addition to the usual {@code Asset} properties, a {@code Coin} maintains information
* about which {@link Network} it may be used on. By default, coins are constructed with
* the assumption they are for use on that coin's "main network", or "main blockchain",
* i.e. that they are "real" coins for use in a production environment. In testing
* scenarios, however, a coin may be constructed for use only on "testnet" or "regtest"
* scenarios, however, a coin may be constructed for use only on "testnet" or "stagenet"
* networks.
*
* @author Chris Beams
@ -36,7 +33,7 @@ package bisq.asset;
*/
public abstract class Coin extends AbstractAsset {
public enum Network { MAINNET, TESTNET, REGTEST }
public enum Network { MAINNET, TESTNET, STAGENET }
private final Network network;

View file

@ -52,7 +52,7 @@ public class BSQ extends Coin {
public static class Regtest extends BSQ {
public Regtest() {
super(Network.REGTEST, RegTestParams.get());
super(Network.STAGENET, RegTestParams.get());
}
}

View file

@ -51,7 +51,7 @@ public abstract class Bitcoin extends Coin {
public static class Regtest extends Bitcoin {
public Regtest() {
super(Network.REGTEST, RegTestParams.get());
super(Network.STAGENET, RegTestParams.get());
}
}
}