Gav Wood
09e5dbfa06
Use boost's guaranteed non-deterministic random number generator. If it
compiles, it's safe.
10 years ago
Gav Wood
e14d000bea
All fields of BlockInfo now private.
10 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
f693ac0cc4
All fields of BlockInfo now private.
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
ff2f952184
All fields of BlockInfo now private.
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
1e6bf809b4
All fields of BlockInfo now private.
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
5ee3e8e5fc
All fields of BlockInfo now private.
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
487349bf09
All fields of BlockInfo now private.
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
Gav Wood
879f443ce1
Avoid rzce condition.
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
Lefteris Karapetsas
3e2fc17e81
Print additional info if DAG creation fails
10 years ago
Lefteris Karapetsas
b325a5c3b2
Mutex guard m_fulls on eval()
10 years ago
Gav Wood
4251276cb3
Fix mining. Again.
10 years ago
Gav Wood
c4df26e82e
Actually load the DAG.
10 years ago
Gav Wood
05ea9941c9
Move non-cryptopp dependent stuff into devcore.
10 years ago
Gav Wood
fea144622a
Bump and build fix.
10 years ago
Gav Wood
a6f80e6f97
Use straight homedirectory rather than Application Support.
10 years ago
arkpar
cbb5e640ef
more blockchain import optimizations
10 years ago
Lefteris Karapetsas
3145b5aa7d
Throw if ethash_XXX_new() fails
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
83650be213
Fix GPU mining in ethminer.
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