From 19dd71a49473237811f92b844c1cf7a9c5f1026b 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'params/config.go') diff --git a/params/config.go b/params/config.go index 5158eddc4..6e41cfac9 100644 --- a/params/config.go +++ b/params/config.go @@ -69,8 +69,9 @@ var ( ByzantiumBlock: big.NewInt(0), ConstantinopleBlock: big.NewInt(0), PetersburgBlock: big.NewInt(0), - Ethash: new(EthashConfig), - Dexcon: &DexconConfig{}, + Dexcon: &DexconConfig{ + BlockReward: new(big.Int).SetInt64(5e+18), + }, } // TestnetTrustedCheckpoint contains the light client trusted checkpoint for the Ropsten test network. @@ -230,7 +231,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