OSDN Git Service

Miner (#329)
authorGuanghua Guo <1536310027@qq.com>
Wed, 31 Jan 2018 11:56:26 +0000 (19:56 +0800)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2018 11:56:26 +0000 (19:56 +0800)
commiteba0db97f70ea3beea2552d0a9545e9893f99374
treec335f2227edb1cfdcaec84571e4ebc816c7c8911
parent6646ca7d80751f4fdbc9ddea5927e2c96c0754d7
Miner (#329)

* Support rpc mining

* Add submit work funcion & rpc miner work

* Add resume chan

* Resume one goroutine test ok

* Fix a bug about resume

* Fix a bug, solveWork not quit

* Change import sequence

* Fix merge build failed

* loop call miner

* Fix a bug solveWork stop problem
Makefile
blockchain/miner.go
blockchain/rpc_reactor.go
cmd/miner/main.go
mining/cpuminer/cpuminer.go