aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.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/policy/policy.h
parenta34ac6ae0788b50e12dd2c8ac59dbda2a03a3c2e (diff)
downloadbitcoin-12ec29d3bb0d46c61712210fe9bb96a0d543204a.tar.xz
Calculate and store the number of bytes required to spend an input
Diffstat (limited to 'src/policy/policy.h')
-rw-r--r--src/policy/policy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h
index 3d96406bbc..e4eda4b635 100644
--- a/src/policy/policy.h
+++ b/src/policy/policy.h
@@ -102,5 +102,6 @@ extern unsigned int nBytesPerSigOp;
/** Compute the virtual transaction size (weight reinterpreted as bytes). */
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost);
int64_t GetVirtualTransactionSize(const CTransaction& tx, int64_t nSigOpCost = 0);
+int64_t GetVirtualTransactionInputSize(const CTxIn& tx, int64_t nSigOpCost = 0);
#endif // BITCOIN_POLICY_POLICY_H