aboutsummaryrefslogtreecommitdiffstats
path: root/miner/agent.go
Commit message (Collapse)AuthorAgeFilesLines
* miner: move agent logic to worker (#17351)gary rong2018-08-141-116/+0
| | | | | | | | * miner: move agent logic to worker * miner: polish * core: persist block before reorg
* miner: seperate state, receipts for different mining work (#17323)gary rong2018-08-061-12/+17
|
* consensus/ethash: move remote agent logic to ethash internal (#15853)gary rong2018-08-031-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | * consensus/ethash: start remote ggoroutine to handle remote mining * consensus/ethash: expose remote miner api * consensus/ethash: expose submitHashrate api * miner, ethash: push empty block to sealer without waiting execution * consensus, internal: add getHashrate API for ethash * consensus: add three method for consensus interface * miner: expose consensus engine running status to miner * eth, miner: specify etherbase when miner created * miner: commit new work when consensus engine is started * consensus, miner: fix some logics * all: delete useless interfaces * consensus: polish a bit
* miner: make starting of CPU agent more reliable (#15148)Mark2017-09-191-11/+12
|
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-27/+20
| | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
* all: swap out the C++ ethash to the pure Go one (mining todo)Péter Szilágyi2017-03-091-2/+2
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-3/+3
|
* eth: accept leading zeros for nonce parameter of submitWork (#3558)Felix Lange2017-01-131-1/+2
|
* miner: Move CpuAgent channel creation from Start() to initialization (fixes ↵☃ Elliot Shepherd2016-08-251-12/+4
| | | | | | #2948) Also remove the now un-needed mutex locking in Start() and Stop()
* all: Add GPU mining, disabled by defaultGustav Simonsson2015-10-071-1/+1
|
* all: move common.Database to package ethdbFelix Lange2015-09-151-2/+3
|
* put unlock after lockBas van Kervel2015-09-081-5/+3
|
* agent/miner Prevent the CpuAgent to be started multiple timesBas van Kervel2015-09-081-2/+12
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* miner: smart miningJeffrey Wilcke2015-07-161-12/+12
| | | | | | | | | Work is now handled and carried over multiple sessions. Previously one session only was assumed, potentially resulting in invalid (outdated) work * Larger work / result queue * Full validation option
* all: update license informationFelix Lange2015-07-071-0/+16
|
* core/types: make blocks immutableFelix Lange2015-06-301-4/+2
|
* fixed issue when miner is not stopping af stop commandBas van Kervel2015-05-181-0/+6
|
* fixed race condition in minerBas van Kervel2015-05-181-12/+7
|
* eth/downloader: moved start eventobscuren2015-05-161-0/+1
| | | | Start event has moved because it could possibly could stall the miner
* miner: mutex locks on cpu agent. Closes #1007obscuren2015-05-161-16/+23
|
* cmd/geth, miner, backend, xeth: Fixed miner threads to be settableobscuren2015-05-111-11/+11
| | | | | Miner threads are now settable through the admin interface (closes #897) and specify 0 CPU worker threads when eth_getWork is called (closes #916)
* Integrate new ethash API and change geth makedag cmdGustav Simonsson2015-05-051-1/+1
|
* Updated loggingobscuren2015-04-051-1/+3
|
* Fixed uncle rewards in minerobscuren2015-04-021-1/+1
| | | | | The uncle rewards were changed in the block processor. This change will reflect those changes in the miner as well.
* Fixed minerobscuren2015-03-271-7/+16
| | | | * Miners could stall because the worker wasn't aware the miner was done
* Moved output to debugobscuren2015-03-261-1/+1
|
* Changed minerobscuren2015-03-241-6/+10
| | | | | * Instead of delivering `Work` to the `Worker`, push a complete Block to the `Worker` so that each agent can work on their own block.
* wipobscuren2015-03-211-0/+4
|
* Changed nonce to a uint64obscuren2015-03-041-1/+1
|
* Fixes and debug addedobscuren2015-03-041-1/+6
|
* Introducing ethashMatthew Wampler-Doty2015-03-031-2/+2
|
* Fixed mining & limited hash powerobscuren2015-02-141-8/+11
|
* Fixed a few issues in the miner and updated hash rate titleobscuren2015-02-141-7/+6
| | | | | * Sometimes old nonces were set by "old" agents * Added the hash rate to the miner
* Basic structure minerobscuren2015-02-101-0/+74