user116555: I am writing my own mining pool server for Bitcoin and would like to work with a detailed and complete specification document for the Stratum protocol.  There are documents on the web that casually outline the protocol (https://braiins.com/stratum-v1/docs and https://en.bitcoin.it/wiki/Stratum_mining_protocol) but I am looking for something rigorous and complete and wasn't able to find it.  The reference documentation of BIP 41 and 40 doesn't exist (see Where is BIP 40 and 41?).  Something like this is good: https://github.com/aeternity/protocol/blob/master/STRATUM.md

user47827: The team at Braiins is working on Stratum v2 in collaboration with others. There have been a number of changes made since Stratum v1 was first specified.
There is a work in progress specification for Stratum v2 here.

116555: <p>I am writing my own mining pool server for Bitcoin and would like to work with a detailed and complete specification document for the Stratum protocol.  There are documents on the web that casually outline the protocol (<a href="https://braiins.com/stratum-v1/docs" rel="nofollow noreferrer">https://braiins.com/stratum-v1/docs</a> and <a href="https://en.bitcoin.it/wiki/Stratum_mining_protocol" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Stratum_mining_protocol</a>) but I am looking for something rigorous and complete and wasn't able to find it.  The reference documentation of BIP 41 and 40 doesn't exist (see <a href="https://bitcoin.stackexchange.com/questions/114168/where-is-bip-40-and-41/114169#114169">Where is BIP 40 and 41?</a>).  Something like this is good: <a href="https://github.com/aeternity/protocol/blob/master/STRATUM.md" rel="nofollow noreferrer">https://github.com/aeternity/protocol/blob/master/STRATUM.md</a></p>
 47827: <p>The team at Braiins is working on <a href="https://braiins.com/stratum-v2" rel="nofollow noreferrer">Stratum v2</a> in collaboration with others. There have been a number of <a href="https://braiins.com/upgrade/compare-mining-protocols#compare" rel="nofollow noreferrer">changes</a> made since Stratum v1 was first specified.</p>
<p>There is a work in progress specification for Stratum v2 <a href="https://docs.google.com/document/d/1FadCWj-57dvhxsnFM_7X806qyvhR0u3i85607bGHxvg/edit" rel="nofollow noreferrer">here</a>.</p>
