fix CDSNotificationInterface::UpdatedBlockTip signature (#1562)
to match the one in CValidationInterface
This commit is contained in:
parent
415085c732
commit
87707c0127
@ -18,14 +18,14 @@ CDSNotificationInterface::~CDSNotificationInterface()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindex)
|
void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload)
|
||||||
{
|
{
|
||||||
mnodeman.UpdatedBlockTip(pindex);
|
mnodeman.UpdatedBlockTip(pindexNew);
|
||||||
privateSendClient.UpdatedBlockTip(pindex);
|
privateSendClient.UpdatedBlockTip(pindexNew);
|
||||||
instantsend.UpdatedBlockTip(pindex);
|
instantsend.UpdatedBlockTip(pindexNew);
|
||||||
mnpayments.UpdatedBlockTip(pindex);
|
mnpayments.UpdatedBlockTip(pindexNew);
|
||||||
governance.UpdatedBlockTip(pindex);
|
governance.UpdatedBlockTip(pindexNew);
|
||||||
masternodeSync.UpdatedBlockTip(pindex);
|
masternodeSync.UpdatedBlockTip(pindexNew);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDSNotificationInterface::SyncTransaction(const CTransaction &tx, const CBlock *pblock)
|
void CDSNotificationInterface::SyncTransaction(const CTransaction &tx, const CBlock *pblock)
|
||||||
|
@ -16,7 +16,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
// CValidationInterface
|
// CValidationInterface
|
||||||
void UpdatedBlockTip(const CBlockIndex *pindex);
|
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload);
|
||||||
void SyncTransaction(const CTransaction &tx, const CBlock *pblock);
|
void SyncTransaction(const CTransaction &tx, const CBlock *pblock);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user