aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-06 19:29:06 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-06 19:29:06 +0800
commit74f6d90153a4d62eefaa8a49f98dc6ed8e0100f6 (patch)
treee3611a7b492b7ed9a359fa3100939853f6f8f6ae /cmd/utils/cmd.go
parent82ef26f6007986debd6ce082f57050f0c7e36006 (diff)
downloaddexon-74f6d90153a4d62eefaa8a49f98dc6ed8e0100f6.tar.gz
dexon-74f6d90153a4d62eefaa8a49f98dc6ed8e0100f6.tar.zst
dexon-74f6d90153a4d62eefaa8a49f98dc6ed8e0100f6.zip
cmd/utils, core: disable exp diff for olympic net
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r--cmd/utils/cmd.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index f8f7f6376..983762db8 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -21,6 +21,7 @@ import (
"bufio"
"fmt"
"io"
+ "math"
"math/big"
"os"
"os/signal"
@@ -152,6 +153,7 @@ func InitOlympic() {
params.MaximumExtraDataSize = big.NewInt(1024)
NetworkIdFlag.Value = 0
core.BlockReward = big.NewInt(1.5e+18)
+ core.ExpDiffPeriod = big.NewInt(math.MaxInt64)
}
func FormatTransactionData(data string) []byte {