-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose functions to update stake in C API #43
Comments
This would be needed by Mithril nodes in order to cope with changes in stake distribution over time. Could alternatively be handled by recreating the data structures from different parameters? |
The problem of recreating the data structures from the different parameters, is that then the keys are re-generated. What we wanted is to be able to update the parameters of the I'm thinking that it might be of interest to consider a function that takes a seed to generate the |
In general, it seems to me it makes sense to be able to pass the keys, do you see any problem with that in general? If we have #44 then it would not be a problem right? Also, I could imagine node operators storing the keys elsewhere, perhaps in a HSM or KMS? |
I was initially inclined to not make it possible to unlink the key pair from the However, I'm starting to think that this might be a practical functionality. I'll open a different issue to track that. |
Currently the stake related to an
StmInitializer
orStmSigner
cannot be updated using the C API. Expose such functions.The text was updated successfully, but these errors were encountered: