[RPC] add feerate option to fundrawtransaction

This commit is contained in:
Jonas Schnelli
2016-04-28 22:04:07 +02:00
committed by lateminer
parent 547dada2d4
commit 4aab709412
5 changed files with 26 additions and 6 deletions

View File

@@ -684,7 +684,7 @@ public:
* Insert additional inputs into the transaction by
* calling CreateTransaction();
*/
bool FundTransaction(CMutableTransaction& tx, CAmount& nFeeRet, int& nChangePosInOut, std::string& strFailReason, bool includeWatching, bool lockUnspents, const CTxDestination& destChange = CNoDestination());
bool FundTransaction(CMutableTransaction& tx, CAmount& nFeeRet, const CFeeRate& specificFeeRate, int& nChangePosInOut, std::string& strFailReason, bool includeWatching, bool lockUnspents, const CTxDestination& destChange = CNoDestination());
/**
* Create a new transaction paying the recipients with a set of coins