// Copyright (c) 2011-2015 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 #include namespace Tests { namespace Common { class TestNode { public: virtual bool startMining(size_t threadsCount, const std::string& address) = 0; virtual bool stopMining() = 0; virtual bool stopDaemon() = 0; virtual bool submitBlock(const std::string& block) = 0; virtual bool makeINode(std::unique_ptr& node) = 0; virtual ~TestNode() { } }; } }