![]() |
Bitcoin Core
21.99.0
P2P Digital Currency
|
#include <txrequest.h>
#include <crypto/siphash.h>
#include <net.h>
#include <primitives/transaction.h>
#include <random.h>
#include <uint256.h>
#include <util/memory.h>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <chrono>
#include <unordered_map>
#include <utility>
#include <assert.h>
Go to the source code of this file.
Classes | |
class | TxRequestTracker::Impl |
Actual implementation for TxRequestTracker's data structure. More... | |
Enumerations | |
enum | State : uint8_t |
The various states a (txhash,peer) pair can be in. More... | |
enum | WaitState |
|
strong |
The various states a (txhash,peer) pair can be in.
Note that CANDIDATE is split up into 3 substates (DELAYED, BEST, READY), allowing more efficient implementation. Also note that the sorting order of ByTxHashView relies on the specific order of values in this enum.
Expected behaviour is:
Definition at line 39 of file txrequest.cpp.
|
strong |
Definition at line 182 of file txrequest.cpp.