MarcoFalke
fa0b916971
scripted-diff: Use generate* from TestFramework
...
-BEGIN VERIFY SCRIPT-
sed --regexp-extended -i \
's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
$(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
3 years ago
MarcoFalke
fa0074e2d8
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
4 years ago
MarcoFalke
fad7be584f
test: Fix intermittent p2p_finerprint issue
4 years ago
Sebastian Falbesoner
6b56c1f4d0
test: remove last_{block,header}_equals() in p2p_fingerprint.py
...
Testing that requests to very old blocks / block headers fail can simply be
done by checking that the node doesn't respond with any "blocks" / "headers"
message at all.
Also removes unnecessary sending of block/header requests and replaces
time.sleep(3) with node0.sync_with_ping().
4 years ago
Sebastian Falbesoner
136d96b71f
test: use wait_for_{block,header} helpers in p2p_fingerprint.py
4 years ago
Seleme Topuz
1343c86c7c
test: Update wait_until usage in tests not to use the one from utils
...
Replace "wait_until()" usage from utils, with the ones from BitcoinTestFramework and P2PInterface.
closes #19080
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
eeaaa58d2c
test: replace inv type magic numbers by constants
5 years ago
Danny Lee
9f5608c289
test: check for matching object hashes in wait_for_getdata
5 years ago
sanket1729
0ca4c8b3c6
Changed functional tests which do not require wallets to run without
...
skipping .Addreses #14216 . Changed get_deterministic_priv_key() to a
named tuple
6 years ago
MarcoFalke
fac9539836
qa: Run all tests even if wallet is not compiled
6 years ago
practicalswift
68400d8b96
tests: Use explicit imports
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
practicalswift
11376b5583
Fix a-vs-an typos
7 years ago
Anthony Towns
61b8f7f273
[tests] Rename p2p_* functional tests.
7 years ago