mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 03:09:56 +00:00
inital commit, which is clearly not initial
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
22
primitives/machine/src/ghost_node_hardware.json
Normal file
22
primitives/machine/src/ghost_node_hardware.json
Normal file
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"metric": "Blake2256",
|
||||
"minimum": 257.00
|
||||
},
|
||||
{
|
||||
"metric": "Sr25519Verify",
|
||||
"minimum": 0.145339297
|
||||
},
|
||||
{
|
||||
"metric": "MemCopy",
|
||||
"minimum": 6070.00
|
||||
},
|
||||
{
|
||||
"metric": "DiskSeqWrite",
|
||||
"minimum": 950.00
|
||||
},
|
||||
{
|
||||
"metric": "DiskRndWrite",
|
||||
"minimum": 420.00
|
||||
}
|
||||
]
|
||||
6
primitives/machine/src/lib.rs
Normal file
6
primitives/machine/src/lib.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
lazy_static::lazy_static! {
|
||||
pub static ref GHOST_NODE_REFERENCE_HARDWARE: sc_sysinfo::Requirements = {
|
||||
let raw = include_bytes!("ghost_node_hardware.json").as_slice();
|
||||
serde_json::from_slice(raw).expect("Hardcoded machine data is known good; qed")
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user