|
@@ -100,8 +100,10 @@ async fn consensus_loop(
|
|
|
// Note: when a node can start produce proposals is only enforced in code,
|
|
// Note: when a node can start produce proposals is only enforced in code,
|
|
|
// where we verify if the hardware can keep up with the consensus, by
|
|
// where we verify if the hardware can keep up with the consensus, by
|
|
|
// counting how many consecutive slots node successfully listened and process
|
|
// counting how many consecutive slots node successfully listened and process
|
|
|
- // everything. Later, this will be enforced via contract, where it will be explicit
|
|
|
|
|
- // when a node can produce proposals, and after which slot they can be considered as valid.
|
|
|
|
|
|
|
+ // everything. Aditionally, we check each proposer coin creation slot to be
|
|
|
|
|
+ // greater than an epoch length. Later, this will be enforced via contract,
|
|
|
|
|
+ // where it will be explicit when a node can produce proposals,
|
|
|
|
|
+ // and after which slot they can be considered as valid.
|
|
|
let mut listened_slots = 0;
|
|
let mut listened_slots = 0;
|
|
|
let mut changed_status = false;
|
|
let mut changed_status = false;
|
|
|
loop {
|
|
loop {
|