teor
|
bcabf75fe9
|
Replace integer lengths with named constants
|
2020-12-01 07:27:30 +10:00 |
teor
|
e07b0bc8da
|
Implement median_time
And enough stubs to run it on real data.
|
2020-12-01 07:27:30 +10:00 |
teor
|
741c44cd55
|
Implement mean_target_difficulty
And enough stub code to actually run it on the context.
|
2020-12-01 07:27:30 +10:00 |
teor
|
939c2b97a6
|
Implement AdjustedDifficulty creation
Also:
* call the difficulty check from `block_is_contextually_valid`
* add a stub `difficulty_threshold_is_valid` function
|
2020-12-01 07:27:30 +10:00 |