Module Layout.Evaluation

type t = {
message : Message.t;
public_key : Signature_lib.Public_key.t;
c : Scalar.t;
s : Scalar.t;
scaled_message_hash : Group.t;
vrf_threshold : Threshold.t option;
vrf_output : Output.Truncated.t option;
vrf_output_fractional : float option;
threshold_met : bool option;
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val to_evaluation_and_context : t -> evaluation * context
val of_evaluation_and_context : (evaluation * context) -> t
val of_message_and_sk : constraint_constants:Genesis_constants.Constraint_constants.t -> Message.t -> Signature_lib.Private_key.t -> t
val to_vrf : constraint_constants:Genesis_constants.Constraint_constants.t -> t -> Snark_params.Tick.Field.t option
val compute_vrf : constraint_constants:Genesis_constants.Constraint_constants.t -> ?delegated_stake:Currency.Balance.t -> ?total_stake:Currency.Amount.t -> t -> t