use exchange_pub valid at this time
This commit is contained in:
parent
a376fc584f
commit
a21ea0116a
5 changed files with 25 additions and 8 deletions
|
|
@ -7,3 +7,6 @@ type t = {
|
|||
stamp_end: Timestamp.t;
|
||||
master_sig: Signatures.ExchangeSigningKeyValidity.t;
|
||||
}
|
||||
|
||||
let is_valid_at ~timestamp sk =
|
||||
Timestamp.geq sk.stamp_start timestamp && Timestamp.lt timestamp sk.stamp_end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue