aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2018-03-05 16:37:24 -0500
committerAndrew Chow <[email protected]>2018-03-09 21:15:36 -0500
commit12ec29d3bb0d46c61712210fe9bb96a0d543204a (patch)
tree5570d616050510641d8f55d894da60048841e6cf /src/script/sign.h
parentMerge #9598: Improve readability by removing redundant casts to same type (on... (diff)
downloaddiscoin-12ec29d3bb0d46c61712210fe9bb96a0d543204a.tar.xz
discoin-12ec29d3bb0d46c61712210fe9bb96a0d543204a.zip
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 97c0014cd..2c749521c 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