From dec0593139ef35a764a45241554e91e373f133b7 Mon Sep 17 00:00:00 2001 From: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:17:40 +0200 Subject: [PATCH] Update tip-0022.md --- tips/TIP-0022/tip-0022.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tips/TIP-0022/tip-0022.md b/tips/TIP-0022/tip-0022.md index c27e78b9a..2395230b7 100644 --- a/tips/TIP-0022/tip-0022.md +++ b/tips/TIP-0022/tip-0022.md @@ -26,10 +26,10 @@ Various other protocol TIPs rely on certain constants that need to be defined fo | Protocol Version | 2 | Protocol version currently used by the network | | Max Block Length | 32768 | Maximum length of a block in bytes. Limits Tangle storage size and communication costs. | | Max Parents Count | 8 | Maximum number of parents of a block. | -| Min PoW Score | 4000.0 | Minimum PoW score for blocks to pass syntactic validation. | +| Min PoW Score | 1500.0 | Minimum PoW score for blocks to pass syntactic validation. | | First Milestone Index | 1 | First valid milestone index. | | | | | -| Max IOTA Supply | 2779530283277761 | Total amount of IOTA coins in circulation. | +| Max IOTA Supply | 4600000000000000 | Total amount of IOTA coins in circulation. | | Max Inputs Count | 128 | Maximum number of inputs in a transaction payload. | | Max Outputs Count | 128 | Maximum number of outputs in a transaction payload. | | Max Native Token Count | 64 | Maximum number of different native tokens that can be referenced in one transaction. | @@ -37,7 +37,7 @@ Various other protocol TIPs rely on certain constants that need to be defined fo | Max Tag Length | 64 | Maximum length of a `Tag` field in bytes. | | Max Metadata Length | 8192 | Maximum length of a `Metadata` field in bytes. | | | | | -| VByte Cost | 500 | Minimum amount of IOTA that need to be deposited per vbyte of an output. | +| VByte Cost | 250 | Minimum amount of IOTA that need to be deposited per vbyte of an output. | | | | | | 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". | | 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 # Rationale for parameter choices -## Proof-of-work - -The `Min PoW Score` has been chosen to roughly match the difficulty of a data transaction in the legacy IOTA protocol: -- The payload length (`signatureMessageFragment`) of a legacy transaction is 2187 trytes or 1100 - 1300 bytes depending on the encoding. -- With a minimum weight magnitude (trailing zero trits) of 14, this corresponds to a PoW score of about 4000. - ## Transaction and block limits 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.