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
According to the #287 I need some Circuit constructor.
I prefer this API:
/// Constructs a `Circuit` from the following components:/// - `merkle_path`: a merkle path witness of the `input_note`/// - `input_note`: a note spent in scope of of the action/// - `output_note`: a note created in scope of the action/// - `fvk`: full viewing key owning the `input_note`/// - `alpha`: a scalar used for randomization of the action spend validating key/// - `rcv`: trapdoor of the action value commitment////// Returns `None` if the `input_note` is not owned by the `fvk`.pubfnfrom_action_context(merkle_path: tree::MerklePath,input_note:Note,output_note:Note,fvk:FullViewingKey,alpha: pallas::Scalar,rcv:ValueCommitTrapdoor,) -> Option<Circuit>;
Also some ValueCommitTrapdoor and Note constructors will be necessary.
I will add ValueCommitTrapdoor::from_bytes([u8; 32]) -> CtOption<Self>.
According to the #287 I need some
Circuit
constructor.I prefer this API:
Also some
ValueCommitTrapdoor
andNote
constructors will be necessary.I will add
ValueCommitTrapdoor::from_bytes([u8; 32]) -> CtOption<Self>
.Note
constructor can be resolved via #344The text was updated successfully, but these errors were encountered: