aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-04 19:55:44 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-04-05 08:42:15 +0200
commitfa5eabe72117f6e3704858e8d5b2c57a120258ed (patch)
treed211dad9c0328c1da3f04f090eb4e44d02560d78 /src/index
parentad4bf8a94594e7fe424e409ba9474d91584bb78c (diff)
downloadbitcoin-fa5eabe72117f6e3704858e8d5b2c57a120258ed.tar.xz
refactor: Remove negative lock annotations from globals
Diffstat (limited to 'src/index')
-rw-r--r--src/index/base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/base.h b/src/index/base.h
index 8559e3cb64..ac3c429a5a 100644
--- a/src/index/base.h
+++ b/src/index/base.h
@@ -109,7 +109,7 @@ public:
/// sync once and only needs to process blocks in the ValidationInterface
/// queue. If the index is catching up from far behind, this method does
/// not block and immediately returns false.
- bool BlockUntilSyncedToCurrentChain() const;
+ bool BlockUntilSyncedToCurrentChain() const LOCKS_EXCLUDED(::cs_main);
void Interrupt();