+ test disable-auditor/wire/drain
This commit is contained in:
parent
05cfa7a5b1
commit
6bd65561f8
9 changed files with 386 additions and 193 deletions
19
src/auditor.ml
Normal file
19
src/auditor.ml
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue