From d277435be81da6a13ff2a50975155afacb54d367 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Thu, 30 Nov 2023 13:50:55 +0100 Subject: [PATCH] Update registration conditions to latest code --- tips/TIP-0040/tip-0040.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/tips/TIP-0040/tip-0040.md b/tips/TIP-0040/tip-0040.md index 4b4bf100d..bed1000ca 100644 --- a/tips/TIP-0040/tip-0040.md +++ b/tips/TIP-0040/tip-0040.md @@ -104,8 +104,41 @@ IOTA coins and claim their Mana rewards. ## Registration -Accounts are considered registered for validation if they have a _Staking Feature_ in their _Features_. This feature and -its transaction validation rules are specified in [TIP-42](../TIP-0042/tip-0042.md). +Accounts are considered registered as committee candidates for epoch `Candidate Epoch` if they satisfy all of the +following conditions: + +- The account has a [_Staking Feature_](../TIP-0042/tip-0042.md#staking-feature) in their _Features_ where + `End Epoch >= Candidate Epoch`. +- The account issues a block with a _Candidacy Announcement Payload_ before/or in (TODO: Clarify) the + `Registration Slot(Candidate Epoch)` as defined in [committee selection](#committee-selection). + +### Candidacy Announcement + +A _Candidacy Announcement Payload_ does not contain any data as it is only used to signal candidacy. It is serialized as +follows: + +
+ Candidacy Announcement +
Signals candidacy for committee selection for the epoch after the one in which it is issued.
+
+ + + + + + + + + + + +
+ Name + + Type + + Description +
Payload Typeuint8Set to value 2 to denote a Candidacy Announcement Payload.
## Committee Selection