chaos_sdk/data/structures/blockchain/mod.rs
1/*
2 Appellation: mod
3 Context:
4 Creator: FL03 <jo3mccain@icloud.com>
5 Description:
6 ... Summary ...
7 */
8pub use blocks::*;
9pub use chains::*;
10
11mod blocks;
12mod chains;
13
14pub type BlockId = u64;
15pub type BlockData = String;
16pub type BlockHash = String;
17pub type BlockNonce = u64;
18pub type BTimestamp = i64;
19
20mod utils {
21 use super::*;
22
23 pub fn block_miner() -> (BlockNonce, BlockHash) {
24 todo!()
25 }
26}