Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 0
Generated: 09:02:20
Continuing on my journey of adding Stratum V2 (SV2) support to Datum Gateway (focused on the mining protocol), the first step is getting the connection setup between the SV2 server and the miner (client) working. It uses noise protocol. This weekend, I got this connection setup working (see below). I’ll be writing two posts on the current progress. In the first post, I’ll explain how the Noise handshake works, the cryptographic primitives behind it, and why it's a great fit for securing communication. I'll also dive into key concepts like Diffie-Hellman and ephemeral keys. In the second post, I’ll walk through a simple C implementation where we use the Noise handshake to exchange SV2 SetupConnection messages. This will show how Noise can be integrated into a real-world Stratum V2 mining pool setup. This will be useful for anyone working with mining infrastructure or interested in the cryptographic side of things. Stay tuned for the full details! Here is current progress! [pool] listening on 0.0.0.0:3334 (pattern=NX, prologue="STRATUM/2") [pool] static pubkey: 39c0a192403e698f375524d21594068c5ac693137898582d054b052cddb7da47 [pool] handshake complete [pool] SetupConnection: protocol=2 min=2 max=2 vendor="c-noise-client" [pool] sent SetupConnection.Success (version=2 flags=0x00000000) [client] handshake complete [client] SetupConnection.Success used_version=2 flags=0x00000000 #cryptography #mining #stratumv2 #NoiseProtocol #DatumGateway #SV2 #Nostr #miningprotocol #blockchain
2025-08-24 15:14:38 from 1 relay(s)
Login to reply