scripted-diff: rename CChainState -> Chainstate

-BEGIN VERIFY SCRIPT-
sed -i 's/CChainState/Chainstate/g' $(git grep -l CChainState ':(exclude)doc/release-notes*')
-END VERIFY SCRIPT-

Co-authored-by: MacroFake <falke.marco@gmail.com>
This commit is contained in:
James O'BeirneandMacroFake committed 2022-09-09 11:47:27 -04:00
1 parent 37095c7dc4
commit 00eeb31c76
33 files changed
+154 -154

No files matched your search

+2 -2
View File
@@ -962,7 +962,7 @@ void CTxMemPool::UpdateTransactionsFromBlock(...)
```C++
// validation.h
class CChainState
class Chainstate
{
protected:
...
@@ -983,7 +983,7 @@ public:
}
// validation.cpp
bool CChainState::PreciousBlock(BlockValidationState& state, CBlockIndex* pindex)
bool Chainstate::PreciousBlock(BlockValidationState& state, CBlockIndex* pindex)
{
AssertLockNotHeld(m_chainstate_mutex);
AssertLockNotHeld(::cs_main);