Mavryk_mockup.Local_services
module Directory : sig ... end
type callback_writer =
Mavryk_protocol_environment.rpc_context ->
bytes ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
module type MENV = sig ... end
val build_shell_directory :
string ->
Mavryk_mockup_registration.Registration.mockup_environment ->
Mavryk_base.TzPervasives.Chain_id.t ->
Mavryk_protocol_environment.rpc_context ->
bytes ->
bool ->
callback_writer ->
unit Directory.directory
val build_directory :
string ->
bool ->
Mavryk_mockup_registration.Registration.mockup_environment ->
Mavryk_base.TzPervasives.Chain_id.t ->
Mavryk_protocol_environment.rpc_context ->
bytes ->
unit Mavryk_rpc.Directory.t
The directory of RPCs that the mockup client honors. Parameters are:
mem_only
specifies whether the mockup uses a persistent state. mockup_env
is the implementation provided by the protocol. chain_id
is the only chain that the mockup honors. rpc_context
is data used when honoring an RPC.