Page MenuHomePhabricator

test: Add test to check tx in the last block can be downloaded
ClosedPublic

Authored by PiRK on Jul 15 2025, 12:13.

Details

Summary

If a peer received an inv about a transaction, which was included in a block before receiving the corresponding getdata, it can be beneficial to send this transaction to the peer to aid compact block relay.

Add a test for this to avoid breaking it in the future.

This is a backport of core#27695

Test Plan

ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable