Hennadii Stepanov
a0473442d1
scripted-diff: Add `__file__` argument to `BitcoinTestFramework.init()`
...
-BEGIN VERIFY SCRIPT-
sed -i -e 's/\s*().main\s*()/(__file__).main()/' $(git ls-files test/functional/*.py)
sed -i -e 's/def __init__(self)/def __init__(self, test_file)/' test/functional/test_framework/test_framework.py
-END VERIFY SCRIPT-
4 months ago
Martin Zumsande
ee2417ed61
test: fix intermittent failure in p2p_leak_tx.py
1 year ago
MarcoFalke
faa2976a56
Remove mapRelay
1 year ago
MarcoFalke
fa4c16b186
test: Add test to check tx in the last block can be downloaded
1 year ago
MarcoFalke
fadc8490ab
test: Split up test_notfound_on_unannounced_tx test case
1 year ago
kouloumos
42029a7fd4
test: remove redundant blocks generation logic
...
those tests already have enough mature utxos from the pre-mined chain.
2 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
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
Kiminuo
bfa9309ad6
Use COINBASE_MATURITY constant in functional tests.
3 years ago
Sebastian Falbesoner
5b77f8098d
test: add p2p_lock acquires in p2p_leak_tx.py
4 years ago
Sebastian Falbesoner
cc8c6823b4
test: use MiniWallet for p2p_leak_tx.py
...
This test can now be run even with the Bitcoin Core wallet disabled.
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
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
Jon Atack
6112a20982
test: replace (send_message + sync_with_ping) with send_and_ping
5 years ago
MarcoFalke
fa78a2fc67
[tests] Test that nodes respond to getdata with notfound
...
If a node has not announced a tx at all, then it should respond to
getdata messages for that tx with notfound, to avoid leaking tx
origination privacy.
6 years ago