Skip to content

Commit 67fcb8f

Browse files
authored
Merge pull request #104 from plebhash/update-jd-protocol
cleanup JD Protocol specs
2 parents e1bbaff + d051cd1 commit 67fcb8f

File tree

3 files changed

+83
-28
lines changed

3 files changed

+83
-28
lines changed

03-Protocol-Overview.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 3. Protocol Overview
22

3-
There are technically four distinct (sub)protocols needed in order to fully use all of the features proposed in this document:
3+
There are technically three distinct (sub)protocols needed in order to fully use all of the features proposed in this document:
44

55
1. **Mining Protocol**
66
The main protocol used for mining and the direct successor of Stratum v1.
@@ -20,10 +20,6 @@ There are technically four distinct (sub)protocols needed in order to fully use
2020
A similarly-framed protocol for getting information about the next block out of Bitcoin Core.
2121
Designed to replace `getblocktemplate` with something much more efficient and easy to implement for those implementing other parts of Stratum v2.
2222

23-
4. **Job Distribution Protocol**
24-
Simple protocol for passing newly-declared work to interested nodes - either proxies or miners directly.
25-
This protocol is left to be specified in a future document, as it is often unnecessary due to the Job Declaration role being a part of a larger Mining Protocol Proxy.
26-
2723
Meanwhile, there are five possible roles (types of software/hardware) for communicating with these protocols.
2824

2925
1. **Mining Device**
@@ -162,7 +158,7 @@ However, they MUST always set vendor to a string describing the manufacturer/dev
162158

163159
| Field Name | Data Type | Description |
164160
|--------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------|
165-
| protocol | U8 | 0 = Mining Protocol <br>1 = Job Declaration <br>2 = Template Distribution Protocol <br> 3 = Job Distribution Protocol |
161+
| protocol | U8 | 0 = Mining Protocol <br>1 = Job Declaration <br>2 = Template Distribution Protocol |
166162
| min_version | U16 | The minimum protocol version the client supports (currently must be 2) |
167163
| max_version | U16 | The maximum protocol version the client supports (currently must be 2) |
168164
| flags | U32 | Flags indicating optional protocol features the client supports. Each protocol from protocol field as its own values/flags. |

0 commit comments

Comments
 (0)