mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
use static for big const arrays
This commit is contained in:
parent
0f2ec54c02
commit
78244a9d16
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
use monero_consensus::HardFork;
|
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");
|
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");
|
||||||
|
|
Loading…
Reference in a new issue