From 7e2b271865e9056f31c9493e22c1958642e4f39c Mon Sep 17 00:00:00 2001 From: Merope Riddle Date: Sat, 22 Oct 2016 21:57:55 +0000 Subject: [PATCH] add doccomments for consensus comments --- core/src/core/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/core/mod.rs b/core/src/core/mod.rs index fd828615e..6644a0565 100644 --- a/core/src/core/mod.rs +++ b/core/src/core/mod.rs @@ -32,8 +32,13 @@ use secp::pedersen::*; use tiny_keccak::Keccak; +/// The block subsidy amount pub const REWARD: u64 = 1_000_000_000; + +/// Block interval, in seconds pub const BLOCK_TIME_SEC: u8 = 15; + +/// Cuckoo-cycle proof size (cycle length) pub const PROOFSIZE: usize = 42; /// A hash to uniquely (or close enough) identify one of the main blockchain