mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge #16900: doc: Fix doxygen comment for SignTransaction in rpc/rawtransaction_util
fa8d65f07187590ae507c65a6dd63fd47b8d1fb3 doc: Fix doxygen comment for SignTransaction in rpc/rawtransaction_util (MarcoFalke) Pull request description: The param `coins` to `SignTransaction` is final and can thus not be extended (as suggested by the doc). ACKs for top commit: practicalswift: ACK fa8d65f07187590ae507c65a6dd63fd47b8d1fb3 -- const correctness is good and diff looks correct fanquake: ACK fa8d65f07187590ae507c65a6dd63fd47b8d1fb3 Tree-SHA512: 041e159f2c3cf96e296173c31f3e5f35bbc7711cc888aa4bf08aaa8c65c95ee7f7672f65396690a9af45795a618eea0fadde7fb02d29ec85f1b4df5e6d9e0c7a
This commit is contained in:
parent
b2a97a3b13
commit
1787334e29
@ -194,7 +194,7 @@ void ParsePrevouts(const UniValue& prevTxsUnival, FillableSigningProvider* keyst
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, std::map<COutPoint, Coin>& coins, const UniValue& hashType)
|
UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, const std::map<COutPoint, Coin>& coins, const UniValue& hashType)
|
||||||
{
|
{
|
||||||
int nHashType = ParseSighashString(hashType);
|
int nHashType = ParseSighashString(hashType);
|
||||||
|
|
||||||
|
@ -19,11 +19,11 @@ class SigningProvider;
|
|||||||
*
|
*
|
||||||
* @param mtx The transaction to-be-signed
|
* @param mtx The transaction to-be-signed
|
||||||
* @param keystore Temporary keystore containing signing keys
|
* @param keystore Temporary keystore containing signing keys
|
||||||
* @param coins Map of unspent outputs - coins in mempool and current chain UTXO set, may be extended by previous txns outputs after call
|
* @param coins Map of unspent outputs
|
||||||
* @param hashType The signature hash type
|
* @param hashType The signature hash type
|
||||||
* @returns JSON object with details of signed transaction
|
* @returns JSON object with details of signed transaction
|
||||||
*/
|
*/
|
||||||
UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, std::map<COutPoint, Coin>& coins, const UniValue& hashType);
|
UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, const std::map<COutPoint, Coin>& coins, const UniValue& hashType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse a prevtxs UniValue array and get the map of coins from it
|
* Parse a prevtxs UniValue array and get the map of coins from it
|
||||||
|
Loading…
Reference in New Issue
Block a user