package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type state = {
  1. mutable plugin : (module Protocol_plugin_sig.S);
  2. rpc_server : Rpc_server.t;
  3. configuration : Configuration.t;
  4. node_ctxt : Node_context.rw;
}
val is_before_origination : [< `Read | `Write Read ] Node_context.t -> Layer1.header -> bool
val previous_context : [< `Read | `Write Read ] as 'a Node_context.t -> predecessor:Layer1.header -> 'b Context.t Tezos_base.TzPervasives.tzresult Lwt.t
val start_workers : (module Protocol_plugin_sig.S) -> [ `Read | `Write ] Node_context.t -> (unit, Tezos_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val handle_protocol_migration : catching_up:bool -> state -> Layer1.header -> (unit, Tezos_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val process_l1_block : state -> catching_up:bool -> Layer1.header -> ([ `Already_processed of Octez_smart_rollup.Sc_rollup_block.t | `New of (Octez_smart_rollup.Sc_rollup_block.header, unit) Octez_smart_rollup.Sc_rollup_block.block | `Nothing ], Tezos_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val update_l2_chain : state -> catching_up:bool -> Layer1.header -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val on_layer_1_head : state -> Layer1.header -> (unit, Tezos_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val degraded_refutation_mode : state -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val install_finalizer : state -> Lwt_exit.clean_up_callback_id
val maybe_recover_bond : state -> (unit, Tezos_base.TzPervasives.error list) Stdlib.result Lwt.t
val make_signers_for_injector : Purpose.operators -> (Tezos_crypto.Signature.Public_key_hash.t list * [> `Delay_block of float | `Each_block ] * Operation_kind.t list) list
module Internal_for_tests : sig ... end
val run : data_dir:string -> irmin_cache_size:int -> index_buffer_size:int -> ?log_kernel_debug_file:string -> Configuration.t -> Tezos_client_base.Client_context.full -> (unit, Tezos_base.TzPervasives.Error_monad.tztrace) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.