use static for big const arrays

This commit is contained in:
Boog900 2024-01-19 23:52:03 +00:00
parent 0f2ec54c02
commit 78244a9d16
No known key found for this signature in database
GPG key ID: 5401367FB7302004

View file

@ -1,8 +1,8 @@
use monero_consensus::HardFork;
pub const HFS_2688888_2689608: [(HardFork, HardFork); 720] = include!("./data/hfs_2688888_2689608");
pub static HFS_2688888_2689608: [(HardFork, HardFork); 720] = include!("./data/hfs_2688888_2689608");
pub const HFS_2678808_2688888: [(HardFork, HardFork); 10080] =
pub static HFS_2678808_2688888: [(HardFork, HardFork); 10080] =
include!("./data/hfs_2678808_2688888");
pub const BW_2850000_3050000: [(usize, usize); 200_000] = include!("./data/bw_2850000_3050000");
pub static BW_2850000_3050000: [(usize, usize); 200_000] = include!("./data/bw_2850000_3050000");