Skip to content

A framework to simulate and test PoW block time control algorithm.

License

Notifications You must be signed in to change notification settings

yangfh2004/block-time-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block Time Simulator

A framework to simulate and test control algorithms for PoW block time.

Introduction

This tool can be used to accurately back-test and predict block time or block generation rate only using hash rate data and its corresponding timestamp (e.g. daily average hash rate).

Bitcoin Test Results

Using this framework to simulate the daily block generation and daily average mining difficulty against the actual historical data as shown below.

The MSE of block count is 2.70 blocks daily. plot

The MSE of difficulty is 2.33% plot

Data Source

The daily hash rate is the sum of hash rate of all major mining pools.

Releases

No releases published

Packages

No packages published

Languages