Genesis_ledger_helper.Ledger
val named_filename :
constraint_constants:Genesis_constants.Constraint_constants.t ->
num_accounts:Core.Int.t option ->
balances:(int * Currency.Balance.Stable.Latest.t) Core.List.t ->
ledger_name_prefix:string ->
?other_data:string ->
string ->
string
val accounts_hash : Runtime_config.Accounts.t -> string
val find_tar :
logger:Logger.t ->
genesis_dir:Core_kernel__.Import.string ->
constraint_constants:Genesis_constants.Constraint_constants.t ->
ledger_name_prefix:Core_kernel__.Import.string ->
Runtime_config.Ledger.t ->
Core_kernel__.Import.string option Async_kernel__Deferred.t
val load_from_tar :
?genesis_dir:Core_kernel__.Import.string ->
logger:Logger.t ->
constraint_constants:Genesis_constants.Constraint_constants.t ->
?accounts:
(Signature_lib.Private_key.t option * Mina_base.Account.t) list
Core_kernel.Lazy.t ->
ledger_name_prefix:Core_kernel__.Import.string ->
Core_kernel__.Import.string ->
Genesis_ledger.Packed.t Core_kernel.Or_error.t Async_kernel__Deferred.t
val generate_tar :
genesis_dir:Core_kernel__.Import.string ->
logger:Logger.t ->
ledger_name_prefix:Core_kernel__.Import.string ->
Mina_ledger.Ledger.Mask.Attached.t ->
Core_kernel__.Import.string Core_kernel.Or_error.t Async_kernel__Deferred.t
val padded_accounts_from_runtime_config_opt :
logger:Logger.t ->
proof_level:Genesis_constants.Proof_level.t ->
ledger_name_prefix:string ->
Runtime_config.Ledger.t ->
(Signature_lib.Private_key.t option * Mina_base.Account.t) list Core.Lazy.t
option
val packed_genesis_ledger_of_accounts :
depth:int ->
(Signature_lib.Private_key.t option * Mina_base.Account.t) list
Core_kernel.Lazy.t ->
Genesis_ledger.Packed.t
val load :
proof_level:Genesis_constants.Proof_level.t ->
genesis_dir:Core_kernel__.Import.string ->
logger:Logger.t ->
constraint_constants:Genesis_constants.Constraint_constants.t ->
?ledger_name_prefix:Core_kernel__.Import.string ->
Runtime_config.Ledger.t ->
(Genesis_ledger.Packed.t
* Runtime_config.Ledger.t
* Core_kernel__.Import.string)
Core_kernel.Or_error.t
Async.Monitor.Deferred.t