Tezedge_context.Cinclude module type of struct include Tezos_context_tezedge.Context endmodule Tezedge = Tezos_context_tezedge.Context.Tezedgetype patch_context = t -> t Tezos_base.TzPervasives.tzresult Lwt.tand extra_payload = Tezos_context_tezedge.Context.extra_payload = {patch_context : patch_context option;base_path : string;}type tree = Tezedge.treeval mem_tree : t -> string list -> bool Lwt.tval find_raw : t -> string list -> bytes optionval find : t -> string list -> bytes option Lwt.tval find_tree : t -> string list -> Tezedge.tree option Lwt.tval list :
t ->
?offset:int ->
?length:int ->
string list ->
(string * Tezedge.tree) list Lwt.tval length : t -> string list -> int Lwt.tval add_tree : t -> string list -> Tezedge.tree -> t Lwt.tmodule Tree = Tezos_context_tezedge.Context.Treeval get_protocol : t -> Tezos_base.TzPervasives.Protocol_hash.t Lwt.tmodule Proof = Tezos_context_tezedge.Context.Proofval fold :
?depth:[< `Eq of int | `Ge of int | `Gt of int | `Le of int | `Lt of int ] ->
t ->
string list ->
order:[< `Sorted | `Undefined ] ->
init:'a ->
f:(string list -> Tezedge.tree -> 'a -> 'a Lwt.t) ->
'a Lwt.tval mem : t -> string list -> bool Lwt.tval init : ?patch_context:patch_context -> string -> indexval close : index -> unitval raw_commit :
time:Tezos_base.TzPervasives.Time.Protocol.t ->
?message:string ->
t ->
bytesval commit :
time:Tezos_base.TzPervasives.Time.Protocol.t ->
?message:string ->
t ->
Tezos_base.TzPervasives.Context_hash.t Lwt.tval add_protocol : t -> Tezos_base.TzPervasives.Protocol_hash.t -> t Lwt.tval add_test_chain :
t ->
Tezos_base.TzPervasives.Test_chain_status.t ->
t Lwt.tval fork_test_chain :
t ->
protocol:Tezos_crypto.Hashed.Protocol_hash.t ->
expiration:Tezos_base.Time.Protocol.t ->
t Lwt.tval hash :
time:Tezos_base.TzPervasives.Time.Protocol.t ->
?message:string ->
t ->
Tezos_base.TzPervasives.Context_hash.tval commit_genesis :
index ->
chain_id:'a ->
time:Tezos_base.TzPervasives.Time.Protocol.t ->
protocol:Tezos_base.TzPervasives.Protocol_hash.t ->
(Tezos_base.TzPervasives.Context_hash.t, Tezos_base.TzPervasives.tztrace)
Stdlib.result
Lwt.tval exists : index -> 'a -> boolval checkout_exn : index -> Tezos_base.TzPervasives.Context_hash.t -> t Lwt.tval get_test_chain : t -> Tezos_base.TzPervasives.Test_chain_status.t Lwt.tval add_predecessor_block_metadata_hash :
t ->
Tezos_base.TzPervasives.Block_metadata_hash.t ->
t Lwt.tval add_predecessor_ops_metadata_hash :
t ->
Tezos_base.TzPervasives.Operation_metadata_list_list_hash.t ->
t Lwt.tval compute_testchain_genesis :
Tezos_base.TzPervasives.Block_hash.t ->
Tezos_base.TzPervasives.Block_hash.tval compute_testchain_chain_id :
Tezos_base.TzPervasives.Block_hash.t ->
Tezos_base.TzPervasives.Chain_id.tval export_snapshot : index -> 'a -> path:string -> unitval set_protocol : t -> Tezos_base.TzPervasives.Protocol_hash.t -> t Lwt.t