offline tool: add global-fees cmd

This commit is contained in:
swrup 2026-02-03 15:56:05 +01:00
parent 4754517d8f
commit 4913d8ca76
8 changed files with 163 additions and 6 deletions

View file

@ -10,6 +10,11 @@ type span = Ptime.Span.t option
module Span : sig
type t = span
val of_string : string -> (t, string) result
val pp : Stdlib.Format.formatter -> t -> unit
(* - *)
val jsont : t Jsont.t
val bin : t Bin.t
val bin_nbo : t Bin.t
@ -21,6 +26,10 @@ val add_span_exn : t -> span -> t
val of_span_exn : span -> t
val compare : t -> t -> int option
(* used for offline tool argument conversion *)
val of_string : string -> (t, string) result
val pp : Stdlib.Format.formatter -> t -> unit
(* - *)
val jsont : t Jsont.t
val bin : t Bin.t