aboutsummaryrefslogtreecommitdiffstats
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
parent34c6cc54133651a2f44a6eb75a8e481275d7f154 (diff)
downloadtangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar
tangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.gz
tangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.bz2
tangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.lz
tangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.xz
tangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.tar.zst
tangerine-tests-792bf6647aea1f28e5b9c26d71a80e8d820cf38b.zip
add more difficulty test
-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"
}
}