aboutsummaryrefslogtreecommitdiff
path: root/src/test/validation_block_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Scrypt n=1024 PoW hashRoss Nicoll2019-04-031-1/+1
| | | | | | Scrypt n=1024 PoW hash based upon Colin Percival's Tarnsnap (2009) Modified by Artforz, coblee, pooler, wtogami, Nikolay Belikov, Adrian Gallagher, Ross Nicoll
* trivial: Mark overrides as such.Daniel Kraft2018-05-201-3/+3
| | | | | | | | This trivial change adds the "override" keyword to some methods of subclasses meant to override interface methods. This ensures that any future change to the interface' method signatures which are not correctly mirrored in the subclass will break at compile time with a clear error message, rather than fail at runtime (which is harder to debug).
* Add unit tests for signals generated by ProcessNewBlock()Jesse Cohen2018-05-161-0/+184
After a recent bug discovered in callback ordering in MainSignals, this test checks invariants in ordering of BlockConnected / BlockDisconnected / UpdatedChainTip signals