Brandon Dahler
51ed9ec971
Cleanup code using forward declarations.
...
Use misc methods of avoiding unnecesary header includes.
Replace int typedefs with int##_t from stdint.h.
Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
Normalize QT_VERSION ifs where possible.
Resolve some indirect dependencies as direct ones.
Remove extern declarations from .cpp files.
11 years ago
Pieter Wuille
4c6d41b8b6
Refactor/encapsulate chain globals into a CChain class
11 years ago
Pieter Wuille
1657ed2ab4
Fix minor unit test memory leaks
11 years ago
Jeff Garzik
7e17018995
CreateNewBlock() now takes scriptPubKey argument,
...
rather than a key.
CreateNewBlockWithKey() helper is added to restore existing functionality,
making this an equivalent-transformation change.
11 years ago
Jeff Garzik
d247a5d130
Move internal miner/block creation to separate miner.cpp module.
...
Public functions referenced elsewhere are added to miner.h.
12 years ago
Pieter Wuille
ef3988ca36
CValidationState framework
12 years ago
Forrest Voight
03cac0bb8e
changed CreateNewBlock to return a CBlockTemplate object, which includes per-tx fee and sigop count data
12 years ago
Gavin Andresen
3fcec0d4a0
Set block.nVersion to fix miner unit test
12 years ago
Luke Dashjr
639b61d78e
Tests for CreateNewBlock
13 years ago
Pieter Wuille
0a83c0fcef
Fix tests after recent refactors
13 years ago
Gavin Andresen
1466b8b78a
Rework unit tests so test_bitcoin.cpp does not #include them all
13 years ago
Gavin Andresen
9e5322d23a
Fix miner_test unit test bug
13 years ago
Nils Schneider
6ccff2cbde
remove cryptopp dependency, add simple unittest for SHA256Transform()
13 years ago