serai/substrate/client
Luke Parker d50fe87801
Correct the prior documented TOCTOU
Now, if a malicious validator set publishes a malicious `Batch` at the last
moment, it'll cause all future `Batch`s signed by the next validator set to
require a bool being set (yet they never will set it).

This will prevent the handover.

The only overhead is having two distinct `batch_message` calls on-chain.
2023-10-13 04:41:01 -04:00
..
src Verify all Batchs published by the prior set 2023-10-13 04:12:21 -04:00
tests Correct the prior documented TOCTOU 2023-10-13 04:41:01 -04:00
Cargo.toml Add Batch messages from processor, verify Batchs published on-chain 2023-09-29 03:51:01 -04:00
LICENSE Move substrate/serai/* to substrate/* 2023-04-08 03:01:14 -04:00