diff --git a/tips/TIP-0049/tip-0049.md b/tips/TIP-0049/tip-0049.md index 88e82e232..6a6670a84 100644 --- a/tips/TIP-0049/tip-0049.md +++ b/tips/TIP-0049/tip-0049.md @@ -12,7 +12,8 @@ created: 2023-08-28 # Motivation -The protocol parameters contain parameters that a node needs to apply to the components in order to communicate with other nodes and to process blocks properly. +The protocol parameters contain parameters that a node needs to apply to the components in order to communicate with +other nodes and to process blocks properly. ## Structure @@ -448,15 +449,18 @@ The protocol parameters contain parameters that a node needs to apply to the com -When referring to Protocol Parameters contained in subschemas in other TIPs, one may use namespacing with a `::` separator for disambiguation. For instance, `Work Score Parameters::Block` refers to the `Block` parameter inside the `Work Score Parameters`. +When referring to Protocol Parameters contained in subschemas in other TIPs, one may use namespacing with a `::` +separator for disambiguation. For instance, `Work Score Parameters::Block` refers to the `Block` parameter inside the +`Work Score Parameters`. ## Protocol Parameter Hash The Protocol Parameter Hash is used in signaling protocol parameter upgrades and is a field in the Validation Block. The Protocol Parameter Hash is computed as follows: - * Let `Protocol Parameter Bytes` be the serialized protocol parameter. - * Let the resulting hash be the BLAKE2b-256 hash over `Protocol Parameter Bytes`. + +- Let `Protocol Parameter Bytes` be the serialized protocol parameter. +- Let the resulting hash be the BLAKE2b-256 hash over `Protocol Parameter Bytes`. ### Protocol parameter example @@ -539,6 +543,7 @@ The example is a protocol parameter filled with random values: ``` Serialized bytes: + ``` [0 3 10 84 101 115 116 74 117 110 103 108 101 3 116 103 108 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 193 93 45 211 247 223 9 0 46 219 11 101 0 0 0 0 10 13 63 1 17 2 0 10 0 0 0 20 0 0 0 32 151 64 76 144 21 10 0 0 0 10 10 0 0 0 15 0 30 0 10 0 0 0 20 0 0 0 24 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 53 12 0 32 161 7 0 160 134 1 0 232 3 0 0 100 0 0 0 7 5 7 8 130 4 0 0 2 0 0 0 0 0 0 0 8 1 0 0 0 0 0 0 0 31] ```