refactor: Remove unused parameter in ReportHeadersPresync
Co-Authored-By: Aurèle Oulès <aurele@oules.com>
This commit is contained in:
1 parent
256246a9fa
commit
0488bdfefe
3 files changed
+3
-3
No files matched your search
@@ -4620,7 +4620,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
|
|||||||
if (it != m_headers_presync_stats.end()) stats = it->second;
|
if (it != m_headers_presync_stats.end()) stats = it->second;
|
||||||
}
|
}
|
||||||
if (stats.second) {
|
if (stats.second) {
|
||||||
m_chainman.ReportHeadersPresync(stats.first, stats.second->first, stats.second->second);
|
m_chainman.ReportHeadersPresync(stats.second->first, stats.second->second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -4380,7 +4380,7 @@ bool ChainstateManager::ProcessNewBlockHeaders(std::span<const CBlockHeader> hea
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChainstateManager::ReportHeadersPresync(const arith_uint256& work, int64_t height, int64_t timestamp)
|
void ChainstateManager::ReportHeadersPresync(int64_t height, int64_t timestamp)
|
||||||
{
|
{
|
||||||
AssertLockNotHeld(GetMutex());
|
AssertLockNotHeld(GetMutex());
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -1286,7 +1286,7 @@ public:
|
|||||||
* headers are not yet fed to validation during that time, but validation is (for now)
|
* headers are not yet fed to validation during that time, but validation is (for now)
|
||||||
* responsible for logging and signalling through NotifyHeaderTip, so it needs this
|
* responsible for logging and signalling through NotifyHeaderTip, so it needs this
|
||||||
* information. */
|
* information. */
|
||||||
void ReportHeadersPresync(const arith_uint256& work, int64_t height, int64_t timestamp);
|
void ReportHeadersPresync(int64_t height, int64_t timestamp);
|
||||||
|
|
||||||
//! When starting up, search the datadir for a chainstate based on a UTXO
|
//! When starting up, search the datadir for a chainstate based on a UTXO
|
||||||
//! snapshot that is in the process of being validated.
|
//! snapshot that is in the process of being validated.
|
||||||
|
|||||||
Reference in new issue
Block a user