HorizenOfficial / zend_oo

This repository is archived, Zendoo is out of beta and has been included in https://github.com/HorizenOfficial/zen.
https://github.com/HorizenOfficial/zen
Other
34 stars 22 forks source link

Add a K:V pair to getscinfo that shows the number of blocks of the certificate submission window #167

Open cronicc opened 3 years ago

cronicc commented 3 years ago

Exposing the length of the certificate submission window (currently 20% of epoch length) in getscinfo would be beneficial. It's possible to calculate it manually, but people might chose to do this in an unsafe way, for instance "ceasing height" - "end epoch height" would not work in case we are in the submission window and the SC has already advanced to the next epoch.

I'd propose "certSubmissionWindowLength": 20, similar to "withdrawalEpochLength": 100,