#include #include "Block.h" #include "Blockchain.h" int main() { std::cout << "Hello, World!" << std::endl; Transaction tr("","Balazs1",100); Transaction trs[] = {tr}; Block b(trs,1); b.mine(3); std::cout << b.getHash() << std::endl; Block b2(nullptr,0,b.getHash()); std::cout << b.getHash() << std::endl; std::cout << b2.getPerviousHash() << std::endl; Blockchain bc; return 0; }