add caqti device

This commit is contained in:
swrup 2025-11-11 03:12:12 +01:00
parent 606d2a6045
commit 4749bb7c62
7 changed files with 83 additions and 6 deletions

View file

@ -7,9 +7,9 @@ let dummy_duration = Ptime.Span.of_int_s 99999999
module Exchange = struct
let currency = "EUR"
let currency_round_unit = amount "EUR:0.01"
let db = "postgres"
let db = `Pgx (* plugin to use for the database *)
let attribute_encryption_key = "uhuhg" (* high-entropy nonce. *)
let port = 3696
let port = 3434
let master_public_key =
"8MQF2XPWCKCW4199JFPE08X7Y9XAX21SF2HD8NZKXM3PY3CMCJ90===="
@ -57,6 +57,26 @@ module Secmod_eddsa = struct
let key_dir = Fpath.(v "eddsa")
end
module Exchangedb = struct
let idle_reserve_expiration_time = dummy_duration
let legal_reserve_expiration_time = dummy_duration
let aggregator_shift = dummy_duration
let default_purse_limit = 9999
let max_aml_program_runtime = dummy_duration
end
module Exchangedb_postgres = struct
(* pgx://<user>:<password>@<host-or-directory>:<port>/<database> *)
let config =
let user = "mte" in
let password = "hunter2" in
let host = "localhost" in
let port = 5432 in
let database = "taler-exchange" in
Uri.of_string
@@ Fmt.str "pgx://%s:%s@%s:%d/%s" user password host port database
end
let coin_kudo_1 =
Types.Config_types.Coin.
{