aboutsummaryrefslogtreecommitdiff
path: root/src/pow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4377Pieter Wuille2014-08-271-8/+40
|\ | | | | | | | | | | 654871d replace ComputeMinWork with CheckMinWork (jtimon) b343c1a Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits) (jtimon) c2c02f3 Move UpdateTime to pow (jtimon)
| * replace ComputeMinWork with CheckMinWorkjtimon2014-08-231-8/+15
| |
| * Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits)jtimon2014-08-231-0/+15
| |
| * Move UpdateTime to powjtimon2014-08-231-0/+10
| |
* | Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+1
|/ | | | | | | | | | | | | | | | Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.
* Use GetBlockTime() morejtimon2014-07-071-1/+1
|
* move pow constants to chainparamsjtimon2014-06-231-17/+13
|
* Refactor proof of work related functions out of mainjtimon2014-06-231-0/+123