#261 calls advance_preparation synchronously on the block processing pipeline. This is OK for now, since the call takes ~500ms, and is only called once every ~65k slots, but we should move it to the background to avoid unnecessary instability.
As mentioned in #332, what we want is to not delay other duties due to an unprepared key. We should check keys are prepared for later slots before they're reached, and prepare them beforehand. We can then choose to prepare them right after they're used, which should give us a whole slot of time to do it.
#261 calls
advance_preparationsynchronously on the block processing pipeline. This is OK for now, since the call takes ~500ms, and is only called once every ~65k slots, but we should move it to the background to avoid unnecessary instability.As mentioned in #332, what we want is to not delay other duties due to an unprepared key. We should check keys are prepared for later slots before they're reached, and prepare them beforehand. We can then choose to prepare them right after they're used, which should give us a whole slot of time to do it.