aboutsummaryrefslogtreecommitdiffstats
path: root/miner/remote_agent.go
Commit message (Collapse)AuthorAgeFilesLines
* consensus/ethash: move remote agent logic to ethash internal (#15853)gary rong2018-08-031-202/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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: fix typoterasum2017-10-121-1/+1
|
* miner: fix megacheck warningsEgon Elbre2017-08-071-2/+3
|
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-13/+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-4/+3
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-4/+4
|
* eth: accept leading zeros for nonce parameter of submitWork (#3558)Felix Lange2017-01-131-1/+2
|
* eth, miner: verify PoW in the remote agent to notify submitter (#3438)Péter Szilágyi2016-12-201-12/+21
|
* miner: fix a race between remote agent start/loopPéter Szilágyi2016-12-131-11/+14
|
* miner: synchronise start / stopJeffrey Wilcke2015-10-311-5/+12
| | | | | | This PR fixes an issue where the remote worker was stopped twice and not properly handled. This adds a synchronised running check to the start and stop methods preventing closing of a channel more than once.
* cmd/utils, rpc/comms: stop XEth when IPC connection endsFelix Lange2015-10-301-5/+10
| | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile.
* Improve error string and remove unneeded else clauseGustav Simonsson2015-08-281-2/+1
|
* rpc: return error code for eth_getWork when no work readyGustav Simonsson2015-08-261-3/+5
|
* miner, rpc: added submit hashrate for remote agentsJeffrey Wilcke2015-08-061-2/+35
|
* 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-33/+63
| | | | | | | | | 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-3/+1
|
* Return 32-byte hashes from GetWorkTaylor Gerring2015-05-111-2/+2
| | | | Ensures that the Get Work results are a consistent length. Closes #917
* miner: go fmtobscuren2015-04-201-8/+7
|
* Switched getWork third output from difficulty to targetVitalik Buterin2015-04-201-1/+8
|
* miner: fixed remote miner current workobscuren2015-04-201-1/+2
|
* Fixed minerobscuren2015-03-271-0/+1
| | | | * Miners could stall because the worker wasn't aware the miner was done
* Changed minerobscuren2015-03-241-4/+7
| | | | | * Instead of delivering `Work` to the `Worker`, push a complete Block to the `Worker` so that each agent can work on their own block.
* Fixed issues with stalled remote minerobscuren2015-03-231-1/+1
|
* Move RemoteAgent to miner pkgTaylor Gerring2015-03-231-0/+81