aboutsummaryrefslogtreecommitdiff
path: root/src/pow.h
Commit message (Collapse)AuthorAgeFilesLines
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Merge #7311: MOVEONLY: Move non-consensus functions out of powWladimir J. van der Laan2016-02-021-5/+0
|\ | | | | | | e867561 MOVEONLY: non-consensus: from pow to chain: (Jorge Timón)
| * MOVEONLY: non-consensus: from pow to chain:Jorge Timón2016-01-121-5/+0
| | | | | | | | | | - GetBlockProof - GetBlockProofEquivalentTime
* | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|/
* Use equivalent PoW for non-main-chain requestsPieter Wuille2015-04-221-0/+3
|
* Consensus: Refactor: Decouple pow.o from chainparams.oJorge Timón2015-03-261-3/+5
|
* Add unit tests for next difficulty calculationsRoss Nicoll2015-02-211-0/+1
| | | | | | | Split GetNextWorkRequired() into two functions to allow the difficulty calculations to be tested without requiring a full blockchain. Add unit tests to cover basic difficulty calculation, plus each of the min/max actual time, and maximum difficulty target conditions.
* Use arith_uint256 where necessaryWladimir J. van der Laan2015-01-051-1/+2
| | | | Also add conversion from/to uint256 where needed.
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> ↵jtimon2014-10-291-2/+1
| | | | GetBlockProof(CBlockIndex)
* MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include ↵jtimon2014-10-291-2/+0
| | | | main.h -> chain.h)
* Remove CheckMinWork, as we always know all parent headersPieter Wuille2014-10-141-2/+0
|
* header include cleanupPhilip Kaufmann2014-09-141-1/+1
| | | | - ensures alphabetical ordering for includes etc. in source file headers
* add missing header end commentsPhilip Kaufmann2014-08-281-2/+1
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* replace ComputeMinWork with CheckMinWorkjtimon2014-08-231-2/+2
|
* Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits)jtimon2014-08-231-0/+2
|
* Move UpdateTime to powjtimon2014-08-231-0/+2
|
* Refactor proof of work related functions out of mainjtimon2014-06-231-0/+23