Suhas Daftuar
ba803efb68
Harden against mistakes handling invalid blocks
...
Fixes a bug in AcceptBlock() in invoking CheckBlock() with incorrect
arguments, and restores a call to CheckBlock() from ProcessNewBlock()
as belt-and-suspenders.
Updates the (overspecified) tests to match behavior.
8 years ago
BtcDrak
09dc4064ac
Make test constant consistent with consensus.h
8 years ago
Wladimir J. van der Laan
c1582d5d85
qa: Remove duplicate `hash160` implementation
...
`hash160` is defined in `test_framework.script`, so there is no need
to define it here again.
8 years ago
mrbandrews
ff2dcf274d
Tests: Edit bloated varint test and add option for 'barely expensive' tests
9 years ago
mrbandrews
291f8aa5da
Continuing port of java comptool
9 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
MarcoFalke
fa60d05a4e
Add missing copyright headers
9 years ago
Suhas Daftuar
9b41a5fba2
Add more tests to p2p-fullblocktest
9 years ago
Casey Rodarmor
0ce73985a8
Add p2p-fullblocktest.py
9 years ago