@@ -16,19 +16,24 @@ use std::{process::exit, time::Duration};
16
16
17
17
use cuprate_helper:: time:: current_unix_timestamp;
18
18
19
- /// Assert that this is not a v1 release and an alpha release.
19
+ /// Assert that this is an alpha release.
20
20
const _: ( ) = {
21
21
const_format:: assertcp_ne!(
22
22
crate :: constants:: MAJOR_VERSION ,
23
23
"1" ,
24
24
"`cuprated` major version is 1, killswitch module should be deleted."
25
25
) ;
26
+ const_format:: assertcp_ne!(
27
+ crate :: constants:: MINOR_VERSION ,
28
+ "1" ,
29
+ "`cuprated` minor version is 1, killswitch module should be deleted."
30
+ ) ;
26
31
} ;
27
32
28
33
/// The killswitch activates if the current timestamp is ahead of this timestamp.
29
34
///
30
- /// Sat Mar 01 2025 05 :00:00 GMT+0000
31
- pub const KILLSWITCH_ACTIVATION_TIMESTAMP : u64 = 1740805200 ;
35
+ /// Wed Apr 16 12 :00:00 AM UTC 2025
36
+ pub const KILLSWITCH_ACTIVATION_TIMESTAMP : u64 = 1744761600 ;
32
37
33
38
/// Check if the system clock is past a certain timestamp,
34
39
/// if so, exit the entire program.
@@ -39,8 +44,8 @@ fn killswitch() {
39
44
/// sanity checking the system's clock to make
40
45
/// sure it is not overly behind.
41
46
///
42
- /// Fri Jan 17 2025 14:19:10 GMT+0000
43
- const SYSTEM_CLOCK_SANITY_TIMESTAMP : u64 = 1737123550 ;
47
+ /// Tue Mar 11 08:33:20 PM UTC 2025
48
+ const SYSTEM_CLOCK_SANITY_TIMESTAMP : u64 = 1741725200 ;
44
49
45
50
let current_ts = current_unix_timestamp ( ) ;
46
51
0 commit comments