Skip to content

Commit

Permalink
Clarify Network ID construction
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Mar 12, 2024
1 parent f3ab027 commit 0043c19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tips/TIP-0045/tip-0045.md
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,8 @@ A Transaction ID consists of two commitments, the _Transaction Commitment_ and t
The `Network ID` field of the transaction serves as a
[replay protection mechanism](https://github.com/iotaledger/tips/discussions/56). It is a unique value denoting whether
the transaction was meant for the IOTA mainnet, shimmer, testnet-1, or a private network. It consists of the first 8
bytes of the BLAKE2b-256 hash of the `Network Name` protocol parameter, interpreted as an unsigned integer number.
bytes of the BLAKE2b-256 hash of the `Network Name` protocol parameter, interpreted as a `uint64` in little endian
encoding.

| Network Name | Resulting `Network ID` | Network Name defined in |
| ------------------- | ---------------------- | --------------------------------------------------- |
Expand Down

0 comments on commit 0043c19

Please sign in to comment.