Felix Lange
24dd0355a3
pow: fix Search with ethash test mode
...
The cache/dataset methods crashed with a nil pointer error if
cachesinmem/dagsinmem were zero. Fix it by skipping the eviction logic
if there are no caches/datasets.
Search always used the regular dataset size regardless of test mode. Fix
it by removing the redundant size parameter of hashimotoFull.
Fixes #3784
2017-03-18 01:05:28 +01:00
Péter Szilágyi
f3579f6460
pow: make data dumps backwards compatible, fix DAG end
2017-03-09 15:50:14 +01:00
Péter Szilágyi
5c8fa6ae1a
crypto, pow, vendor: hash optimizations, mmap ethash
2017-03-09 15:50:14 +01:00
Péter Szilágyi
b7d93500f1
all: finish integrating Go ethash, delete C++ vendor
2017-03-09 15:50:14 +01:00
Péter Szilágyi
df72e20cc5
pow: only support prime calculations on Go 1.8 and above
2017-03-09 15:50:14 +01:00
Péter Szilágyi
023670f6ba
cmd, eth, les, node, pow: disk caching and progress reports
2017-03-09 15:50:14 +01:00
Péter Szilágyi
567d41d936
all: swap out the C++ ethash to the pure Go one (mining todo)
2017-03-09 15:50:14 +01:00
Péter Szilágyi
3b00a77de5
crypto, pow: add pure Go implementation of ethash
2017-03-09 15:50:14 +01:00
Felix Lange
13e3b2f433
logger, pow/dagger, pow/ezp: delete dead code
2017-01-06 18:18:07 +01:00
Felix Lange
6fdd0893c3
all: fix go vet warnings
2016-04-15 11:17:27 +02:00
Gustav Simonsson
ec6a548ee3
all: Add GPU mining, disabled by default
2015-10-07 13:19:30 +02:00
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
2015-07-23 18:35:11 +02:00
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".
2015-07-22 18:51:45 +02:00
Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
Gustav Simonsson
b1cc9cdc74
Integrate new ethash API and change geth makedag cmd
2015-05-05 08:24:15 +02:00
Felix Lange
65eee2006d
pow/ezp: use common.Hash
2015-03-17 12:01:21 +01:00
obscuren
94505146a2
updated vm env
2015-03-16 23:17:28 +01:00
obscuren
b523441361
Moved ethutil => common
2015-03-16 11:27:38 +01:00
obscuren
387f6bba3e
POW fixes
2015-03-14 16:37:57 +01:00
obscuren
26de12d9bf
Changed nonce to a uint64
2015-03-03 21:04:31 +01:00
Matthew Wampler-Doty
de9f79133f
Introducing ethash
2015-03-02 22:29:34 -05:00
Matthew Wampler-Doty
ba1f4bbe91
Exposing stuff for ethash
2015-02-27 20:56:24 -05:00
Matthew Wampler-Doty
8653db6df0
Introducign MixDigest and SeedHash
2015-02-27 15:59:33 -05:00
obscuren
9feb657763
Turbo off
2015-02-20 18:06:45 +01:00
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
2015-02-19 22:33:22 +01:00
obscuren
be90ad89a8
Disable turbo
2015-02-18 12:01:20 +01:00
obscuren
567428fb34
Filter and mutex locks added
2015-02-17 16:12:55 +01:00
obscuren
32c7ebc51d
Fixed mining & limited hash power
2015-02-14 16:52:14 +01:00
obscuren
4d49d7b5a6
Reset hash rate to 0 when mining is stopped
2015-02-13 18:30:06 +01:00
obscuren
da2fae0e43
Basic structure miner
2015-02-10 13:04:38 +01:00
obscuren
ac69538707
Merge branch 'develop' into miner
2015-02-05 10:58:43 -08:00
obscuren
db7c34a9df
Default gas price and default gas for rpc
2015-02-04 18:34:29 -08:00
obscuren
a1b4547a53
set uncles regardless of empty uncle list. Fixes invalid blocks being mined
2015-02-04 18:26:23 -08:00
obscuren
b1870631a4
WIP miner
2015-02-04 05:53:22 -08:00
obscuren
6eaa404187
Moved sha3 from `obscuren`
2015-01-22 00:25:00 +01:00
obscuren
35fe4313d5
pre-pow
2015-01-12 10:19:27 +01:00
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
2015-01-07 13:17:48 +01:00
obscuren
c9985bf563
Fixed peer window. Minor tweaks and fixes
2015-01-05 19:53:53 +01:00
obscuren
09841b1c9b
Cleaned up some of that util
2015-01-04 14:20:16 +01:00
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
2014-12-23 13:48:44 +01:00
obscuren
721e8ae93f
Merged develop
2014-12-18 13:19:41 +01:00
obscuren
49e0267fe7
Locks, refactor, tests
...
* Added additional chain tests
* Added proper mutex' on chain
* Removed ethereum dependencies
2014-12-18 13:12:54 +01:00
obscuren
f111fc0608
WIP
2014-12-15 11:38:09 +01:00
obscuren
1b98cbbfa4
Moved pow
2014-12-10 16:45:16 +01:00
Felix Lange
f3473312ba
all: fix rename breakage
2014-10-31 18:52:58 +01:00
Felix Lange
69baa465ea
Merge eth-go repository into go-ethereum
...
mist, etheruem have been moved to cmd/
2014-10-23 15:01:27 +02:00
obscuren
cb845b9bc8
Implemented AR PoW
2014-10-10 22:44:20 +02:00