aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/blocktools.py
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2024-01-30 02:59:01 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2024-02-01 13:33:23 +0100
commitb198b9c2ce28463f7c6a2b4cf08d64138c8509ee (patch)
tree495cddf26bddf0385646e0ab56c4b341429225d6 /test/functional/test_framework/blocktools.py
parentaa9231fafe45513134ec8953a217cda07446fae8 (diff)
test: p2p: introduce helper for sending prepared VERSION message
This deduplicates code for sending out the VERSION message (if available and not sent yet), currently used at three different places: 1) in the `connection_made` asyncio callback (for v1 connections that are not v2 reconnects) 2) at the end of `v2_handshake`, if the v2 handshake succeeded 3) in the `on_version` callback, if a reconnection with v1 happens
Diffstat (limited to 'test/functional/test_framework/blocktools.py')
0 files changed, 0 insertions, 0 deletions