diff options
author | James O'Beirne <james.obeirne@pm.me> | 2021-09-15 15:46:29 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2021-09-15 15:46:29 -0400 |
commit | 665072a36df2e4c88705fedd4ac7c955d7f6a488 (patch) | |
tree | 6135d1763e4ef79a70fba056e1175fa48a9c6349 /src/validation.h | |
parent | ac4051d891e2d5c8ac130da16b85b9d880b44720 (diff) | |
download | bitcoin-665072a36df2e4c88705fedd4ac7c955d7f6a488.tar.xz |
doc: add comment for g_best_block
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<uint256, CBlockIndex*, BlockHasher> 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. |