You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: tips/TIP-0022/tip-0022.md
+3-9
Original file line number
Diff line number
Diff line change
@@ -26,18 +26,18 @@ Various other protocol TIPs rely on certain constants that need to be defined fo
26
26
| Protocol Version | 2 | Protocol version currently used by the network |
27
27
| Max Block Length | 32768 | Maximum length of a block in bytes. Limits Tangle storage size and communication costs. |
28
28
| Max Parents Count | 8 | Maximum number of parents of a block. |
29
-
| Min PoW Score |4000.0 | Minimum PoW score for blocks to pass syntactic validation. |
29
+
| Min PoW Score |1500.0 | Minimum PoW score for blocks to pass syntactic validation. |
30
30
| First Milestone Index | 1 | First valid milestone index. |
31
31
||||
32
-
| Max IOTA Supply |2779530283277761| Total amount of IOTA coins in circulation. |
32
+
| Max IOTA Supply |4600000000000000| Total amount of IOTA coins in circulation. |
33
33
| Max Inputs Count | 128 | Maximum number of inputs in a transaction payload. |
34
34
| Max Outputs Count | 128 | Maximum number of outputs in a transaction payload. |
35
35
| Max Native Token Count | 64 | Maximum number of different native tokens that can be referenced in one transaction. |
36
36
||||
37
37
| Max Tag Length | 64 | Maximum length of a `Tag` field in bytes. |
38
38
| Max Metadata Length | 8192 | Maximum length of a `Metadata` field in bytes. |
39
39
||||
40
-
| VByte Cost |500| Minimum amount of IOTA that need to be deposited per vbyte of an output. |
40
+
| VByte Cost |250| Minimum amount of IOTA that need to be deposited per vbyte of an output. |
41
41
||||
42
42
| SLIP-44 Coin Type (decimal) | 4218 | Registered coin type (decimal) for usage in level 2 of [BIP44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki) described in chapter "Coin type". |
43
43
| SLIP-44 Path Component (`coin_type'`) | 0x8000107a | Registered path component for usage in level 2 of [BIP44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki) described in chapter "Coin type". |
@@ -47,12 +47,6 @@ Various other protocol TIPs rely on certain constants that need to be defined fo
47
47
48
48
# Rationale for parameter choices
49
49
50
-
## Proof-of-work
51
-
52
-
The `Min PoW Score` has been chosen to roughly match the difficulty of a data transaction in the legacy IOTA protocol:
53
-
- The payload length (`signatureMessageFragment`) of a legacy transaction is 2187 trytes or 1100 - 1300 bytes depending on the encoding.
54
-
- With a minimum weight magnitude (trailing zero trits) of 14, this corresponds to a PoW score of about 4000.
55
-
56
50
## Transaction and block limits
57
51
58
52
The block parameter `Max Block Length` and `Max Parent Count`, as well as the transaction parameters `Max Inputs Count`, `Max Outputs Count`, `Max Native Token Count`, `Max Tag Length` and `Max Metadata Length` govern the block and transaction validity. Their values have been chosen to ensure functionality of the protocol within constrained resource restrictions. Furthermore, choosing more conservatives values here is preferable as increasing such limits can always been done preserving backward compatibility.
0 commit comments