From 38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c Mon Sep 17 00:00:00 2001 From: Bojie Wu Date: Mon, 15 Oct 2018 14:43:54 +0800 Subject: app: add default block reward --- params/config.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'params') diff --git a/params/config.go b/params/config.go index 9f8d70868..b48a805d5 100644 --- a/params/config.go +++ b/params/config.go @@ -66,7 +66,9 @@ var ( EIP158Block: big.NewInt(0), ByzantiumBlock: big.NewInt(0), ConstantinopleBlock: nil, - Dexcon: &DexconConfig{}, + Dexcon: &DexconConfig{ + BlockReward: new(big.Int).SetInt64(5e+18), + }, } // TestnetTrustedCheckpoint contains the light client trusted checkpoint for the Ropsten test network. @@ -197,7 +199,7 @@ type DexconConfig struct { RoundInterval uint64 `json:"roundInterval"` MinBlockInterval uint64 `json:"minBlockInterval"` MaxBlockInterval uint64 `json:"maxBlockInterval"` - MiningReward *big.Int `json:"miningReward"` + BlockReward *big.Int `json:"blockReward"` } // String implements the stringer interface, returning the consensus engine details. -- cgit v1.2.3