Jan Willem Penterman
6e4dbafbfe
-added support for custom DAG directory
9 years ago
Gav Wood
58c7d1ead6
Basic test working with same code for Ethash and BasicAuthority.
10 years ago
Gav Wood
3fa8cfc328
Tests working for BasicAuthority and Ethash.
10 years ago
Gav Wood
0c5e924745
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
32c11d9664
Modularise nonce, mix hash and seed hash.
10 years ago
Gav Wood
d76b9b3d18
Basic test working with same code for Ethash and BasicAuthority.
10 years ago
Gav Wood
3dbe96d518
Tests working for BasicAuthority and Ethash.
10 years ago
Gav Wood
a00196914a
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
361c073bdc
Modularise nonce, mix hash and seed hash.
10 years ago
Gav Wood
4f32150a6a
Basic test working with same code for Ethash and BasicAuthority.
10 years ago
Gav Wood
fd4486ca79
Tests working for BasicAuthority and Ethash.
10 years ago
Gav Wood
1bc77af041
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
bcc35d67a1
Modularise nonce, mix hash and seed hash.
10 years ago
Gav Wood
e18e3de824
Basic test working with same code for Ethash and BasicAuthority.
10 years ago
Gav Wood
57e1ae26f7
Tests working for BasicAuthority and Ethash.
10 years ago
Gav Wood
88cd4dfad7
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
0158351621
Modularise nonce, mix hash and seed hash.
10 years ago
Gav Wood
d16c51a56f
Basic test working with same code for Ethash and BasicAuthority.
10 years ago
Gav Wood
bcce3cb72b
Tests working for BasicAuthority and Ethash.
10 years ago
Gav Wood
75857ef5d4
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
a04ba152e5
Modularise nonce, mix hash and seed hash.
10 years ago
Gav Wood
68b2c8ecbf
Basic test working with same code for Ethash and BasicAuthority.
10 years ago
Gav Wood
4302afdf2c
Tests working for BasicAuthority and Ethash.
10 years ago
Gav Wood
212d433370
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
9ae950d4ad
Modularise nonce, mix hash and seed hash.
10 years ago
Lefteris Karapetsas
b75514756a
Use std::call_once instead of a mutex
10 years ago
Lefteris Karapetsas
a976df8c3b
Reduce number of statics in EthashAux
10 years ago
Lefteris Karapetsas
04aa9867f5
Potential fix for EthashAux race condition
Some EthashAux functions are protected by mutexes. These mutexes are
normal members of the EthashAux class which itself is a singleton. It
can happen that multiple threads will get inside the singleton creation
`get()` functions when requesting a lock, but the lock will not be
acquired due to the singleton not yet existing.
This leads to multiple threads going in the same code and causing double
free corruption.
Making the mutexes static members of the singleton should hopefully
address the issue
10 years ago
Lefteris Karapetsas
7604f4c224
Smarter and more flexible GPU memory check
- Added new option --cl-extragpumem with which you can let the OpenCL
miner know how much GPU memory you believe your system would need for
miscellaneous stuff like Windowing system rendering e.t.c. The default
is 350 MB.
- Added new option --curent-block with which you can let the miner know
the current block during the configuration phase and as such help him
provide a much more accurate calculation of how much GPU memory is
required.
- Added help(documentation) for some arguments that did not have one
10 years ago
Gav Wood
c4df26e82e
Actually load the DAG.
10 years ago
Gav Wood
53d63f80c3
Pull out shared code into Aux file.
10 years ago
arkpar
cbb5e640ef
more blockchain import optimizations
10 years ago
Gav Wood
47b6e38df9
Fixes for transact gas usage.
10 years ago
Lefteris Karapetsas
648a83f0fc
Stricter interface for EthashAux::light()
10 years ago
Lefteris Karapetsas
5cc63de2f9
Use seedhash everywhere in EthashAux
We now use seedhash everywhere and generate a block number only where
it's needed. Namely ethash_light_new()
10 years ago
Gav Wood
da1fcbb19b
DAG generation improvements.
Generate next DAG in AZ!
Cleanups to Ethash & Aux.
DAG Progress in AZ.
10 years ago
Gav Wood
2eed2ca5e0
Refactored much EthashAux., especially the DAG generation callback stuff.
Made m_epochs active again.
10 years ago
Gav Wood
d969e109bb
Fix braces.
10 years ago
Lefteris Karapetsas
4134160f9a
Remove unneeded function for ethash to our h256 conversion
10 years ago
Lefteris Karapetsas
6b28fbe4a6
Further fixes in Ethash integration and testing
10 years ago
Lefteris Karapetsas
165c374fd4
New ethash API integration part 1
- cpp-ethereum now compiles with the new API
- Proper integration with testing will come with the next commits
10 years ago
arkpar
cc5a617aa6
set and map to hash tables
10 years ago
Gav Wood
1b71d6a7c2
Standalone miner.
10 years ago
Gav Wood
c07e43b4ad
Don't create full if missing when just verifying.
10 years ago
Gav Wood
9450a7c463
Cleanup light, full caches are removed automatically without making
mining slow.
10 years ago
Gav Wood
51b2617b2e
Avoid 1GB memory leak. Downside: will seriously slow down mining.
10 years ago
Gav Wood
8f532e81cb
Fix to ethash seedHash caching.
10 years ago
Gav Wood
45bacf8566
AlethZero fixes.
10 years ago
Gav Wood
15f74352e3
Compile fixes.
10 years ago
Gav Wood
c1045d4711
Refactor just about everything important in the core.
TODO: make compile :-)
10 years ago