aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-03-05 16:37:24 -0500
committerAndrew Chow <achow101-github@achow101.com>2018-03-09 21:15:36 -0500
commit12ec29d3bb0d46c61712210fe9bb96a0d543204a (patch)
tree5570d616050510641d8f55d894da60048841e6cf /src/script/sign.h
parenta34ac6ae0788b50e12dd2c8ac59dbda2a03a3c2e (diff)
Calculate and store the number of bytes required to spend an input
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 97c0014cd0..2c749521cd 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -80,6 +80,7 @@ SignatureData CombineSignatures(const CScript& scriptPubKey, const BaseSignature
/** Extract signature data from a transaction, and insert it. */
SignatureData DataFromTransaction(const CMutableTransaction& tx, unsigned int nIn);
void UpdateTransaction(CMutableTransaction& tx, unsigned int nIn, const SignatureData& data);
+void UpdateInput(CTxIn& input, const SignatureData& data);
/* Check whether we know how to sign for an output like this, assuming we
* have all private keys. While this function does not need private keys, the passed