Runtime_configmodule Fork_config : sig ... endmodule Json_layout : sig ... endJSON representation:
"daemon":
{ "txpool_max_size": 1
, "peer_list_url": "https://www.example.com/peer-list.txt" , "genesis": "k": 1, "delta": 1 , "proof": "level": "check"
, "sub_windows_per_window": 8
, "ledger_depth": 14
, "work_delay": 2
, "block_window_duration_ms": 120000
, "transaction_capacity": {"txns_per_second_x10": 2 , "coinbase_amount": "200" , "supercharged_coinbase_factor": 2 , "account_creation_fee": "0.001"
}
, "ledger": "name": "release"
, "accounts":
[ { "pk": "public_key"
, "sk": "secret_key"
, "balance": "0.000600000"
, "delegate": "public_key" , "pk": "public_key"
, "sk": "secret_key"
, "balance": "0.000000000"
, "delegate": "public_key" ] , "hash": "root_hash" , "num_accounts": 10 , "genesis_state_timestamp": "2000-00-00 12:00:00+0100"
}
}
All fields are optional *except*: * each account in ledger.accounts must have a balance field * if ledger is present, it must feature one of name, accounts or hash.
module Accounts : sig ... endmodule Ledger : sig ... endmodule Proof_keys : sig ... endmodule Genesis : sig ... endmodule Daemon : sig ... endmodule Epoch_data : sig ... endtype t = {daemon : Daemon.t option; |
genesis : Genesis.t option; |
proof : Proof_keys.t option; |
ledger : Ledger.t option; |
epoch_data : Epoch_data.t option; |
}val __bin_read_t__ : ( int -> t ) Core_kernel.Bin_prot.Read.readerval bin_read_t : t Core_kernel.Bin_prot.Read.readerval bin_reader_t : t Core_kernel.Bin_prot.Type_class.readerval bin_size_t : t Core_kernel.Bin_prot.Size.sizerval bin_write_t : t Core_kernel.Bin_prot.Write.writerval bin_writer_t : t Core_kernel.Bin_prot.Type_class.writerval bin_t : t Core_kernel.Bin_prot.Type_class.tval to_json_layout : t -> Json_layout.tval of_json_layout : Json_layout.t -> ( t, string ) Core_kernel__Result.tval to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> ( t, string ) Core_kernel.Result.tval default : tmodule Test_configs : sig ... end