Schedules and tracks pending transaction requests to peers.
Synopsis
Declared in <txrequest.h>
class TxRequestTracker;
Member Functions
Name |
Description |
|
Construct a TxRequestTracker. |
|
Destroy the TxRequestTracker. |
Access to the internal priority computation (testing only) |
|
Count how many announcements a peer has (REQUESTED, CANDIDATE, and COMPLETED combined). |
|
Count how many CANDIDATE announcements a peer has. |
|
Count how many REQUESTED announcements a peer has. |
|
Deletes all announcements for a given peer. |
|
Deletes all announcements for a given txhash (both txid and wtxid ones). |
|
For some txhash (txid or wtxid), finds all peers with non‐COMPLETED announcements and appends them to result_peers. Does not try to ensure that result_peers contains no duplicates. |
|
Find the txids to request now from peer. |
|
Run a time‐dependent internal consistency check (testing only). |
|
Adds a new CANDIDATE announcement. |
|
Converts a CANDIDATE or REQUESTED announcement to a COMPLETED one. If no such announcement exists for the provided peer and txhash, nothing happens. |
|
Marks a transaction as requested, with a specified expiry. |
|
Run internal consistency check (testing only). |
|
Count how many announcements are being tracked in total across all peers and transaction hashes. |
Created with MrDocs