upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 3866855..2786a4a 100644
--- a/src/main.h
+++ b/src/main.h
@@ -88,6 +88,8 @@ extern string strPoolName; // operator: announced pool name
88extern string strPoolDashboardUrl; // operator: optional dashboard URL 88extern string strPoolDashboardUrl; // operator: optional dashboard URL
89extern string strPoolStatusFile; // operator: optional JSON status output path 89extern string strPoolStatusFile; // operator: optional JSON status output path
90extern double dPoolFeePercent; // operator: announced fee percent 90extern double dPoolFeePercent; // operator: announced fee percent
91extern bool fStratumBridge; // participant helper: local Stratum bridge
92extern int nStratumBridgePort; // local bridge listen port, default 3333
91extern bool fSoloMineTest; // /solomine: mine without requiring a peer (local test) 93extern bool fSoloMineTest; // /solomine: mine without requiring a peer (local test)
92// Threads to hash with; 0 = decide from the hardware. Set by /genproclimit. 94// Threads to hash with; 0 = decide from the hardware. Set by /genproclimit.
93extern int nMinerThreads; 95extern int nMinerThreads;
@@ -272,6 +274,7 @@ void LimitOrphanBlocks(unsigned int nMaxOrphans);
272// distinguishable, which the dedup filter would otherwise collapse into one. 274// distinguishable, which the dedup filter would otherwise collapse into one.
273bool BitcoinMiner(int nThreadId = 1); 275bool BitcoinMiner(int nThreadId = 1);
274void ThreadRPCServer(void* parg); // rpc.cpp -- .btf pool server 276void ThreadRPCServer(void* parg); // rpc.cpp -- .btf pool server
277void ThreadStratumBridge(void* parg); // main.cpp -- local Stratum -> .btf bridge
275void GetParticipantMiningStats(uint64& sharesSent, uint64& sharesAccepted, double& hashRate); 278void GetParticipantMiningStats(uint64& sharesSent, uint64& sharesAccepted, double& hashRate);
276void SetParticipantMiningStatus(const std::string& status); 279void SetParticipantMiningStatus(const std::string& status);
277std::string GetParticipantMiningStatus(); 280std::string GetParticipantMiningStatus();