diff options
author | Bojie Wu <bojie@dexon.org> | 2018-10-15 14:43:54 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | c0947d31fe1c23821acebd0d712066676005d7d1 (patch) | |
tree | 37e245e7ea393eff28b5e822e081cd3f0352579b /params | |
parent | b5dac78dbe5c8351de679385d5257b92028e8ea3 (diff) | |
download | go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.tar go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.tar.gz go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.tar.bz2 go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.tar.lz go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.tar.xz go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.tar.zst go-tangerine-c0947d31fe1c23821acebd0d712066676005d7d1.zip |
app: add default block reward
Diffstat (limited to 'params')
-rw-r--r-- | params/config.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go index bd4e254a2..27368541a 100644 --- a/params/config.go +++ b/params/config.go @@ -78,8 +78,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. @@ -239,7 +240,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. |