aboutsummaryrefslogtreecommitdiff
path: root/src/txorphanage.h
diff options
context:
space:
mode:
authorBrotcrunsher <Brotcrunsher@hotmail.de>2023-06-04 18:34:48 +0200
committerBrotcrunsher <Brotcrunsher@hotmail.de>2023-06-20 10:23:08 +0200
commitbdea2bb1147bbd22f8b4fa406262470f9d084215 (patch)
tree67b9656e7055dd9c0cc0954d53a2af5174c891b5 /src/txorphanage.h
parent8f402710371a40c5777dc3f9c4ba6ca8505a2f90 (diff)
scripted-diff: Following the C++ Standard rules for identifiers with _.
Any identifier starting with two _, or one _ followed by a capital letter is reserved for the compiler and thus must not be used. See: https://stackoverflow.com/a/228797/7130273 -BEGIN VERIFY SCRIPT- s() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; } s '__pushKV' 'pushKVEnd' s '_EraseTx' 'EraseTxNoLock' s '_Other' 'Other' -END VERIFY SCRIPT-
Diffstat (limited to 'src/txorphanage.h')
-rw-r--r--src/txorphanage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txorphanage.h b/src/txorphanage.h
index 45276c6c98..a4705bf382 100644
--- a/src/txorphanage.h
+++ b/src/txorphanage.h
@@ -99,7 +99,7 @@ protected:
std::map<uint256, OrphanMap::iterator> m_wtxid_to_orphan_it GUARDED_BY(m_mutex);
/** Erase an orphan by txid */
- int _EraseTx(const uint256& txid) EXCLUSIVE_LOCKS_REQUIRED(m_mutex);
+ int EraseTxNoLock(const uint256& txid) EXCLUSIVE_LOCKS_REQUIRED(m_mutex);
};
#endif // BITCOIN_TXORPHANAGE_H