commerceblock / federation

Federation client for Ocean signing nodes.
MIT License
4 stars 4 forks source link

blocksigning: catch up mode #52

Closed nkostoulas closed 4 years ago

nkostoulas commented 4 years ago

Speed up block signing when it falls behind. We can do this by calculating the expected block height (given the timestamp at block 1 and the current time) and if that is not equal to the current block height halve the current block creation interval until these match. An exception should be made for blocks that include inflation.