mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 02:31:05 +02:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user