mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
Update comments on network parameter classes.
This commit is contained in:
parent
2d7ea57916
commit
de30a8e0c9
@ -44,7 +44,7 @@ import org.libdohj.core.AltcoinSerializer;
|
||||
import org.libdohj.core.AuxPoWNetworkParameters;
|
||||
|
||||
/**
|
||||
* Parameters for the main Dogecoin production network on which people trade goods and services.
|
||||
* Common parameters for Dogecoin networks.
|
||||
*/
|
||||
public abstract class AbstractDogecoinParams extends NetworkParameters implements AuxPoWNetworkParameters {
|
||||
/** Standard format for the DOGE denomination. */
|
||||
|
@ -21,7 +21,8 @@ import org.bitcoinj.core.Sha256Hash;
|
||||
import static com.google.common.base.Preconditions.checkState;
|
||||
|
||||
/**
|
||||
* Parameters for the main production network on which people trade goods and services.
|
||||
* Parameters for the main Dogecoin production network on which people trade
|
||||
* goods and services.
|
||||
*/
|
||||
public class DogecoinMainNetParams extends AbstractDogecoinParams {
|
||||
public static final int MAINNET_MAJORITY_WINDOW = 2000;
|
||||
|
@ -23,8 +23,9 @@ import org.spongycastle.util.encoders.Hex;
|
||||
import static com.google.common.base.Preconditions.checkState;
|
||||
|
||||
/**
|
||||
* Parameters for the testnet, a separate public instance of Bitcoin that has relaxed rules suitable for development
|
||||
* and testing of applications and new Bitcoin versions.
|
||||
* Parameters for the Dogecoin testnet, a separate public network that has
|
||||
* relaxed rules suitable for development and testing of applications and new
|
||||
* Dogecoin versions.
|
||||
*/
|
||||
public class DogecoinTestNet3Params extends AbstractDogecoinParams {
|
||||
public static final int TESTNET_MAJORITY_WINDOW = 1000;
|
||||
@ -35,7 +36,7 @@ public class DogecoinTestNet3Params extends AbstractDogecoinParams {
|
||||
public DogecoinTestNet3Params() {
|
||||
super(DIFFICULTY_CHANGE_TARGET);
|
||||
id = ID_DOGE_TESTNET;
|
||||
// Genesis hash is bb0a78264637406b6360aad926284d544d7049f45189db5664f3c4d07350559e
|
||||
|
||||
packetMagic = 0xfcc1b7dc;
|
||||
|
||||
maxTarget = Utils.decodeCompactBits(0x1e0fffffL);
|
||||
|
Loading…
Reference in New Issue
Block a user