generate taler_signatures.ml from GANA database

This commit is contained in:
swrup 2026-02-08 03:50:01 +01:00
parent 585d37a6df
commit 7749386750
9 changed files with 427 additions and 158 deletions

View file

@ -5,7 +5,7 @@ let config_data =
match Assets_crunch.read path with
| None -> fail "static file not found: `%s`" path
| Some data ->
let v = Parse_data.parse data in
let v = Config_section.parse data in
v
module Exchange = struct
@ -109,7 +109,7 @@ module Currency = struct
fractional_trailing_zero_digits=
get "fractional_trailing_zero_digits" |> int;
alt_unit_names=
get "alt_unit_names" |> Alt_unit_names.decode |> Parse_config.unwrap_res;
get "alt_unit_names" |> Alt_unit_names.decode |> Parse_config.unwrap;
}
let all_currencies = List.map parse_currency currency_sections