diff options
author | fanquake <fanquake@gmail.com> | 2023-11-24 14:20:15 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-11-24 14:41:58 +0000 |
commit | b5a271334ca81a6adcb1c608d85c83621a9eae47 (patch) | |
tree | 37df0285ed987465bde06048e5e2aca35af1f61d /src/coins.h | |
parent | c0196bec98d4024d4f4d29b10ccab0d808e8ad4e (diff) | |
parent | 9e58c5bcd96e7ff2062274868814ccae0626589e (diff) |
Merge bitcoin/bitcoin#28922: Use Txid in COutpoint
9e58c5bcd96e7ff2062274868814ccae0626589e Use Txid in COutpoint (dergoegge)
Pull request description:
This PR changes the type of the hash of a transaction outpoint from `uint256` to `Txid`.
ACKs for top commit:
Sjors:
ACK 9e58c5bcd96e7ff2062274868814ccae0626589e
stickies-v:
ACK 9e58c5bcd96e7ff2062274868814ccae0626589e. A sizeable diff, but very straightforward changes. Didn't see anything controversial. Left a few nits, but nothing blocking, only if you have to retouch.
TheCharlatan:
ACK 9e58c5bcd96e7ff2062274868814ccae0626589e
Tree-SHA512: 58f61ce1c58668f689513e62072a7775419c4d5af8f607669cd8cdc2e7be9645ba14af7f9e2d65da2670da3ec1ce7fc2a744037520caf799aba212fd1ac44b34
Diffstat (limited to 'src/coins.h')
-rw-r--r-- | src/coins.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coins.h b/src/coins.h index bbf9e3895f..c798cc38ba 100644 --- a/src/coins.h +++ b/src/coins.h @@ -363,7 +363,7 @@ void AddCoins(CCoinsViewCache& cache, const CTransaction& tx, int nHeight, bool //! This function can be quite expensive because in the event of a transaction //! which is not found in the cache, it can cause up to MAX_OUTPUTS_PER_BLOCK //! lookups to database, so it should be used with care. -const Coin& AccessByTxid(const CCoinsViewCache& cache, const uint256& txid); +const Coin& AccessByTxid(const CCoinsViewCache& cache, const Txid& txid); /** * This is a minimally invasive approach to shutdown on LevelDB read errors from the |