You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fully implement #6408 we need to provide the ivpk and ovpk to the compute_encrypted_log function.
This can be implemented before #6410 and #6093 since the ovpk could be ignored temporarily to get the setup going.
We are currently providing the ivpk but the manner in which it is fetched is sub-optimal. At the moment, the ivpk is fetched inside the broadcast function of the notes, which push them to only retrieve it based on information inside the note itself.
This is not ideal, as the ivpk might be totally unrelated to the actor that can actually nullify the note, see #5864.
Instead, we should update the interface of broadcast
To fully implement #6408 we need to provide the
ivpk
andovpk
to thecompute_encrypted_log
function.This can be implemented before #6410 and #6093 since the
ovpk
could be ignored temporarily to get the setup going.We are currently providing the
ivpk
but the manner in which it is fetched is sub-optimal. At the moment, theivpk
is fetched inside thebroadcast
function of the notes, which push them to only retrieve it based on information inside the note itself.This is not ideal, as the
ivpk
might be totally unrelated to the actor that can actually nullify the note, see #5864.Instead, we should update the interface of
broadcast
And the
lifecycle::create_note
toWhere the
broadcast
is always called, instead of being optional as before.This way we will get all the information we need without needing to depend on all the information being in the note itself.
It requires some updates to the storage implementations and when they are used.
The text was updated successfully, but these errors were encountered: