Bitcoin Forum
December 02, 2026, 12:40:47 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [OPEN SOURCE] Multi-coin SHA-256 solo mining pool architecture — public docs rep  (Read 89 times)
SoloFury (OP)
Member
**
Offline

Activity: 88
Merit: 19


View Profile WWW
May 27, 2026, 09:31:24 PM
 #1

Hi all,

I've published the technical documentation of my multi-coin SHA-256
solo mining infrastructure on GitHub as open source (MIT license):

https://github.com/solofurypool-code/solofury-public-docs

What's inside (14 files, ~2,100 lines):

- Architecture overview for running 5 SHA-256 chains in parallel
  (BTC, BCH, BC2, BCH2, XEC) on a single VPS
- ckpool + elopool fork configurations and patches
- Multi-region relay setup with HAProxy (TCP passthrough for stratum)
- Coinbase signature generation per coin
- Lessons learned from real production:
  - EloPool CashAddr bug (specific edge case in BCH coinbase encoding)
  - BCH2 deep reorg recovery (when -reindex isn't enough)
  - XEC node systemd quirks (ecashd vs ecash-bitcoind)
- Worker history SQLite schema (better-sqlite3, WAL mode)
- IndexNow integration for fast SEO indexing

Why I'm sharing this:

Most public mining pool docs are either commercial pitches or
high-level overviews. I wanted to put the actual operational
knowledge in the open — the kind of stuff you only learn by
running a pool in production and dealing with edge cases.

Hopefully useful for:
- Anyone building their own solo pool from ckpool fork
- Multi-coin operators dealing with SHA-256 family quirks 
- Researchers studying mining pool architecture
- Folks running Bitaxe/NerdMiner and curious about the backend

I run SoloFury (solofury.com) as a production deployment of this
architecture, but the repo is documentation, not a sales pitch —
all wallet addresses are dummy, all sensitive credentials redacted.

Issues and PRs welcome on GitHub.

Cheers,
Rolando
SoloFury (OP)
Member
**
Offline

Activity: 88
Merit: 19


View Profile WWW
December 01, 2026, 11:42:16 PM
 #2

Architecture update (Dec 2026): 4 pool servers, 10 locations, and how we measure block-to-job time

Operator follow-up to the docs post above, for anyone running a similar setup.

Layout today
  • 4 pool servers, each running full nodes for all 6 coins (BTC, BCH, BC2, BCH2, XEC, DGB) plus the stratum engines: Chicago (USA), Nuremberg (Europe), Singapore (Asia), São Paulo (Latin America)
  • 6 access points that forward miners to the nearest pool server: Seattle, London, Tokyo, Hong Kong, Sydney, Fujairah (UAE)
  • DNS per region: <prefix>-<coin>.solofury.com — e.g. eu-btc, asia-bch, lat-dgb

How we measure "server time"
When we compare two servers, we run them in parallel on the same mainnet blocks and, for each block, log two moments: when the block reaches our node, and when the new job leaves the stratum port. The difference is what the server itself costs; network propagation before our node is left out because it depends on routing, not on the pool. We report the median over the common blocks.
Result of the latest move (Atlanta → Chicago, 39 common blocks, 1 Dec 2026): ckpool-based engine 558 → 144 ms, SoloFury Dev engine 417 → 92 ms.

Lessons worth sharing
  • Don't benchmark within ~12 h of a node restart: a cold mempool means more missing transactions in compact blocks, and the numbers come out worse than they really are.
  • Bitcoin Core 32: with a low maxconnections, inbound slots for transaction-relaying peers fill up and even your own servers get dropped right after the version message. Raising maxconnections fixed peering between our pool servers.
  • Stop the stratum engine before stopping a node it is attached to: shutdown went from about 10 minutes to about 1 second.
  • Same software on a faster CPU made the biggest difference: on the same 20 blocks, block validation went from 235 to 60 ms and the new job from 470 to 94 ms.

Questions about the setup are welcome here.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!