Tezos_shell.Block_directory
val build_raw_rpc_directory_with_validator :
(module Tezos_shell_services.Block_services.PROTO) ->
(module Tezos_protocol_updater.Registered_protocol.T) ->
(Tezos_store.Store.chain_store * Tezos_store.Store.Block.t)
Tezos_rpc.Directory.directory
val build_raw_rpc_directory_without_validator :
(module Tezos_shell_services.Block_services.PROTO) ->
(module Tezos_protocol_updater.Registered_protocol.T) ->
(Tezos_store.Store.chain_store * Tezos_store.Store.Block.t)
Tezos_rpc.Directory.directory
val build_rpc_directory_with_validator :
Tezos_store.Store.chain_store ->
Tezos_shell_services.Block_services.block ->
'a Tezos_rpc.Directory.t Lwt.t
build_rpc_directory_with_validator chain_store block_services
builds an RPC_directory.t
that contains all RPCs in block_services
, especially the one that depends on the validator.
val build_rpc_directory_without_validator :
Tezos_store.Store.chain_store ->
Tezos_shell_services.Block_services.block ->
'a Tezos_rpc.Directory.t Lwt.t
Same as build_rpc_directory_with_validator
except that the returned RPC_directory.t
contains only RPCs that do **not** depend on the validator.