aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_sendtxrcncl.py
AgeCommit message (Collapse)Author
2024-02-01test: p2p: adhere to typical VERSION message protocol flowSebastian Falbesoner
The test framework's p2p implementation currently sends out it's VERSION message immediately after an inbound connection (i.e. TestNode outbound connection) is made. This doesn't follow the usual protocol flow where the initiator sends a version first, and the responders processes that and only then responds with its own version message. Change that accordingly by only sending immediate VERSION message for outbound connections (or after v2 handshake for v2 connections, respectively), and sending out VERSION messages as response for incoming VERSION messages (i.e. in the function `on_version`) for inbound connections. Note that some of the overruled `on_version` methods in functional tests needed to be changed to send the version explicitly.
2022-11-14test, refactor: Reorder sendtxrcncl tests for better readabilityGleb Naumenko
2022-11-14p2p, refactor: Extend logs for unexpected sendtxrcnclGleb Naumenko
2022-11-14p2p: Clarify sendtxrcncl policiesGleb Naumenko
2022-11-14test: Expand unit and functional tests for txreconciliationGleb Naumenko
2022-11-10p2p: Drop roles from sendtxrcnclGleb Naumenko
This feature was currently redundant (although could have provided more flexibility in the future), and already been causing confusion.
2022-11-08tests: stabilize sendtxrcncl testGleb Naumenko
2022-11-03test: fix intermittent failure in p2p_sendtxrcncl.pyMartin Zumsande
Using disconnect_p2ps instead of peer_disconnect makes the node wait for the disconnect to complete. As a result, we can reuse p2p_idx=0 in the add_outbound_p2p_connection calls.
2022-10-27net: Avoid SetTxRelay for feeler connectionsMacroFake
2022-10-25test: Check debug log as well in p2p_sendtxrcncl.pyMacroFake
2022-10-25test: Check correct disconnect reason in p2p_sendtxrcncl.pyMacroFake
Previously it disconnected due to "sendtxrcncl received after verack", now it disconnects for the correct reason.
2022-10-24test: Fix intermittent issue in p2p_sendtxrcncl.pyMacroFake
2022-10-17test: Add functional tests for sendtxrcncl message from outboundGleb Naumenko
2022-10-17test: Add functional tests for sendtxrcncl from inboundGleb Naumenko