From 792bf6647aea1f28e5b9c26d71a80e8d820cf38b Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Wed, 5 Aug 2015 09:55:31 +0200 Subject: add more difficulty test --- BasicTests/difficulty.json | 51 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) (limited to 'BasicTests/difficulty.json') 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" } } -- cgit v1.2.3