isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
8 years ago
Jorge Timón
e86756193e
MOVEONLY: non-consensus: from pow to chain:
...
- GetBlockProof
- GetBlockProofEquivalentTime
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Pieter Wuille
f7303f9793
Use equivalent PoW for non-main-chain requests
10 years ago
Jorge Timón
d698ef690f
Consensus: Refactor: Decouple pow.o from chainparams.o
10 years ago
Ross Nicoll
34e5015cd2
Add unit tests for next difficulty calculations
...
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.
10 years ago
Wladimir J. van der Laan
734f85c4f0
Use arith_uint256 where necessary
...
Also add conversion from/to uint256 where needed.
10 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
Michael Ford
78253fcbad
Remove references to X11 licence
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
Pieter Wuille
f244c99c96
Remove CheckMinWork, as we always know all parent headers
10 years ago
Philip Kaufmann
611116d4e3
header include cleanup
...
- ensures alphabetical ordering for includes etc. in source file headers
10 years ago
Philip Kaufmann
093303a887
add missing header end comments
...
- 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
10 years ago
jtimon
654871d436
replace ComputeMinWork with CheckMinWork
11 years ago
jtimon
b343c1a1e3
Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits)
11 years ago
jtimon
c2c02f3fa9
Move UpdateTime to pow
11 years ago
jtimon
df852d2bcc
Refactor proof of work related functions out of main
11 years ago