☃ Elliot Shepherd
ac0f8b81ae
miner: Move CpuAgent channel creation from Start() to initialization ( fixes #2948 )
...
Also remove the now un-needed mutex locking in Start() and Stop()
8 years ago
Gustav Simonsson
ec6a548ee3
all: Add GPU mining, disabled by default
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Bas van Kervel
652eea71fe
put unlock after lock
9 years ago
Bas van Kervel
618065895b
agent/miner Prevent the CpuAgent to be started multiple times
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Jeffrey Wilcke
e870e61bc9
miner: smart mining
...
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
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
10 years ago
Bas van Kervel
60561cdca2
fixed issue when miner is not stopping af stop command
10 years ago
Bas van Kervel
7778740315
fixed race condition in miner
10 years ago
obscuren
c2ef8682fe
eth/downloader: moved start event
...
Start event has moved because it could possibly could stall the miner
10 years ago
obscuren
741fa8ca9c
miner: mutex locks on cpu agent. Closes #1007
10 years ago
obscuren
21e52efdfe
cmd/geth, miner, backend, xeth: Fixed miner threads to be settable
...
Miner threads are now settable through the admin interface (closes #897 )
and specify 0 CPU worker threads when eth_getWork is called (closes #916 )
10 years ago
Gustav Simonsson
b1cc9cdc74
Integrate new ethash API and change geth makedag cmd
10 years ago
obscuren
053d5552ab
Updated logging
10 years ago
obscuren
344b3556eb
Fixed uncle rewards in miner
...
The uncle rewards were changed in the block processor. This change will
reflect those changes in the miner as well.
10 years ago
obscuren
d36501a6e5
Fixed miner
...
* Miners could stall because the worker wasn't aware the miner was done
10 years ago
obscuren
e5a0a0ef48
Moved output to debug
10 years ago
obscuren
a59ea7ce29
Changed miner
...
* Instead of delivering `Work` to the `Worker`, push a complete Block to
the `Worker` so that each agent can work on their own block.
10 years ago
obscuren
54dac59285
wip
10 years ago
obscuren
26de12d9bf
Changed nonce to a uint64
10 years ago
obscuren
8e995b97cc
Fixes and debug added
10 years ago
Matthew Wampler-Doty
de9f79133f
Introducing ethash
10 years ago
obscuren
32c7ebc51d
Fixed mining & limited hash power
10 years ago
obscuren
8a0f23915e
Fixed a few issues in the miner and updated hash rate title
...
* Sometimes old nonces were set by "old" agents
* Added the hash rate to the miner
10 years ago
obscuren
da2fae0e43
Basic structure miner
10 years ago