Wladimir J. van der Laan
a65f7b7a76
Merge #7311 : MOVEONLY: Move non-consensus functions out of pow
...
e867561
MOVEONLY: non-consensus: from pow to chain: (Jorge Timón)
2017-12-11 08:08:48 +01:00
UdjinM6
865b61b503
Unify GetNextWorkRequired ( #1737 )
...
* unify GetNextWorkRequired
* drop enum
2017-12-01 08:15:11 +03:00
UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
MarcoFalke
333e1eaeea
Bump copyright headers to 2015
...
- Bump copyright headers to 2015
- [devtools] Rewrite fix-copyright-headers.py
- [devtools] Use git pretty-format for year parsing
Github-Pull: #7205
Rebased-From: fa6ad855e9
fa24439ff3
fa71669452
2016-01-05 14:13:33 +01:00
Pieter Wuille
f7303f9793
Use equivalent PoW for non-main-chain requests
2015-04-22 03:53:25 -07:00
UdjinM6
64eebc3316
0.12 dirty merge'n'fix (bitcoin 0.10)
2015-04-04 19:24:37 +03:00
Jorge Timón
d698ef690f
Consensus: Refactor: Decouple pow.o from chainparams.o
2015-03-26 00:47:51 +01:00
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.
2015-02-21 13:14:19 +00:00
Wladimir J. van der Laan
734f85c4f0
Use arith_uint256 where necessary
...
Also add conversion from/to uint256 where needed.
2015-01-05 15:45:35 +01:00
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-19 19:55:32 +01:00
Michael Ford
78253fcbad
Remove references to X11 licence
2014-12-16 15:56:50 +08:00
jtimon
092b58d13d
CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> GetBlockProof(CBlockIndex)
2014-10-29 21:01:07 +01:00
jtimon
22c4272bf4
MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include main.h -> chain.h)
2014-10-29 21:00:05 +01:00
Pieter Wuille
f244c99c96
Remove CheckMinWork, as we always know all parent headers
2014-10-14 15:42:01 -07:00
Philip Kaufmann
611116d4e3
header include cleanup
...
- ensures alphabetical ordering for includes etc. in source file headers
2014-09-14 12:43:56 +02:00
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
2014-08-28 22:25:21 +02:00
jtimon
654871d436
replace ComputeMinWork with CheckMinWork
2014-08-23 13:21:51 +02:00
jtimon
b343c1a1e3
Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits)
2014-08-23 13:21:51 +02:00
jtimon
c2c02f3fa9
Move UpdateTime to pow
2014-08-23 13:21:50 +02:00
jtimon
df852d2bcc
Refactor proof of work related functions out of main
2014-06-23 23:10:24 +02:00