mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 992 forks source link

Handle invalid MMR root to prevent sync thread panic #3774

Closed ardocrat closed 8 months ago

ardocrat commented 8 months ago

Return Result<TxHashSetRoots, Error> at TxHashSet::roots() method to prevent thread panic on MMR root check.

yeastplume commented 8 months ago

merging to apply #3775 on top