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. mutable degraded : bool;
  3. rpc_server : Rpc_server.t;
  4. configuration : Configuration.t;
  5. 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 Tezos_layer2_store.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) result Lwt.t
val handle_protocol_migration : catching_up:bool -> state -> Layer1.header -> (unit, Tezos_base.TzPervasives.tztrace) result Lwt.t
val maybe_split_context : [ `Read | `Write ] Node_context.t -> 'a option -> int32 -> (unit, Tezos_base.TzPervasives.tztrace) result Lwt.t
val update_l2_chain : state -> catching_up:bool -> Layer1.header -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val notify_synchronized : [< `Read | `Write Read ] Node_context.t -> unit
val notify_synchronization : [< `Read | `Write Read ] Node_context.t -> int32 -> unit
val on_layer_1_head : state -> Layer1.header -> (unit, Tezos_base.TzPervasives.tztrace) result Lwt.t
val simple_refutation_loop : Layer1.header -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val degraded_refutation_loop : state -> Layer1.header -> (unit, Tezos_base.TzPervasives.tztrace) result Lwt.t
val refutation_daemon : ?restart:bool -> state -> unit
val install_finalizer : state -> Lwt_exit.clean_up_callback_id
val maybe_recover_bond : state -> (unit, Tezos_base.TzPervasives.error list) result Lwt.t
val make_signers_for_injector : Purpose.operators -> (Tezos_crypto.Signature.Public_key_hash.t list * [> `Delay_block of float | `Each_block ] * Octez_smart_rollup.Operation_kind.t list) list
val process_daemon : state -> unit Tezos_base.TzPervasives.tzresult Lwt.t
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) result Lwt.t
OCaml

Innovation. Community. Security.