zend_oo icon indicating copy to clipboard operation
zend_oo copied to clipboard

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

Open cronicc opened this issue 3 years ago • 0 comments

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,

cronicc avatar Jul 30 '21 17:07 cronicc