mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-15 16:33:52 +02:00
refactor: normalize CCoinsView whitespace and signatures
Let's get these out of the way to simplify riskier followup commits
This commit is contained in:
@@ -78,7 +78,8 @@ std::optional<Coin> CCoinsViewDB::GetCoin(const COutPoint& outpoint) const
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
|
||||
bool CCoinsViewDB::HaveCoin(const COutPoint& outpoint) const
|
||||
{
|
||||
return m_db->Exists(CoinEntry(&outpoint));
|
||||
}
|
||||
|
||||
@@ -174,7 +175,7 @@ class CCoinsViewDBCursor: public CCoinsViewCursor
|
||||
public:
|
||||
// Prefer using CCoinsViewDB::Cursor() since we want to perform some
|
||||
// cache warmup on instantiation.
|
||||
CCoinsViewDBCursor(CDBIterator* pcursorIn, const uint256&in_block_hash):
|
||||
CCoinsViewDBCursor(CDBIterator* pcursorIn, const uint256& in_block_hash):
|
||||
CCoinsViewCursor(in_block_hash), pcursor(pcursorIn) {}
|
||||
~CCoinsViewDBCursor() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user