mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
doc: add comment for g_best_block
This commit is contained in:
@@ -109,6 +109,7 @@ extern RecursiveMutex cs_main;
|
|||||||
typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
|
typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
|
||||||
extern Mutex g_best_block_mutex;
|
extern Mutex g_best_block_mutex;
|
||||||
extern std::condition_variable g_best_block_cv;
|
extern std::condition_variable g_best_block_cv;
|
||||||
|
/** Used to notify getblocktemplate RPC of new tips. */
|
||||||
extern uint256 g_best_block;
|
extern uint256 g_best_block;
|
||||||
/** Whether there are dedicated script-checking threads running.
|
/** Whether there are dedicated script-checking threads running.
|
||||||
* False indicates all script checking is done on the main threadMessageHandler thread.
|
* False indicates all script checking is done on the main threadMessageHandler thread.
|
||||||
|
|||||||
Reference in New Issue
Block a user