input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
115 stars 36 forks source link

Signed entity lock mechanism #1758

Closed Alenar closed 2 weeks ago

Alenar commented 2 weeks ago

Content

This PR add a lock mechanism to make our state machines skip a signed entity when needed (ie: when we need to do a costly computation on a signed entity but we still want our state machines to run).

On aggregator the skip is done when it try to create open messages. On signer the skip is done when it check if it can sign a pending certificate.

Pre-submit checklist

Issue(s)

Closes #1693

github-actions[bot] commented 2 weeks ago

Test Results

    3 files  ± 0     44 suites  ±0   8m 50s :stopwatch: +16s 1 069 tests +11  1 069 :white_check_mark: +11  0 :zzz: ±0  0 :x: ±0  1 167 runs  +11  1 167 :white_check_mark: +11  0 :zzz: ±0  0 :x: ±0 

Results for commit 7fc0b215. ± Comparison against base commit 93c0a5e9.

:recycle: This comment has been updated with latest results.