// // Keszitette: Toldi Balázs Ádám // Datum: 2020. 03. 15. // #ifndef BLOCKCHAIN_BLOCKCHAIN_H #define BLOCKCHAIN_BLOCKCHAIN_H #include #include #include "Block.h" class Blockchain { static int difficulty; static int blockReward; std::vector blockList; public: const std::vector &getBlockList() const; static int getDifficulty(); static int getBlockReward(); bool verifyBlocks() const; bool addBlock(Block& b); }; #endif //BLOCKCHAIN_BLOCKCHAIN_H