add doccomments for consensus comments

This commit is contained in:
Merope Riddle 2016-10-22 21:57:55 +00:00
parent 9644fb6a73
commit 7e2b271865

View file

@ -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