Skip to content

Commit

Permalink
fix flag terminology on table headers
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Nov 16, 2024
1 parent 4a0611e commit e10349e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions 05-Mining-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ Group Channel ID namespace is the same as Channel ID namespace on a particular c

Flags usable in `SetupConnection.flags` and `SetupConnection.Error::flags`, where bit 0 is the least significant bit of the u32 type:

| Field Name | Bit | Description |
| ------------------------ | --- | ----------------------------------------------------------------------------------- |
| Flag Name | Bit | Description |
|--------------------------| --- | ----------------------------------------------------------------------------------- |
| REQUIRES_STANDARD_JOBS | 0 | The downstream node requires standard jobs. It does not understand group channels - |
| | | it is unable to process extended jobs sent to standard channels through a group |
| | | channel. |
Expand All @@ -199,7 +199,7 @@ Flags usable in `SetupConnection.flags` and `SetupConnection.Error::flags`, wher
| | | server MUST NOT send jobs which do not allow version rolling |

Flags usable in `SetupConnection.Success.flags`:
| Field Name | Bit | Description |
| Flag Name | Bit | Description |
|----------------------------|-----|-----------------------------------------------------------------------------------|
| REQUIRES_FIXED_VERSION | 0 | Upstream node will not accept any changes to the version field. Note that if |
| | | REQUIRES_VERSION_ROLLING was set in the SetupConnection::flags field, this bit |
Expand Down
17 changes: 9 additions & 8 deletions img/drawio/extended_job.drawio.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" version="24.8.4">
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" version="24.8.6">
<diagram id="akTGcmnkRVN48lOs_Wo2" name="Extended Job">
<mxGraphModel dx="1876" dy="690" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<mxGraphModel dx="1671" dy="552" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
Expand Down Expand Up @@ -380,14 +380,14 @@
<mxGeometry x="655" y="560" width="20" height="168.38" as="geometry" />
</mxCell>
<mxCell id="AqgI11fZNC0Qb58yE7mk-86" value="" style="shape=table;startSize=0;container=1;collapsible=0;childLayout=tableLayout;fontSize=16;" parent="1" vertex="1">
<mxGeometry x="675" y="465" width="185" height="70" as="geometry" />
<mxGeometry x="675" y="447.13" width="185" height="85" as="geometry" />
</mxCell>
<mxCell id="AqgI11fZNC0Qb58yE7mk-87" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=16;" parent="AqgI11fZNC0Qb58yE7mk-86" vertex="1">
<mxGeometry width="185" height="70" as="geometry" />
<mxGeometry width="185" height="85" as="geometry" />
</mxCell>
<mxCell id="AqgI11fZNC0Qb58yE7mk-88" value="&lt;div&gt;&lt;span style=&quot;font-size: 12px; background-color: initial;&quot;&gt;coinbase_tx_version&lt;br&gt;coinbase_tx_input_nSequence&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font style=&quot;font-size: 12px;&quot;&gt;coinbase_prefix&amp;nbsp;&lt;/font&gt;&lt;span style=&quot;background-color: initial; font-size: 12px;&quot;&gt;(BIP34)&lt;/span&gt;&lt;/div&gt;" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=16;" parent="AqgI11fZNC0Qb58yE7mk-87" vertex="1">
<mxGeometry width="185" height="70" as="geometry">
<mxRectangle width="185" height="70" as="alternateBounds" />
<mxCell id="AqgI11fZNC0Qb58yE7mk-88" value="&lt;div&gt;&lt;span style=&quot;font-size: 12px; background-color: initial;&quot;&gt;coinbase_tx_version&lt;br&gt;coinbase_tx_input_nSequence&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12px; background-color: initial;&quot;&gt;coinbase inputs&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font style=&quot;font-size: 12px;&quot;&gt;coinbase_prefix&amp;nbsp;&lt;/font&gt;&lt;span style=&quot;background-color: initial; font-size: 12px;&quot;&gt;(BIP34)&lt;/span&gt;&lt;/div&gt;" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=16;" parent="AqgI11fZNC0Qb58yE7mk-87" vertex="1">
<mxGeometry width="185" height="85" as="geometry">
<mxRectangle width="185" height="85" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="AqgI11fZNC0Qb58yE7mk-89" value="Extended Job" style="text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;" parent="1" vertex="1">
Expand Down Expand Up @@ -435,7 +435,8 @@
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="625" y="567" />
<mxPoint x="625" y="500" />
<mxPoint x="625" y="490" />
<mxPoint x="675" y="490" />
</Array>
</mxGeometry>
</mxCell>
Expand Down
Binary file modified img/extended_job.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e10349e

Please sign in to comment.