better config: parse file + crunch

This commit is contained in:
swrup 2025-11-20 18:38:01 +01:00
parent e2d3986989
commit 58bce4efa2
12 changed files with 481 additions and 409 deletions

View file

@ -29,7 +29,7 @@ module Secmod_denom = struct
let finally _key = () in
Vif.Device.v ~name:"secmod_denom" ~finally [] @@ fun (_env : env) ->
let sm_key = Signkey.generate () in
let keys = List.map Denomination.make Config.coins in
let keys = List.map Denomination.make Config.Coin.all_coins in
{ sm_key; keys }
end