Skip to content

Commit

Permalink
Merge pull request #82 from pythcoiner/protocol_version
Browse files Browse the repository at this point in the history
protocol version must be 2 in `SetupConnection` message
  • Loading branch information
Fi3 authored Jul 3, 2024
2 parents 0f3655a + 4c26cce commit c686dca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 03-Protocol-Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ However, they MUST always set vendor to a string describing the manufacturer/dev

| Field Name | Data Type | Description |
|--------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------|
| protocol | U8 | 0 = Mining Protocol <br>1 = Job Declaration <br>2 = Template Distribution Protocol <br> 3 = Job Distribution Protocol |
| min_version | U16 | The minimum protocol version the client supports (currently must be 3) |
| max_version | U16 | The maximum protocol version the client supports (currently must be 3) |
| protocol | U8 | 0 = Mining Protocol <br>1 = Job Declaration <br>2 = Template Distribution Protocol <br> 3 = Job Distribution Protocol |
| min_version | U16 | The minimum protocol version the client supports (currently must be 2) |
| max_version | U16 | The maximum protocol version the client supports (currently must be 2) |
| flags | U32 | Flags indicating optional protocol features the client supports. Each protocol from protocol field as its own values/flags. |
| endpoint_host | STRO_255 | ASCII text indicating the hostname or IP address |
| endpoint_port | U16 | Connecting port value |
| Device Information |
| Device Information | | |
| vendor | STR0_255 | E.g. "Bitmain" |
| hardware_version | STR0_255 | E.g. "S9i 13.5" |
| firmware | STR0_255 | E.g. "braiins-os-2018-09-22-1-hash" |
Expand Down

0 comments on commit c686dca

Please sign in to comment.