diff options
author | Andrew Chow <achow101-github@achow101.com> | 2018-03-05 16:37:24 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2018-03-09 21:15:36 -0500 |
commit | 12ec29d3bb0d46c61712210fe9bb96a0d543204a (patch) | |
tree | 5570d616050510641d8f55d894da60048841e6cf /src/script/sign.h | |
parent | a34ac6ae0788b50e12dd2c8ac59dbda2a03a3c2e (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.h | 1 |
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 |