Sebastian Falbesoner
df5d783aef
test: refactor: take use of `create_block` txlist parameter
...
Passing a list of transactions `txlist` to `create_block` appends
them to the block, hence we don't need to do that manually anymore.
The merkle root calculation can also be removed, since this is done
in the end of the helper.
3 years ago
Sebastian Falbesoner
ae9df4ef93
test: refactor: take use of `create_block` version parameter (or use default)
3 years ago
fanquake
ffdab41f94
Merge bitcoin/bitcoin#23474 : test: scripted-diff cleanups after generate* changes
...
fac23c2114
scripted-diff: Bump copyright headers (MarcoFalke)
fa974f1f14
scripted-diff: Remove redundant sync_all and sync_blocks (MarcoFalke)
fad13991ae
test: Properly set sync_fun in NodeNetworkLimitedTest (MarcoFalke)
faeff57709
test: Use 4 spaces for indentation (MarcoFalke)
Pull request description:
Some cleanups after commit 94db963de5
ACKs for top commit:
fanquake:
ACK fac23c2114
Tree-SHA512: 5acfd5bb9679b41969d0fc6fc85801ccadcd6530ea692bac6352668e06fc7a9b0e1db3fd6fba435e84afe983d2eb07bd0a47c8364462bb7110004bd3d102b698
3 years ago
Sebastian Falbesoner
a9872e1478
test: remove unnecessary block rehashing prior to solving
...
Solving a block involves continously rehashing it, i.e. any extra
calls to rehash it before are not necessary and can be dropped.
3 years ago
MarcoFalke
fac23c2114
scripted-diff: Bump copyright headers
...
The previous diff touched most files in ./test/, so bump the headers to
avoid having to touch them again for a bump later.
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
3 years ago
Kiminuo
bfa9309ad6
Use COINBASE_MATURITY constant in functional tests.
4 years ago
MarcoFalke
fa0a4d6c60
test: remove assert_blockchain_height
4 years ago
Bruno Garcia
0d39b5848a
test: fix timeout decrease in feature_assumevalid
4 years ago
John Newbery
85165d4332
scripted-diff: Rename mininode to p2p
...
-BEGIN VERIFY SCRIPT-
sed -i 's/\.mininode/\.p2p/g' $(git grep -l "mininode")
git mv test/functional/test_framework/mininode.py test/functional/test_framework/p2p.py
-END VERIFY SCRIPT-
4 years ago
Sebastian Falbesoner
dac7a111bd
refactor: test: use _ variable for unused loop counters
...
substitutes "for x in range(N):" by "for _ in range(N):"
indicates to the reader that a block is just repeated N times, and
that the loop counter is not used in the body
4 years ago
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
MarcoFalke
fa9b3040e7
test: Bump rpc timeout in feature_assumevalid to avoid valgrind timeouts
5 years ago
MarcoFalke
fa502cb6f0
test: Bump timeouts in slow running tests
5 years ago
Ben Woosley
68f546635d
test: Fix “local variable 'e' is assigned to but never used”
...
flake8 F841 lints, as of flake8 3.6.0
5 years ago
Pieter Wuille
8c7b9324ca
Pure python EC
...
This removes the dependency on OpenSSL for the interaction tests, by providing a pure-Python
toy implementation of secp256k1.
6 years ago
MarcoFalke
faa7cdf764
scripted-diff: Update copyright in ./test
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
6 years ago
MarcoFalke
fa852f0e8d
test: Bump timeout on tests that timeout on windows
6 years ago
Graham Krizek
b6f0db69a9
Increase timeout of featuer_assumevalid test to fix flaky tests
6 years ago
MarcoFalke
8ac7125d59
Merge #13916 : qa: wait_for_verack by default
...
fa5587fe71
qa: wait_for_verack by default (MarcoFalke)
Pull request description:
This removes the need to do so manually every time a connection is added.
Tree-SHA512: a46c92cb4df41e30778b42b9fd3dcbd8d2d82aa7503d1213cb1c1165034f648d8caee01c292e2d87d05b0f71696996eef5be8a753f35ab49e5f66b0e3bf29f21
6 years ago
MarcoFalke
fa5587fe71
qa: wait_for_verack by default
6 years ago
DrahtBot
eb7daf4d60
Update copyright headers to 2018
6 years ago
MarcoFalke
fa87da2f17
qa: Avoid start/stop of the network thread mid-test
6 years ago
MarcoFalke
fa1eac9cdb
[qa] mininode: Expose connection state through is_connected
6 years ago
Anthony Towns
ca6523d0c8
[tests] Rename feature_* functional tests.
7 years ago