🔧 AI Nachrichten Julian Goldie SEO: GPT 6 Astra: How to Build 3D Worlds!(16.09.2026 um 15:00 Uhr)
🍏 iOS / Mac OSAusweisApp für macOS 27: Governikus erklärt Verzögerung(16.09.2026 um 15:03 Uhr)
🍏 iOS / Mac OSApple's Xserve may return with Nvidia tech(16.09.2026 um 15:30 Uhr)
🪟 Windows TippsAdobe Announces Photoshop and Premiere Elements 2027(16.09.2026 um 15:00 Uhr)
🔧 AI Nachrichten Julian Goldie SEO: GPT 6 Astra: How to Build 3D Worlds!(16.09.2026 um 15:00 Uhr)
🍏 iOS / Mac OSAusweisApp für macOS 27: Governikus erklärt Verzögerung(16.09.2026 um 15:03 Uhr)
🍏 iOS / Mac OSApple's Xserve may return with Nvidia tech(16.09.2026 um 15:30 Uhr)
🪟 Windows TippsAdobe Announces Photoshop and Premiere Elements 2027(16.09.2026 um 15:00 Uhr)

🔧 Programmierung 🕛 vor 1 Monat 3 Min Lesezeit
0

Quantum-Lattice mining pool is now live — tested, proportional payouts

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




Why a pool needs its own identity, not each miner's



Quantum-Lattice just shipped a mining pool, and the core design decision worth writing about is one that isn't obvious until you actually try to build it: a pool can't simply "collect" rewards on behalf of whoever finds them.



The proof-of-work hash includes the miner's own public key as an input:



sha3_256(version, previous_block_hash, merkle_root, block_height, miner_pubkey, nonce)



That means a winning nonce is cryptographically tied to whichever address was hashed with it. If each connected contributor searched using their own address, a share that happened to also satisfy the real network difficulty would be a valid block — but only under that specific miner's identity. The pool could never swap in its own address afterward and resubmit; changing the address changes the hash entirely.






The actual fix



The pool builds one template using its own address, and hands that exact template out to everyone connected. Every contributor searches for a nonce against a header that already has the pool's identity baked in — their own wallet address is only ever used separately, for bookkeeping, never inside the actual hash.



Concretely:




  1. Pool fetches a real template from the node (block height, previous hash, merkle root, real difficulty)

  2. Pool constructs a candidate header using its own address as the "miner" field

  3. Pool hands this out to connected miners, at a deliberately easier, pool-set difficulty

  4. A miner finds a nonce meeting the easier target, submits {their own address (for credit), nonce}

  5. Pool checks: does this nonce, on the header with the pool's own address, also satisfy the real difficulty?

  6. If yes — genuine block, submitted under the pool's identity, real reward earned

  7. Pool signs and sends individual payouts to every contributor, proportional to shares submitted since the last win






A real bug this design surfaced



The first version of the payout logic assumed the pool had just earned a full 48 QL block reward, and split that fixed amount. During testing — funding the pool with a smaller, deliberate test amount to verify the split logic without waiting on real network odds — it tried to sign a payout for more than the pool's actual balance.



The fix: query the pool's real, current balance from the node immediately before calculating any payout, rather than assuming a fixed reward amount. Obvious in hindsight, but a good reminder that "we know what triggered this" doesn't mean "we know how much is actually available" — those are separate facts, and only one of them is safe to assume.






Testing it properly before shipping



Two independent machines contributed real, different amounts of work. The pool was funded with a small, real amount specifically to test the payout mechanism without waiting on genuine 38-bit network odds. The trigger produced two separate signed transactions, correctly proportional to each machine's actual share count, and both wallets showed the correct, confirmed balance increase shortly after.



That's the difference between "the logic looks right" and "the logic is right" — worth the extra step before anything goes live.






What's next



Difficulty is currently one fixed value for every connected contributor. A meaningfully better version adjusts difficulty per miner, based on their individual submission rate — so a high-end machine and a modest laptop both get a similarly steady rhythm of shares, rather than one flooding the pool and the other waiting a long time between confirmations. Real, valuable improvement, not yet built.



Code:

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
Data regions support for Google Apps Script now generally available
1 Quelle
Adobe Announces Photoshop and Premiere Elements 2027
1 Quelle
Microsoft built a local PC-to-PC transfer tool for Windows 11, now it’s killing it to push OneDrive-based solution
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Quantum-Lattice mining pool is now live — tested, proportional payouts

Thematisch verwandte Begriffe: QuantumLattice, mining, pool, live · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...