Module Baking_configuration.Operations_source

Operations_source abstraction

type t =
  1. | Local of {
    1. filename : string;
    }
    (*

    local mempool resource located in filename

    *)
  2. | Remote of {
    1. uri : Uri.t;
    2. http_headers : (string * string) list option;
    }
    (*

    remote resource located a uri, with additional http_headers parameters

    *)
val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit