danicoin/src/CryptoNoteCore/IBlock.h
2016-01-18 15:33:29 +00:00

19 lines
473 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 "CryptoNote.h"
namespace CryptoNote {
class IBlock {
public:
virtual ~IBlock();
virtual const Block& getBlock() const = 0;
virtual size_t getTransactionCount() const = 0;
virtual const Transaction& getTransaction(size_t index) const = 0;
};
}