Move SignCompleted to Unsigned to cause de-duplication amongst honest validators

This commit is contained in:
Luke Parker
2023-08-31 23:39:36 -04:00
parent 9b7cb688ed
commit 5113ab9ec4
6 changed files with 97 additions and 26 deletions

View File

@@ -76,7 +76,7 @@ async fn handle_block<
// mark the node as fatally slashed
TributaryDb::<D>::set_fatally_slashed(&mut txn, genesis, msgs.0.msg.sender);
// TODO: disconnect the node from network/ban from further participation in Tributary
// TODO2: disconnect the node from network/ban from further participation in Tributary
}
TributaryTransaction::Application(tx) => {
handle_application_tx::<D, _, _, _, _, _>(
@@ -99,7 +99,7 @@ async fn handle_block<
event_id += 1;
}
// TODO: Trigger any necessary re-attempts
// TODO2: Trigger any necessary re-attempts
}
pub async fn handle_new_blocks<