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-04-09 21:32:49 +0800
commit19dd71a49473237811f92b844c1cf7a9c5f1026b (patch)
treeab5b43cadc90f95a4e0b7690b15b92dc8bea2c21 /params
parent2e223e7fdae87de6a44b150e92d3f1a83690c781 (diff)
downloaddexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.tar
dexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.tar.gz
dexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.tar.bz2
dexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.tar.lz
dexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.tar.xz
dexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.tar.zst
dexon-19dd71a49473237811f92b844c1cf7a9c5f1026b.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 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.