Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/fees.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2017 The Bitcoin Core developers | // Copyright (c) 2009-2017 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <wallet/fees.h> | #include <wallet/fees.h> | ||||
#include <config.h> | #include <config.h> | ||||
#include <policy/policy.h> | |||||
#include <txmempool.h> | #include <txmempool.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <validation.h> | |||||
#include <wallet/coincontrol.h> | #include <wallet/coincontrol.h> | ||||
#include <wallet/wallet.h> | #include <wallet/wallet.h> | ||||
Amount GetRequiredFee(const CWallet &wallet, unsigned int nTxBytes) { | Amount GetRequiredFee(const CWallet &wallet, unsigned int nTxBytes) { | ||||
return GetRequiredFeeRate(wallet).GetFeeCeiling(nTxBytes); | return GetRequiredFeeRate(wallet).GetFeeCeiling(nTxBytes); | ||||
} | } | ||||
Amount GetMinimumFee(const CWallet &wallet, unsigned int nTxBytes, | Amount GetMinimumFee(const CWallet &wallet, unsigned int nTxBytes, | ||||
Show All 27 Lines |