aboutsummaryrefslogtreecommitdiffstats
path: root/BasicTests/difficulty.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-08-05 15:55:31 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-08-05 15:55:31 +0800
commit792bf6647aea1f28e5b9c26d71a80e8d820cf38b (patch)
tree967cd4c2267644e17ae29693518823eee10f6b7c /BasicTests/difficulty.json
parent34c6cc54133651a2f44a6eb75a8e481275d7f154 (diff)
downloaddexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar
dexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.gz
dexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.bz2
dexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.lz
dexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.xz
dexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.zst
dexon-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.zip
add more difficulty test
Diffstat (limited to 'BasicTests/difficulty.json')
-rw-r--r--BasicTests/difficulty.json51
1 files changed, 50 insertions, 1 deletions
diff --git a/BasicTests/difficulty.json b/BasicTests/difficulty.json
index e59f5f2b4..bf60d9fe8 100644
--- a/BasicTests/difficulty.json
+++ b/BasicTests/difficulty.json
@@ -1,9 +1,58 @@
{
- "preExpDiff" : {
+ "preExpDiffIncrease" : {
"parentTimestamp" : "42",
"parentDifficulty" : "1000000",
"currentTimestamp" : "43",
"currentBlockNumber" : "42",
"currentDifficulty" : "1000488"
+ },
+ "preExpDiffDecrease" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "60",
+ "currentBlockNumber" : "42",
+ "currentDifficulty" : "999512"
+ },
+ "ExpDiffAtBlock200000Increase" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "43",
+ "currentBlockNumber" : "200000",
+ "currentDifficulty" : "1000488"
+ },
+ "ExpDiffAtBlock200000Decrease" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "60",
+ "currentBlockNumber" : "200000",
+ "currentDifficulty" : "999512"
+ },
+ "ExpDiffPostBlock200000Increase" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "43",
+ "currentBlockNumber" : "200001",
+ "currentDifficulty" : "1000488"
+ },
+ "ExpDiffPostBlock200000Decrease" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "60",
+ "currentBlockNumber" : "200001",
+ "currentDifficulty" : "999512"
+ },
+ "ExpDiffInAYearIncrease" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "43",
+ "currentBlockNumber" : "2302400",
+ "currentDifficulty" : "1000488"
+ },
+ "ExpDiffInAYearDecrease" : {
+ "parentTimestamp" : "42",
+ "parentDifficulty" : "1000000",
+ "currentTimestamp" : "60",
+ "currentBlockNumber" : "2302400",
+ "currentDifficulty" : "999512"
}
}