2016-03-02 22:20:04 +01:00
|
|
|
// Copyright (c) 2015 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_DSNOTIFICATIONINTERFACE_H
|
|
|
|
#define BITCOIN_DSNOTIFICATIONINTERFACE_H
|
|
|
|
|
|
|
|
#include "validationinterface.h"
|
|
|
|
|
|
|
|
class CDSNotificationInterface : public CValidationInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// virtual CDSNotificationInterface();
|
|
|
|
CDSNotificationInterface();
|
|
|
|
virtual ~CDSNotificationInterface();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// CValidationInterface
|
|
|
|
void UpdatedBlockTip(const CBlockIndex *pindex);
|
2017-01-29 09:22:14 +01:00
|
|
|
void SyncTransaction(const CTransaction &tx, const CBlock *pblock);
|
2016-03-02 22:20:04 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BITCOIN_DSNOTIFICATIONINTERFACE_H
|