mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
[txdownload] add read-only reference to mempool
This will become necessary in later commits that query mempool. We also introduce the TxDownloadOptions in this commit to make the later diff easier to review.
This commit is contained in:
@@ -7,13 +7,14 @@
|
||||
|
||||
#include <chain.h>
|
||||
#include <consensus/validation.h>
|
||||
#include <txmempool.h>
|
||||
#include <validation.h>
|
||||
#include <validationinterface.h>
|
||||
|
||||
namespace node {
|
||||
// TxDownloadManager wrappers
|
||||
TxDownloadManager::TxDownloadManager() :
|
||||
m_impl{std::make_unique<TxDownloadManagerImpl>()}
|
||||
TxDownloadManager::TxDownloadManager(const TxDownloadOptions& options) :
|
||||
m_impl{std::make_unique<TxDownloadManagerImpl>(options)}
|
||||
{}
|
||||
TxDownloadManager::~TxDownloadManager() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user