BlockChain.isTestNet now BlockChain.isTestChain.

Added Settings.isTestNet.

Disabled ArbitraryDataManager for now.
This commit is contained in:
catbref
2019-06-17 13:31:37 +01:00
parent 1d81c4db6b
commit 915eebb8e5
11 changed files with 41 additions and 31 deletions

View File

@@ -53,7 +53,7 @@ public class SettingsTests {
BlockChain blockchain = unmarshaller.unmarshal(json, BlockChain.class).getValue();
System.out.println("BlockChain settings:");
System.out.println(String.format("TestNet: %s", yn(blockchain.isTestNet())));
System.out.println(String.format("TestChain: %s", yn(blockchain.isTestChain())));
}
}

View File

@@ -1,5 +1,5 @@
{
"isTestNet": true,
"isTestChain": true,
"maxBalance": "10000000000",
"blockDifficultyInterval": 10,
"minBlockTime": 30,

View File

@@ -1,5 +1,5 @@
{
"isTestNet": true,
"isTestChain": true,
"maxBalance": "10000000000",
"blockDifficultyInterval": 10,
"minBlockTime": 30,