Skip to content

Commit 665072a

Browse files
committed
doc: add comment for g_best_block
1 parent ac4051d commit 665072a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ extern RecursiveMutex cs_main;
109109
typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
110110
extern Mutex g_best_block_mutex;
111111
extern std::condition_variable g_best_block_cv;
112+
/** Used to notify getblocktemplate RPC of new tips. */
112113
extern uint256 g_best_block;
113114
/** Whether there are dedicated script-checking threads running.
114115
* False indicates all script checking is done on the main threadMessageHandler thread.

0 commit comments

Comments
 (0)