aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch miner.cpp to use sha2 instead of OpenSSL.Pieter Wuille2014-06-211-4/+0
|
* small formatting, indentation and comment fixesPhilip Kaufmann2014-06-101-1/+2
| | | | - contains zero code changes
* setgenerate creates multiple blocks in -regtest modeGavin Andresen2013-11-221-1/+1
| | | | | | | | | | | | | | | I'm writing some wallet regression tests using -regtest mode, and need to generate an initial multi-hundred-block chain. Repeatedly calling setgenerate to generate one block is slow and doesn't work properly, because block creation happens asynchronously. This adds two features to setgenerate in -regtest mode: 1) Instead of being interpreted as number of threads to start, the third argument is the number of blocks to generate. 2) setgenerate will not return until the block creation threads have created the requested number of blocks.
* Fix struct/class declaration mismatchesGavin Andresen2013-11-111-1/+1
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-3/+10
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Bump Year Number to 2013super32013-10-201-1/+1
|
* internal miner: move 2 globals from main to minerPhilip Kaufmann2013-09-251-0/+3
| | | | | | - moves 2 global variables from main.cpp/h to miner.cpp/h - also removes 2 unneded includes in miner.cpp, that come from miner.h already
* miner: constify CreateNewBlock() arg scriptPubKeyInJeff Garzik2013-08-251-1/+1
|
* CreateNewBlock() now takes scriptPubKey argument,Jeff Garzik2013-08-241-1/+2
| | | | | | | rather than a key. CreateNewBlockWithKey() helper is added to restore existing functionality, making this an equivalent-transformation change.
* Move internal miner/block creation to separate miner.cpp module.Jeff Garzik2013-07-311-0/+24
Public functions referenced elsewhere are added to miner.h.