global externs refactor, some tcp methods
This commit is contained in:
17
include/runtime_state.h
Normal file
17
include/runtime_state.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef RUNTIME_STATE_H
|
||||
#define RUNTIME_STATE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <uint256.h>
|
||||
|
||||
#include <block/chain.h>
|
||||
|
||||
extern uint64_t currentBlockHeight;
|
||||
extern blockchain_t* currentChain;
|
||||
extern uint256_t currentSupply;
|
||||
extern uint64_t currentReward;
|
||||
extern uint32_t difficultyTarget;
|
||||
extern const char* chainDataDir;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user