lbrycrd/test/functional/test_framework
Wladimir J. van der Laan fef65c4f5e
Merge #11113: [net] Ignore getheaders requests for very old side blocks
eff4bd8 [test] P2P functional test for certain fingerprinting protections (Jim Posen)
a2be3b6 [net] Ignore getheaders requests for very old side blocks (Jim Posen)

Pull request description:

  Sending a getheaders message with an empty locator and a stop hash is a request for a single header by hash. The node will respond with headers for blocks not in the main chain as well as those in the main chain. To avoid fingerprinting, the node should, however, ignore requests for headers on side branches that are too old. This replicates the logic that currently exists for `getdata` requests for blocks.

Tree-SHA512: e04ef61e2b73945be6ec5977b3c5680b6dc3667246f8bfb67afae1ecaba900c0b49b18bbbb74869f7a37ef70b6ed99e78ebe0ea0a1569369fad9e447d720ffc4
2017-10-11 10:54:05 +02:00
..
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
authproxy.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blockstore.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blocktools.py Tests: Refactor to create witness script creation function 2017-04-20 11:28:45 -07:00
comptool.py qa: Move wait_until to util 2017-08-17 15:17:09 +02:00
coverage.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
key.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
mininode.py [test] P2P functional test for certain fingerprinting protections 2017-10-03 10:28:00 -07:00
netutil.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
script.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
segwit_addr.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
siphash.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
socks5.py Use the variable name _ for unused return values 2017-08-28 15:18:14 +02:00
test_framework.py [test] Add restart_node to BitcoinTestFramework 2017-09-20 15:38:09 +01:00
test_node.py [test] Replace check_output with low level version 2017-09-07 00:35:28 +01:00
util.py scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error 2017-10-05 09:57:19 -04:00