Remove GetSerializeHash() method.

This commit is contained in:
Simon
2016-07-29 23:28:34 -07:00
parent c63af91a78
commit 74cd8821c7
2 changed files with 5 additions and 18 deletions

View File

@@ -343,10 +343,6 @@ public:
return vin.empty() && vout.empty();
}
const uint256& GetSerializeHash() const {
return hash;
}
// Return sum of txouts.
CAmount GetValueOut() const;
// GetValueIn() is a method on CCoinsViewCache, because
@@ -416,12 +412,9 @@ struct CMutableTransaction
}
}
/** Compute the hash of this CMutableTransaction. This is computed on the
* fly, as opposed to GetSerializeHash() in CTransaction, which uses a cached result.
/** Compute the non-malleable txid of this CMutableTransaction. This is computed on the
* fly, as opposed to GetTxid() in CTransaction, which uses a cached result.
*/
uint256 GetSerializeHash() const;
// Compute a non-malleable txid on the fly.
uint256 GetTxid() const;
};