aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorBojie Wu <bojie@dexon.org>2018-10-15 14:43:54 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commit38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c (patch)
tree5f83130e63893e59fbd382e11860d4f587d11760 /params/config.go
parent20b457a60fc10ede29dac646c6389b04b16248be (diff)
downloaddexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.tar
dexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.tar.gz
dexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.tar.bz2
dexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.tar.lz
dexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.tar.xz
dexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.tar.zst
dexon-38221e713db2faadbdf5e1ce63a6c5f5ea1d8e2c.zip
app: add default block reward
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go6
1 files changed, 4 insertions, 2 deletions
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.