Apply suggestions from code review
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
2cb14d79b1
commit
31e1ea63e1
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
* 1. scriptSigs with extra data stuffed into them,
|
* 1. scriptSigs with extra data stuffed into them,
|
||||||
* not consumed by scriptPubKey (or P2SH script)
|
* not consumed by scriptPubKey (or P2SH script)
|
||||||
* 2. P2SH scripts with a crazy number of expensive
|
* 2. P2SH scripts with very many expensive
|
||||||
* CHECKSIG/CHECKMULTISIG operations
|
* CHECKSIG/CHECKMULTISIG operations
|
||||||
*
|
*
|
||||||
* Check transaction inputs, and make sure any
|
* Check transaction inputs, and make sure any
|
||||||
|
|
|
@ -111,8 +111,7 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet)
|
||||||
* multisig scripts, this populates the addressRet vector with the pubkey IDs
|
* multisig scripts, this populates the addressRet vector with the pubkey IDs
|
||||||
* and nRequiredRet with the n required to spend. For other destinations,
|
* and nRequiredRet with the n required to spend. For other destinations,
|
||||||
* addressRet is populated with a single value and nRequiredRet is set to 1.
|
* addressRet is populated with a single value and nRequiredRet is set to 1.
|
||||||
* Returns true if successful. Currently does not extract address from
|
* Returns true if successful.
|
||||||
* pay-to-witness scripts.
|
|
||||||
*/
|
*/
|
||||||
bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<CTxDestination>& addressRet, int& nRequiredRet);
|
bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<CTxDestination>& addressRet, int& nRequiredRet);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue