Commit e798294a authored by Maran's avatar Maran

Update min GasLimit

parent 2bbc2043
...@@ -166,7 +166,7 @@ func (block *Block) CalcGasLimit(parent *Block) *big.Int { ...@@ -166,7 +166,7 @@ func (block *Block) CalcGasLimit(parent *Block) *big.Int {
result := new(big.Int).Add(previous, curInt) result := new(big.Int).Add(previous, curInt)
result.Div(result, big.NewInt(1024)) result.Div(result, big.NewInt(1024))
min := ethutil.BigPow(10, 4) min := big.NewInt(125000)
return ethutil.BigMax(min, result) return ethutil.BigMax(min, result)
/* /*
......
...@@ -31,6 +31,7 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte { ...@@ -31,6 +31,7 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte {
for { for {
select { select {
case <-reactChan: case <-reactChan:
powlogger.Infoln("Breaking from mining")
return nil return nil
default: default:
i++ i++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment