upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/nostr.cpp
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/nostr.cpp
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/nostr.cpp')
-rw-r--r--src/nostr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nostr.cpp b/src/nostr.cpp
index 1fd60ad..21104bc 100644
--- a/src/nostr.cpp
+++ b/src/nostr.cpp
@@ -92,6 +92,11 @@ const char* pszNostrRelays[] = {
92 "wss://offchain.pub", 92 "wss://offchain.pub",
93 "wss://nostr.mom", 93 "wss://nostr.mom",
94 "wss://relay.primal.net", 94 "wss://relay.primal.net",
95 "wss://nostr.oxtr.dev",
96 "wss://relay.nos.social",
97 "wss://nostr.fmt.wiz.biz",
98 "wss://relay.current.fyi",
99 "wss://relay.nostr.bg",
95}; 100};
96const int nNostrRelays = ARRAYLEN(pszNostrRelays); 101const int nNostrRelays = ARRAYLEN(pszNostrRelays);
97 102