danicoin/src/CryptoNoteProtocol/ICryptoNoteProtocolObserver.h
2016-01-18 15:33:29 +00:00

21 lines
539 B
C++

// Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <cstddef>
#include <cstdint>
#include <cstddef>
namespace CryptoNote {
class ICryptoNoteProtocolObserver {
public:
virtual void peerCountUpdated(size_t count) {}
virtual void lastKnownBlockHeightUpdated(uint32_t height) {}
virtual void blockchainSynchronized(uint32_t topHeight) {}
};
} //namespace CryptoNote