aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-09-21 15:03:22 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-11-16 13:38:12 +0100
commitfa54a408096244ff83a3e60e5fb7bfa6aecabe6b (patch)
tree37c481022551ec15d7b35ee124a68a0b41160796 /src/script/sign.h
parentad09c287cb7033a28f8d0a002c1ca4f194c12f11 (diff)
downloadbitcoin-fa54a408096244ff83a3e60e5fb7bfa6aecabe6b.tar.xz
doc: Pick better named args for MutableTransactionSignatureCreator
Argument names of "nInIn" are not helpful.
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 6d3479c143..62335b644a 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -45,8 +45,8 @@ class MutableTransactionSignatureCreator : public BaseSignatureCreator {
const PrecomputedTransactionData* m_txdata;
public:
- MutableTransactionSignatureCreator(const CMutableTransaction* txToIn, unsigned int nInIn, const CAmount& amountIn, int nHashTypeIn);
- MutableTransactionSignatureCreator(const CMutableTransaction* txToIn, unsigned int nInIn, const CAmount& amountIn, const PrecomputedTransactionData* txdata, int nHashTypeIn);
+ MutableTransactionSignatureCreator(const CMutableTransaction* tx, unsigned int input_idx, const CAmount& amount, int hash_type);
+ MutableTransactionSignatureCreator(const CMutableTransaction* tx, unsigned int input_idx, const CAmount& amount, const PrecomputedTransactionData* txdata, int hash_type);
const BaseSignatureChecker& Checker() const override { return checker; }
bool CreateSig(const SigningProvider& provider, std::vector<unsigned char>& vchSig, const CKeyID& keyid, const CScript& scriptCode, SigVersion sigversion) const override;
bool CreateSchnorrSig(const SigningProvider& provider, std::vector<unsigned char>& sig, const XOnlyPubKey& pubkey, const uint256* leaf_hash, const uint256* merkle_root, SigVersion sigversion) const override;