Consensus change: set reward and base grin unit

This commit is contained in:
Ignotus Peverell 2017-10-22 10:56:55 +00:00
parent 2d105deea7
commit f679a9e458
No known key found for this signature in database
GPG key ID: 99CD25F39F8F8211

View file

@ -24,8 +24,11 @@ use std::fmt;
use ser;
use core::target::Difficulty;
/// A grin is divisible to 10^9, a nanogrin
pub const GRIN_BASE: u64 = 1_000_000_000;
/// The block subsidy amount
pub const REWARD: u64 = 1_000_000_000;
pub const REWARD: u64 = 50*GRIN_BASE;
/// Actual block reward for a given total fee amount
pub fn reward(fee: u64) -> u64 {