Improve KES interface #81
Labels
consensus
issues related to ouroboros-consensus
priority high
issues/PRs that MUST be addressed. The release can't happen without this;
shelley testnet
issues/PRs that need to be done for the Shelley testnet
The KES interface (https://github.com/input-output-hk/cardano-base/blob/master/cardano-crypto-class/src/Cardano/Crypto/KES/Class.hs) should be improved:
Natural
in the mock implementation should benewtype
dupdateKES
should get an argument: the KES period to evolve to.We might after all have to skip some periods. For the mock, I can implement this as
But I don't know if this is correct in the general case: does
iterationCountKES
return the period or the iteration count? If the former, this is correct generally, though we still might want to make this part of the main API; in that case, this function should also be renamed, as it's not the iteration count. If the iteration count is something separate from the rest, this function is wrong, but in that case documentation should be improved to document what this is.The text was updated successfully, but these errors were encountered: