test: address self-announcement

Test that a node sends a self-announcement with its external IP to
in- and outbound peers after connection open and again sometime later.

Since the code for the test is mostly the same for addr and addrv2
messages, I opted to add a new test file instead of having duplicate
code in p2p_addr_relay.py and p2p_addrv2_relay.py.

Co-Authored-By: rkrux <rkrux.connect@gmail.com>
This commit is contained in:
0xb10c
2025-12-01 13:53:03 +01:00
parent cca113f5b0
commit 1841bf9cb6
2 changed files with 143 additions and 0 deletions

View File

@@ -276,6 +276,7 @@ BASE_SCRIPTS = [
'p2p_initial_headers_sync.py',
'feature_nulldummy.py',
'mempool_accept.py',
'p2p_addr_selfannouncement.py',
'mempool_expiry.py',
'wallet_importdescriptors.py',
'wallet_crosschain.py',