// Copyright (c) 2011-2014 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 "IWallet.h" #include #include namespace CryptoNote { class WalletTxSendingState { public: enum State { SENDING, ERRORED, NOT_FOUND }; void sending(TransactionId id); void sent(TransactionId id); void error(TransactionId id); State state(TransactionId id); private: std::map m_states; }; } //namespace CryptoNote