package tezos-client-genesis

  1. Overview
  2. Docs
type conflict_handler = existing_operation:(Tezos_crypto.Operation_hash.t * operation) -> new_operation:(Tezos_crypto.Operation_hash.t * operation) -> [ `Keep | `Replace ]
val add_operation : ?check_signature:bool -> ?conflict_handler:conflict_handler -> validation_info -> t -> (Tezos_crypto.Operation_hash.t * operation) -> (t * add_result, add_error) result Lwt.t
val remove_operation : t -> Tezos_crypto.Operation_hash.t -> t
val merge : ?conflict_handler:conflict_handler -> t -> t -> (t, merge_error) result
val init : Tezos_protocol_environment__.Environment_context.Context.t -> Tezos_crypto.Chain_id.t -> head_hash:Tezos_crypto.Block_hash.t -> head:Tezos_base.TzPervasives.Block_header.shell_header -> cache: [ `Force_load | `Load | `Lazy | `Inherited of Tezos_protocol_environment__.Environment_context.Context.block_cache * Tezos_crypto.Context_hash.t ] -> (validation_info * t) Tezos_base.TzPervasives.tzresult Lwt.t