mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
[refactor] make AlreadyHaveTx and Find1P1CPackage private to TxDownloadImpl
This commit is contained in:
parent
1e08195135
commit
f150fb94e7
3 changed files with 10 additions and 22 deletions
|
|
@ -39,10 +39,6 @@ void TxDownloadManager::BlockDisconnected()
|
|||
{
|
||||
m_impl->BlockDisconnected();
|
||||
}
|
||||
bool TxDownloadManager::AlreadyHaveTx(const GenTxid& gtxid, bool include_reconsiderable)
|
||||
{
|
||||
return m_impl->AlreadyHaveTx(gtxid, include_reconsiderable);
|
||||
}
|
||||
void TxDownloadManager::ConnectedPeer(NodeId nodeid, const TxDownloadConnectionInfo& info)
|
||||
{
|
||||
m_impl->ConnectedPeer(nodeid, info);
|
||||
|
|
@ -63,10 +59,6 @@ void TxDownloadManager::ReceivedNotFound(NodeId nodeid, const std::vector<uint25
|
|||
{
|
||||
m_impl->ReceivedNotFound(nodeid, txhashes);
|
||||
}
|
||||
std::optional<PackageToValidate> TxDownloadManager::Find1P1CPackage(const CTransactionRef& ptx, NodeId nodeid)
|
||||
{
|
||||
return m_impl->Find1P1CPackage(ptx, nodeid);
|
||||
}
|
||||
void TxDownloadManager::MempoolAcceptedTx(const CTransactionRef& tx)
|
||||
{
|
||||
m_impl->MempoolAcceptedTx(tx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue