Skip to content

Commit

Permalink
Merge pull request #1 from Wollac/tx-network-id
Browse files Browse the repository at this point in the history
Update TIP-20: Add network ID to essence
  • Loading branch information
lzpap authored Jan 18, 2022
2 parents a76981b + 9b236a3 commit b7d0077
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tips/TIP-0020/tip-0020.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ The following table describes the entirety of a _Transaction Payload_ in its ser
Set to <strong>value 0</strong> to denote a <i>Transaction Essence</i>.
</td>
</tr>
<tr>
<td>Network ID</td>
<td>uint64</td>
<td>
The unique value denoting whether the message was meant for mainnet, testnet, or a private networks. The <code>Network ID</code> should usually match the corresponding field of the encapsulating message, but this is not enforced.
</td>
</tr>
<tr>
<td>Inputs Count</td>
<td>uint16</td>
Expand Down Expand Up @@ -396,6 +403,7 @@ The following criteria defines whether a payload passes the syntactical validati

* Essence:
* `Transaction Type` value must denote a _Transaction Essence_.
* `Network ID` must match the value of the current network.
* Inputs:
* `Inputs Count` must be 0 < x ≤ `Max Inputs Count`.
* For each input the following must be true:
Expand Down

0 comments on commit b7d0077

Please sign in to comment.