marcofleon
d588575ed1
refactor: miscellaneous GenTxid followups
...
Addresses a few comments from #32631 :
https://github.com/bitcoin/bitcoin/pull/32631#discussion_r2199951996
https://github.com/bitcoin/bitcoin/pull/32631#discussion_r2201874252
https://github.com/bitcoin/bitcoin/pull/32631#discussion_r2201918072
2025-07-23 15:01:18 +01:00
marcofleon
a60f863d3e
scripted-diff: Replace GenTxidVariant with GenTxid
...
-BEGIN VERIFY SCRIPT-
sed -i 's/GenTxidVariant/GenTxid/g' $(git grep -l 'GenTxidVariant')
-END VERIFY SCRIPT-
2025-07-08 20:00:51 +01:00
marcofleon
1b528391c7
Convert txrequest to GenTxidVariant
...
Switch all instances of GenTxid to the new variant
in `txrequest` and complete `txdownloadman_impl` by
converting `GetRequestsToSend`.
2025-07-08 20:00:51 +01:00
fanquake
7193245cd6
doc: remove For ... comments
...
We don't add or maintain these, and they are of little value, as
well as having the effect of polluting diffs.
They are also wrong, i.e DEFAULT_SCRIPTCHECK_THREADS is not in
validation.h.
2025-05-19 16:40:33 +01:00
Antoine Poinsot
4489117c3f
doc: txrequest: point to past censorship vulnerability in tx re-request handling
2025-02-12 15:10:28 -05:00
glozow
7704139cf0
[refactor] make GetCandidatePeers take uint256 and in-out vector
...
The txrequest fuzzer uses uint256s, not transactions, so it's best if
GetCandidatePeers takes that as an input.
2025-01-29 18:05:16 -05:00
glozow
6951ddcefd
[txrequest] GetCandidatePeers
...
Needed for a later commit adding logic to ask the TxRequestTracker for a
list of announcers. These announcers should know the parents of the
transaction they announced.
2025-01-06 09:02:05 -05:00
Pieter Wuille
fd9a0060f0
Report and verify expirations
2020-10-12 12:14:53 -07:00
Pieter Wuille
3c7fe0e5a0
Add txrequest unit tests
...
Add unit tests for TxRequestTracker. Several scenarios are tested,
randomly interleaved with eachother.
Includes a test by Antoine Riard (ariard).
2020-10-12 12:08:43 -07:00
Pieter Wuille
da3b8fde03
Add txrequest module
...
This adds a new module (unused for now) which defines TxRequestTracker, a data
structure that maintains all information about transaction requests, and coordinates
requests.
2020-10-12 11:01:16 -07:00