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-19 22:48:26 +0000
commit541223daa6e6510daf3bdfdcb4dd4f6b0e38d877 (patch)
treeec09f2f0bf24cc737bf978b4152df8a5a2e7fc07 /src/nostr.cpp
parent68de575503c5df5e944278cecd3129cd10f2546e (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