Module Genesis_constants.Constraint_constants

Constants that affect the constraint systems for proofs (and thus also key generation).

Care must be taken to ensure that these match against the proving/ verification keys when proof_level=Full, otherwise generated proofs will be invalid.

type t = {
sub_windows_per_window : int;
ledger_depth : int;
work_delay : int;
block_window_duration_ms : int;
transaction_capacity_log_2 : int;
pending_coinbase_depth : int;
coinbase_amount : Currency.Amount.Stable.Latest.t;
supercharged_coinbase_factor : int;
account_creation_fee : Currency.Fee.Stable.Latest.t;
fork : Fork_constants.t 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 bin_shape_t : Core_kernel.Bin_prot.Shape.t
val __bin_read_t__ : ( int -> t ) Core_kernel.Bin_prot.Read.reader
val bin_read_t : t Core_kernel.Bin_prot.Read.reader
val bin_reader_t : t Core_kernel.Bin_prot.Type_class.reader
val bin_size_t : t Core_kernel.Bin_prot.Size.sizer
val bin_write_t : t Core_kernel.Bin_prot.Write.writer
val bin_writer_t : t Core_kernel.Bin_prot.Type_class.writer
val bin_t : t Core_kernel.Bin_prot.Type_class.t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val equal : t -> t -> bool
val compare : t -> t -> int
val to_snark_keys_header : t -> Snark_keys_header.Constraint_constants.t
val compiled : t
val for_unit_tests : t