mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
0648496e21
* Announce blocks as HEADERS instead of INV in comptool Announcing as INV results in one GETHEADERS message per INV item with every GETHEADERS containing the same block locator info. This in turn results in many (1088 in p2p-fullblocktests) replies with each having i+1 headers. As every message is sent in one go, the message processing queue gets overloaded, leading to GETDATA timeouts for blocks and thus failing the tests. Announcing the blocks directly with HEADERS avoids all this and results in one GETDATA per announced header. This will later conflict with backported improvements from Bitcoin. When we get to this point, we can simply ignore changes on Dash's side and take the improvements from Bitcoin (which also switch to header announcement, but after some refactorings) * Give wait_for_pings more time Large reorgs as in the p2p-fullblocktest can cause very long long delays for the ping that we're waiting for. This was not a problem before #2593, as before this wait_until was waiting forever. |
||
---|---|---|
.. | ||
__init__.py | ||
authproxy.py | ||
bignum.py | ||
blockstore.py | ||
blocktools.py | ||
comptool.py | ||
coverage.py | ||
key.py | ||
mininode.py | ||
netutil.py | ||
script.py | ||
siphash.py | ||
socks5.py | ||
test_framework.py | ||
util.py |