aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorBojie Wu <bojie@dexon.org>2018-10-15 14:43:54 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitde9e240e86834e2619479b6f7eff6b8684607b46 (patch)
tree30cbd3f687bebe78e6d70fa7ab2943179e1aa66f /params
parent7992dfcf92b38869a4df5e9a2ad6765ff6d95d7b (diff)
downloaddexon-de9e240e86834e2619479b6f7eff6b8684607b46.tar.gz
dexon-de9e240e86834e2619479b6f7eff6b8684607b46.tar.zst
dexon-de9e240e86834e2619479b6f7eff6b8684607b46.zip
app: add default block reward
Diffstat (limited to 'params')
-rw-r--r--params/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go
index 500a44e29..ddcc054e9 100644
--- a/params/config.go
+++ b/params/config.go
@@ -68,8 +68,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.
@@ -229,7 +230,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.