You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some checks in the ChainSyncer's validate(&self, block: &Block) -> Result<(), Error> method that could use some async.
This is a nice optimization to have, since checks don't have to happen sequentially. Furthermore, currently when one check fails, the whole method fails. This implies that we can only recover one error per block. When done asynchronously, we can pass back multiple errors, giving us a more rich error.
Some checks that can be async are:
Miner Check, Signature Check, Message Check, Winner Check
Other information and links
The text was updated successfully, but these errors were encountered:
Issue summary
There are some checks in the ChainSyncer's
validate(&self, block: &Block) -> Result<(), Error>
method that could use some async.This is a nice optimization to have, since checks don't have to happen sequentially. Furthermore, currently when one check fails, the whole method fails. This implies that we can only recover one error per block. When done asynchronously, we can pass back multiple errors, giving us a more rich error.
Some checks that can be async are:
Miner Check, Signature Check, Message Check, Winner Check
Other information and links
The text was updated successfully, but these errors were encountered: