// 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 #include #include "CryptoNoteCore/CryptoNoteBasic.h" #include "IWalletLegacy.h" #include "ITransfersContainer.h" namespace CryptoNote { struct TxDustPolicy { uint64_t dustThreshold; bool addToFee; CryptoNote::AccountPublicAddress addrForDust; TxDustPolicy(uint64_t a_dust_threshold = 0, bool an_add_to_fee = true, CryptoNote::AccountPublicAddress an_addr_for_dust = CryptoNote::AccountPublicAddress()) : dustThreshold(a_dust_threshold), addToFee(an_add_to_fee), addrForDust(an_addr_for_dust) {} }; struct SendTransactionContext { TransactionId transactionId; std::vector outs; uint64_t foundMoney; std::list selectedTransfers; TxDustPolicy dustPolicy; uint64_t mixIn; }; } //namespace CryptoNote