Just Wonder
f175979d91
Fixed functional test cases.
5 years ago
Jianping Wu
3cf8093553
Increased nPowTargetTimespan to 10 seconds for RegTest.
...
Checked fPowNoRetargeting in pow.cpp.
6 years ago
Jianping Wu
392b7aba5f
More changes from litecoin to kevacoin.
6 years ago
MarcoFalke
08334b73be
qa: Pad scriptPubKeys to get minimum sized txs
...
Github-Pull: #11423
Rebased-From: 364bae5f7a6b16eef63990154e48f19e7e693039
7 years ago
Adrian Gallagher
32ee7c79ae
Litecoin: Fix tests
7 years ago
Adrian Gallagher
e838c27971
Litecoin: Fix various tests
7 years ago
Anthony Towns
ca6523d0c8
[tests] Rename feature_* functional tests.
7 years ago
Pieter Wuille
57273f2b30
[test] Serialize CTransaction with witness by default
7 years ago
Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
7 years ago
John Newbery
74e64f24b8
[tests] Use network_thread_start() in tests.
7 years ago
John Newbery
f893085325
[tests] Don't subclass from object for Python 3
7 years ago
John Newbery
5448a1471d
[tests] don't override __init__() in individual tests
...
Almost all test scripts currently need to override the __init__()
method. When they do that they need to call into super().__init__() as
the base class does some generic initialization.
This commit makes the base class __init__() call into set_test_params()
method. Individual test cases can override set_test_params() to setup
their test parameters.
7 years ago
practicalswift
2e6080bbf3
Remove unused variables and/or function calls
7 years ago
John Newbery
5d08c9c579
Send the correct error code in reject messages
8 years ago
John Newbery
c28ee91db0
Rename rpc-tests directory to functional
8 years ago
John Newbery
00902c48cd
Rename qa directory to test
8 years ago
John Newbery
3f95a806b1
Fix docstrings in qa tests
...
This commit fixes the module-level docstrings for the tests and helper
modules in qa. Many of these tests were uncommented previously - this
commit ensures that every test case has at least a minimum level of
commenting.
8 years ago
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