aboutsummaryrefslogtreecommitdiff
path: root/src/node/blockstorage.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-01-05 15:06:56 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-01-05 15:08:06 +0100
commitfa467f3913918701c765f9bc754203b4591b894f (patch)
tree18cabb6f5817b62a07e72bbd201aa778a24284b8 /src/node/blockstorage.h
parentfa88cfd3f9896d5b56ea6c111a23f90a79253c18 (diff)
downloadbitcoin-fa467f3913918701c765f9bc754203b4591b894f.tar.xz
move-only: Create WriteBlockIndexDB helper
Can be reviewed with --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
Diffstat (limited to 'src/node/blockstorage.h')
-rw-r--r--src/node/blockstorage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h
index 2850e36188..91d651bac2 100644
--- a/src/node/blockstorage.h
+++ b/src/node/blockstorage.h
@@ -102,6 +102,7 @@ public:
std::unique_ptr<CBlockTreeDB> m_block_tree_db GUARDED_BY(::cs_main);
+ bool WriteBlockIndexDB() EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
bool LoadBlockIndexDB(ChainstateManager& chainman) EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
/**