Mining using a different hash now
This commit is contained in:
parent
7730949221
commit
dbe42ce44e
@ -47,9 +47,7 @@ OS X 10.9+:
|
||||
Build
|
||||
=======
|
||||
|
||||
* `go get -u -t github.com/ethereum/go-ethereum`
|
||||
* `cd $GOPATH/src/github.com/ethereum/go-etherum`
|
||||
* `go build`
|
||||
`go get -u -t github.com/ethereum/go-ethereum`
|
||||
|
||||
|
||||
Command line options
|
||||
|
@ -92,10 +92,14 @@ func main() {
|
||||
ethereum.BlockManager.ApplyTransactions(block, block.Transactions())
|
||||
// Search the nonce
|
||||
block.Nonce = pow.Search(block)
|
||||
ethereum.BlockManager.ProcessBlock(block)
|
||||
err := ethereum.BlockManager.ProcessBlock(block)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
} else {
|
||||
//ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{block.RlpValue().Value})
|
||||
log.Println("\n+++++++ MINED BLK +++++++\n", block.String())
|
||||
}
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user