Opened 4 weeks ago

Closed 4 weeks ago

#28448 closed enhancement (implemented)

Please provide a method on NetworkStatusDocumentV3 to determine validity or freshness

Reported by: irl Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Compare to current time, return True/False.

is_valid(): valid_after <= t < valid_until
is_fresh(): valid_after <= t < fresh_until

Child Tickets

Change History (1)

comment:1 Changed 4 weeks ago by atagar

Resolution: implemented
Status: newclosed
Note: See TracTickets for help on using tickets.