27 Commits (ce479aaadaab296f0d06808fe230c4b13523cc28)

Author SHA1 Message Date
Pieter Wuille f7303f9793 Use equivalent PoW for non-main-chain requests 10 years ago
Cory Fields fd311996e8 consensus: don't use arith_uint256 in consensus.h 10 years ago
Pieter Wuille 1cc0e96e9c Trivial optimization: use GetAncestor to compute new target 10 years ago
Jorge Timón d698ef690f Consensus: Refactor: Decouple pow.o from chainparams.o 10 years ago
Wladimir J. van der Laan 3aa0130b96 test: remove fSkipProofOfWork 10 years ago
Ross Nicoll 34e5015cd2
Add unit tests for next difficulty calculations 10 years ago
Shaul Kfir e5ece053da Rename Interval() to DifficultyAdjustmentInterval() 10 years ago
Pavel Janík 5262fde0ec Remove whitespaces before double colon in errors and logs 10 years ago
Wladimir J. van der Laan 734f85c4f0 Use arith_uint256 where necessary 10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers 10 years ago
Michael Ford 78253fcbad Remove references to X11 licence 10 years ago
Luke Dashjr d227011184 MOVEONLY: core/ -> primitives/ 10 years ago
jtimon 092b58d13d CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> GetBlockProof(CBlockIndex) 10 years ago
jtimon 22c4272bf4 MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include main.h -> chain.h) 10 years ago
jtimon 99f41b9cf7 MOVEONLY: core.o -> core/block.o 10 years ago
Pieter Wuille f244c99c96 Remove CheckMinWork, as we always know all parent headers 10 years ago
SergioDemianLerner f0fd00cb77 Switch testing framework from MAIN to new UNITTEST network 10 years ago
Wladimir J. van der Laan 8d132431b4
Revert merge of pull #4845 10 years ago
SergioDemianLerner a25fd6be13 Switch testing framework from MAIN to new UNITTEST network 10 years ago
Wladimir J. van der Laan ad49c256c3 Split up util.cpp/h 10 years ago
jtimon 654871d436 replace ComputeMinWork with CheckMinWork 10 years ago
jtimon b343c1a1e3 Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits) 10 years ago
jtimon c2c02f3fa9 Move UpdateTime to pow 10 years ago
jtimon 209377a7cb Use GetBlockTime() more 11 years ago
jtimon fd704c7b2c move pow constants to chainparams 11 years ago
jtimon df852d2bcc Refactor proof of work related functions out of main 11 years ago