package tezos-protocol-plugin-010-PtGRANAD

  1. Overview
  2. Docs
type nanotez = Q.t
val nanotez_enc : nanotez Data_encoding.t
type config = {
  1. minimal_fees : Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Tez.t;
  2. minimal_nanotez_per_gas_unit : nanotez;
  3. minimal_nanotez_per_byte : nanotez;
  4. allow_script_failure : bool;
    (*

    If true, this makes post_filter_manager unconditionally return `Passed_postfilter filter_state, no matter the operation's success.

    *)
}
type state = unit
val init : 'a -> ?validation_state:Tezos_protocol_010_PtGRANAD.Protocol.validation_state -> predecessor:'b -> unit -> (unit, 'c) result Lwt.t
val on_flush : 'a -> 'b -> ?validation_state:Tezos_protocol_010_PtGRANAD.Protocol.validation_state -> predecessor:'c -> unit -> (unit, 'd) result Lwt.t
val remove : filter_state:'a -> 'b -> 'a
val default_minimal_nanotez_per_gas_unit : Q.t
val default_minimal_nanotez_per_byte : Q.t
val config_encoding : config Data_encoding.t
val default_config : config
val get_manager_operation_gas_and_fee : 'a Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.contents_list -> (Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Tez.tez * Tezos_raw_protocol_010_PtGRANAD.Saturation_repr.may_saturate Tezos_raw_protocol_010_PtGRANAD.Saturation_repr.t, Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.trace) result
val pre_filter : config -> filter_state:'a -> ?validation_state_before: Tezos_protocol_010_PtGRANAD.Protocol.validation_state -> Tezos_protocol_010_PtGRANAD.Protocol.Main.operation -> [> `Branch_delayed of Tezos_error_monad.TzCore.error list | `Branch_refused of Tezos_error_monad.TzCore.error list | `Outdated of Tezos_error_monad.TzCore.error list | `Passed_prefilter of [> `High | `Low of 'b list ] | `Refused of Tezos_error_monad.TzCore.error list ] Lwt.t
val precheck : 'a -> filter_state:'b -> validation_state:'c -> 'd -> 'e -> nb_successful_prechecks:'f -> [> `Undecided ] Lwt.t
val post_filter : config -> filter_state:state -> validation_state_before:'a -> validation_state_after:Tezos_protocol_010_PtGRANAD.Protocol.validation_state -> ('b * Tezos_protocol_010_PtGRANAD.Protocol.Apply_results.packed_operation_metadata) -> [ `Passed_postfilter of state | `Refused of Tezos_error_monad.TzCore.error list ] Lwt.t
OCaml

Innovation. Community. Security.