Module Tezos_shell.Block_directory

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.

  • raises Error

    when validator is not running.

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.