// Copyright (c) 2017-2018 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "reverse_iterate.h" #include "util.h" #include "libzerocoin/Denominations.h" #include "zagr/zerocoin.h" #include #include std::vector SelectMintsFromList(const CAmount nValueTarget, CAmount& nSelectedValue, int nMaxNumberOfSpends, bool fMinimizeChange, int& nCoinsReturned, const std::list& listMints, const std::map mapDenomsHeld, int& nNeededSpends ); int calculateChange( int nMaxNumberOfSpends, bool fMinimizeChange, const CAmount nValueTarget, const std::map& mapOfDenomsHeld, std::map& mapOfDenomsUsed); void listSpends(const std::vector& vSelectedMints);