package tezos-mockup

  1. Overview
  2. Docs

Parameters

module E : MENV

Signature

val p2p : unit -> unit Tezos_rpc.RPC_directory.t
val chain : unit -> unit Directory.directory
val monitor : unit -> unit Tezos_rpc.RPC_directory.directory
val check_chain : Tezos_shell_services.Block_services.chain -> (unit, 'a) Stdlib.result Lwt.t
module L : sig ... end
type write_mode =
  1. | Append
  2. | Zero_truncate
module Rw (File_accessor : Files.ACCESSOR) : sig ... end
module Mempool : sig ... end
module Trashpool : sig ... end
val pending_operations : unit -> unit Directory.directory
val shell_header : unit -> unit Directory.directory
val block_hash : unit -> unit Directory.directory
val live_blocks : unit -> unit Directory.directory
val preapply_block : unit -> unit Directory.directory
val preapply : unit -> unit Directory.directory
val inject_operation_with_mempool : Stdlib.Bytes.t -> Tezos_crypto.Operation_hash.t Tezos_rpc.RPC_answer.t Lwt.t
val inject_operation_without_mempool : (Tezos_protocol_environment.rpc_context -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> Stdlib.Bytes.t -> Tezos_crypto.Operation_hash.t Tezos_rpc.RPC_answer.t Lwt.t
val inject_block : (Tezos_protocol_environment.rpc_context -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> unit Directory.directory
val inject_operation : bool -> (Tezos_protocol_environment.rpc_context -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> unit Directory.directory
val build_shell_directory : bool -> (Tezos_protocol_environment.rpc_context -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> unit Directory.directory
OCaml

Innovation. Community. Security.