Skip to content

Commit

Permalink
Point links to TIPs on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Feb 2, 2024
1 parent 80fc217 commit fcb2adf
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions tips/TIP-0046/tip-0046.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ The string format of a Slot Commitment ID is the hexadecimal encoding of the Slo

## Block Signature

The [_Ed25519 Signature_](../TIP-0038/tip-0038.md#ed25519-signature) is supported.
The [_Ed25519 Signature_](https://github.com/iotaledger/tips/blob/tip38/tips/TIP-0038/tip-0038.md#ed25519-signature) is
supported.

### Signature Creation

Expand Down Expand Up @@ -249,11 +250,11 @@ The schema of a block is as follows:
<td colspan="2">
<details>
<summary>Basic Block Body</summary>
<blockquote>The basic block body. Defined in <a href='../TIP-0046/tip-0046.md#basic-block'>TIP-46 (Basic Block)</a>.</blockquote>
<blockquote>The basic block body. Defined in <a href='https://github.com/iotaledger/tips/blob/tip46/tips/TIP-0046/tip-0046.md#basic-block'>TIP-46 (Basic Block)</a>.</blockquote>
</details>
<details>
<summary>Validation Block Body</summary>
<blockquote>The validation block body. Defined in <a href='../TIP-0046/tip-0046.md#validation-block'>TIP-46 (Validation Block)</a>.</blockquote>
<blockquote>The validation block body. Defined in <a href='https://github.com/iotaledger/tips/blob/tip46/tips/TIP-0046/tip-0046.md#validation-block'>TIP-46 (Validation Block)</a>.</blockquote>
</details>
</td>
</tr>
Expand All @@ -262,7 +263,7 @@ The schema of a block is as follows:
<td colspan="2">
<details>
<summary>Ed25519 Signature</summary>
<blockquote>An Ed25519 Signature with the public key that verifies it. Defined in <a href='../TIP-0038/tip-0038.md#ed25519-signature'>TIP-38 (Ed25519 Signature)</a>.</blockquote>
<blockquote>An Ed25519 Signature with the public key that verifies it. Defined in <a href='https://github.com/iotaledger/tips/blob/tip38/tips/TIP-0038/tip-0038.md#ed25519-signature'>TIP-38 (Ed25519 Signature)</a>.</blockquote>
</details>
</td>
</tr>
Expand Down Expand Up @@ -417,15 +418,15 @@ A _Basic Block_ is the name for a _Block_ with its body set to a _Basic Block Bo
<td colspan="2">
<details>
<summary>Signed Transaction</summary>
<blockquote>A transaction with its unlocks. Defined in <a href='../TIP-0045/tip-0045.md#signed-transaction'>TIP-45 (Signed Transaction)</a>.</blockquote>
<blockquote>A transaction with its unlocks. Defined in <a href='https://github.com/iotaledger/tips/blob/tip45/tips/TIP-0045/tip-0045.md#signed-transaction'>TIP-45 (Signed Transaction)</a>.</blockquote>
</details>
<details>
<summary>Tagged Data</summary>
<blockquote>Optional Data with an optional Tag. Defined in <a href='../TIP-0053/tip-0053.md#tagged-data'>TIP-53 (Tagged Data)</a>.</blockquote>
<blockquote>Optional Data with an optional Tag. Defined in <a href='https://github.com/iotaledger/tips/blob/tip53/tips/TIP-0053/tip-0053.md#tagged-data'>TIP-53 (Tagged Data)</a>.</blockquote>
</details>
<details>
<summary>Candidacy Announcement</summary>
<blockquote>Signals candidacy for committee selection for the epoch after the one in which it is issued. Defined in <a href='../TIP-0040/tip-0040.md#candidacy-announcement'>TIP-40 (Candidacy Announcement)</a>.</blockquote>
<blockquote>Signals candidacy for committee selection for the epoch after the one in which it is issued. Defined in <a href='https://github.com/iotaledger/tips/blob/tip40/tips/TIP-0040/tip-0040.md#candidacy-announcement'>TIP-40 (Candidacy Announcement)</a>.</blockquote>
</details>
</td>
</tr>
Expand Down Expand Up @@ -471,12 +472,12 @@ information. As such, blocks usually contain a payload. The detailed specificati
of this TIP. The following table lists all currently specified payloads that can be part of a block and links to their
specification:

| Payload Name | Type Value | TIP |
| ---------------------- | ---------- | --------------------------------------------------------------------------------- |
| No Payload | - | - |
| Tagged Data | 0 | [TIP-53](../TIP-0053/tip-0053.md) |
| Transaction | 1 | [TIP-45](../TIP-0045/tip-0045.md) |
| Candidacy Announcement | 2 | [TIP-40 (Candidacy Announcement)](../TIP-0040/tip-0040.md#candidacy-announcement) |
| Payload Name | Type Value | TIP |
| ---------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------- |
| No Payload | - | - |
| Tagged Data | 0 | [TIP-53](https://github.com/iotaledger/tips/blob/tip53/tips/TIP-0053/tip-0053.md) |
| Transaction | 1 | [TIP-45](https://github.com/iotaledger/tips/blob/tip45/tips/TIP-0045/tip-0045.md) |
| Candidacy Announcement | 2 | [TIP-40 (Candidacy Announcement)](https://github.com/iotaledger/tips/blob/tip40/tips/TIP-0040/tip-0040.md#candidacy-announcement) |

### Work Score

Expand All @@ -488,7 +489,8 @@ Let the work score of a _Basic Block_ be defined as follows.
- If the type is _Candidacy Announcement_ the work score is
`Work Score Parameters::Data Byte * Candidacy Announcement Size` where:
- `Candidacy Announcement Size` is the size of the serialized _Candidacy Announcement_.
- If the type is _Transaction_ the work score is defined in [TIP-45 (Work Score)](../TIP-0045/tip-0045.md#work-score).
- If the type is _Transaction_ the work score is defined in
[TIP-45 (Work Score)](https://github.com/iotaledger/tips/blob/tip45/tips/TIP-0045/tip-0045.md#work-score).
- Return `Work Score Parameters::Block + Payload Score`.

## Validation Block
Expand Down Expand Up @@ -687,7 +689,7 @@ transaction, the transaction will never result in the locking of the account.
# Test Vectors

The protocol parameters used in the following test vectors are the same as in
[TIP-49](../TIP-0049/tip-0049.md#protocol-parameters-hash).
[TIP-49](https://github.com/iotaledger/tips/blob/tip49/tips/TIP-0049/tip-0049.md#protocol-parameters-hash).

## Slot Commitment ID

Expand Down

0 comments on commit fcb2adf

Please sign in to comment.