![]() |
Bitcoin Core
28.1.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 <boost/multi_index/indexed_by.hpp>#include <boost/multi_index/ordered_index.hpp>#include <boost/multi_index/sequenced_index.hpp>#include <boost/multi_index/tag.hpp>#include <boost/multi_index_container.hpp>#include <boost/tuple/tuple.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 42 of file txrequest.cpp.
|
strong |
Definition at line 179 of file txrequest.cpp.
1.8.14