bitcoin/test/functional/test_framework
fanquake eca2e430ac
Merge bitcoin/bitcoin#28632: test: make python p2p not send getaddr on incoming connections
9cfc1c9440 test: check that we don't send a getaddr msg to an inbound peer (Martin Zumsande)
88c33c6748 test: make python p2p not send getaddr messages when it's being connected to (Martin Zumsande)

Pull request description:

  `bitcoind` nodes send `getaddr` messages only to outbound nodes (and ignore `getaddr` received by outgoing connections).
  The python p2p node should mirror this behavior by not sending a `getaddr` message when it is not the initiator of the connection.
  This is currently causing several unnecessary messages being sent and then ignored (`Ignoring "getaddr" from outbound-full-relay connection.`) in tests like `p2p_add_connections.py`.

ACKs for top commit:
  pinheadmz:
    concept ACK 9cfc1c9440
  pablomartin4btc:
    re ACK 9cfc1c9440
  BrandonOdiwuor:
    re ACK 9cfc1c9440

Tree-SHA512: 812bec5d8a4828b4384d4cdd4362d6eec09acb2363e888f2b3e3bf8b925e0e17f15e13dc297d6b616c68b93ace9ede7245b07b405d3f5f8eada98350f74230dc
2023-11-01 10:39:48 +00:00
..
__init__.py
address.py
authproxy.py
bdb.py
bip340_test_vectors.csv
blockfilter.py
blocktools.py
coverage.py
descriptors.py
ellswift.py
ellswift_decode_test_vectors.csv
key.py test: add unit test coverage for Python ECDSA implementation 2023-09-20 18:19:29 +02:00
messages.py net: advertise NODE_P2P_V2 if CLI arg -v2transport is on 2023-10-02 18:09:53 -04:00
muhash.py
netutil.py test: add coverage to feature_addrman.py 2023-10-01 22:43:49 -05:00
p2p.py test: make python p2p not send getaddr messages when it's being connected to 2023-10-10 13:01:06 -04:00
psbt.py
ripemd160.py
script.py test: refactor: deduplicate segwitv0 ECDSA signing for tx inputs 2023-07-25 22:15:56 +02:00
script_util.py
secp256k1.py
segwit_addr.py
siphash.py test: python E721 updates 2023-07-31 12:13:46 -06:00
socks5.py test: add keep_alive option to socks5 proxy in test_framework 2023-07-10 10:07:45 -04:00
test_framework.py test: refactor: support sending funds with outpoint result 2023-10-24 11:13:51 +02:00
test_node.py Merge bitcoin/bitcoin#28632: test: make python p2p not send getaddr on incoming connections 2023-11-01 10:39:48 +00:00
test_shell.py
util.py Merge bitcoin/bitcoin#28727: test: replace random_bytes with random.randbytes 2023-10-29 10:14:59 +01:00
wallet.py [test framework] add ability to spend only confirmed utxos 2023-09-13 16:14:18 +01:00
wallet_util.py test: Add Wallet Unlock Context Manager 2023-10-10 18:12:31 +03:00
xswiftec_inv_test_vectors.csv