Sebastian Falbesoner
23be0ec2f0
test: rename CBlockHeader .rehash()/.sha256 -> .hash_int for consistency
...
Note that we unfortunately can't use a scripted diff here, as the
`sha256` symbol is also used for other instances (e.g. as function
in hashlib, or in the `UTXO` class in p2p_segwit.py).
2025-07-17 11:59:10 +02:00
MarcoFalke
fa247e6e8c
test: Avoid intermittent timeout in p2p_headers_sync_with_minchainwork.py
2024-08-30 12:01:18 +02:00
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-
2024-07-16 22:06:47 +01:00
MarcoFalke
fa952fad2f
test: Avoid rpc timeout in p2p_headers_sync_with_minchainwork
2023-01-23 16:35:13 +01:00
Jon Atack
459cb637ac
script, test: fix python linter E275 errors with flake8 5.0.4
2023-01-03 10:59:56 -08:00
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
2022-12-24 23:49:50 +00:00
Suhas Daftuar
88e7807e77
test: fix non-determinism in p2p_headers_sync_with_minchainwork.py
...
The test for node3's chaintips needs some sort of synchronization in order to
be reliable.
2022-09-01 15:45:20 -04:00
Suhas Daftuar
e5982ecdc4
Bypass headers anti-DoS checks for NoBan peers
2022-08-30 14:11:21 -04:00
Suhas Daftuar
93eae27031
Test large reorgs with headerssync logic
2022-08-29 08:10:35 -04:00
Suhas Daftuar
03712dddfb
Expose HeadersSyncState::m_current_height in getpeerinfo()
2022-08-29 08:10:35 -04:00
Suhas Daftuar
150a5486db
Test headers sync using minchainwork threshold
2022-08-29 08:10:35 -04:00