Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864761
D12512.id36342.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
686 B
Subscribers
None
D12512.id36342.diff
View Options
diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp
--- a/src/node/blockstorage.cpp
+++ b/src/node/blockstorage.cpp
@@ -392,6 +392,11 @@
}
m_block_index.clear();
+
+ vinfoBlockFile.clear();
+ nLastBlockFile = 0;
+ setDirtyBlockIndex.clear();
+ setDirtyFileInfo.clear();
}
bool BlockManager::WriteBlockIndexDB() {
diff --git a/src/validation.cpp b/src/validation.cpp
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -4649,10 +4649,6 @@
if (mempool) {
mempool->clear();
}
- vinfoBlockFile.clear();
- nLastBlockFile = 0;
- setDirtyBlockIndex.clear();
- setDirtyFileInfo.clear();
fHavePruned = false;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 22:13 (20 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5866032
Default Alt Text
D12512.id36342.diff (686 B)
Attached To
D12512: Move blockstorage-related unload to BlockManager::Unload
Event Timeline
Log In to Comment