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:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-08-08 02:29:26 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-08-23 04:37:36 +0000
commit6e4865c14c858d00c6cfa6967e66a86b31cd12f8 (patch)
treee3988c6cfc0bd38f275c38191620730d3b269803 /src/main.h
parenta2592156207ed04671d6532cec4997fb1dab1595 (diff)
pool: sync-gate job creation, retry failed payouts; widen nostr relay set
- RebuildJob: no jobs with zero peers or a tip older than 30min; mining unsynced produced orphaned blocks and payouts that can never be paid (observed in production: 8 orphan 'found blocks') - payout exec: on SendMoney failure requeue with 60s backoff, up to 30 attempts, instead of silently forfeiting the payment - nostr: add oxtr.dev, nos.social, fmt.wiz.biz, current.fyi, nostr.bg (12 relays total) for announcement redundancy (cherry picked from commit f1986cd7e4a6f69469a2256eb96ff03f3f146792)
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 c458412..307cee5 100644
--- a/src/main.h
+++ b/src/main.h
@@ -84,6 +84,9 @@ extern int nMineMode;
84// something a previous session wrote. 84// something a previous session wrote.
85extern bool fMineModeFromCommandLine; 85extern bool fMineModeFromCommandLine;
86extern string strParticipantPool; // participant: pool .btf address 86extern string strParticipantPool; // participant: pool .btf address
87extern string strPayoutAddress; // participant: /payoutaddr override (mine without a wallet)
88extern string strPayoutFile; // participant: /payoutfile address list, rotated per reconnect
89extern int nHashThreads; // participant: /hashthreads override (0 = cores-1)
87extern string strPoolName; // operator: announced pool name 90extern string strPoolName; // operator: announced pool name
88extern string strPoolDashboardUrl; // operator: optional dashboard URL 91extern string strPoolDashboardUrl; // operator: optional dashboard URL
89extern double dPoolFeePercent; // operator: announced fee percent 92extern double dPoolFeePercent; // operator: announced fee percent