+ test disable-auditor/wire/drain

This commit is contained in:
swrup 2026-02-25 20:12:13 +01:00
parent 05cfa7a5b1
commit 6bd65561f8
9 changed files with 386 additions and 193 deletions

19
src/auditor.ml Normal file
View file

@ -0,0 +1,19 @@
type t = {
auditor_pub: Crypto.EddsaPublicKey.t;
auditor_url: string;
auditor_name: string;
last_change: Timestamp.t;
is_active: bool;
}
let of_setup_message
Api.AuditorSetupMessage.
{ auditor_url; auditor_name; auditor_pub; master_sig= _; validity_start }
=
{
auditor_url;
auditor_name;
auditor_pub;
last_change= validity_start;
is_active= true;
}