From 665072a36df2e4c88705fedd4ac7c955d7f6a488 Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Wed, 15 Sep 2021 15:46:29 -0400 Subject: [PATCH] doc: add comment for g_best_block --- src/validation.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/validation.h b/src/validation.h index 4fc46439cc..d457f1ac65 100644 --- a/src/validation.h +++ b/src/validation.h @@ -109,6 +109,7 @@ extern RecursiveMutex cs_main; typedef std::unordered_map BlockMap; extern Mutex g_best_block_mutex; extern std::condition_variable g_best_block_cv; +/** Used to notify getblocktemplate RPC of new tips. */ extern uint256 g_best_block; /** Whether there are dedicated script-checking threads running. * False indicates all script checking is done on the main threadMessageHandler thread.