aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-07-01 21:25:57 +0800
committerMaran <maran.hidskes@gmail.com>2014-07-01 21:25:57 +0800
commite798294a4b2049dc59df6ad4a3bc67c00916cb9f (patch)
tree0f8b873feb2f0f4893970f4ce6c05220051e4e78
parent2bbc204328cf674e8ccd591bb4d08179225b396a (diff)
downloadgo-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.tar
go-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.tar.gz
go-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.tar.bz2
go-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.tar.lz
go-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.tar.xz
go-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.tar.zst
go-tangerine-e798294a4b2049dc59df6ad4a3bc67c00916cb9f.zip
Update min GasLimit
-rw-r--r--ethchain/block.go2
-rw-r--r--ethchain/dagger.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/block.go b/ethchain/block.go
index fee4a2d59..1be8282fa 100644
--- a/ethchain/block.go
+++ b/ethchain/block.go
@@ -166,7 +166,7 @@ func (block *Block) CalcGasLimit(parent *Block) *big.Int {
result := new(big.Int).Add(previous, curInt)
result.Div(result, big.NewInt(1024))
- min := ethutil.BigPow(10, 4)
+ min := big.NewInt(125000)
return ethutil.BigMax(min, result)
/*
diff --git a/ethchain/dagger.go b/ethchain/dagger.go
index 08c4826db..b586657b9 100644
--- a/ethchain/dagger.go
+++ b/ethchain/dagger.go
@@ -31,6 +31,7 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte {
for {
select {
case <-reactChan:
+ powlogger.Infoln("Breaking from mining")
return nil
default:
i++