mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
1df173e701
* backfill service * fix bug where origin state is never unlocked * support mvslice states * use renamed interface * refactor db code to skip block cache for backfill * lint * add test for verifier.verify * enable service in service init test * cancellation cleanup * adding nil checks to configset juggling * assume blocks are available by default As long as we're sure the AvailableBlocker is initialized correctly during node startup, defaulting to assuming we aren't in a checkpoint sync simplifies things greatly for tests. * block saving path refactor and bugfix * fix fillback test * fix BackfillStatus init tests --------- Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
10 lines
329 B
Go
10 lines
329 B
Go
package coverage
|
|
|
|
import "github.com/prysmaticlabs/prysm/v4/consensus-types/primitives"
|
|
|
|
// AvailableBlocker can be used to check whether there is a finalized block in the db for the given slot.
|
|
// This interface is typically fulfilled by backfill.Store.
|
|
type AvailableBlocker interface {
|
|
AvailableBlock(primitives.Slot) bool
|
|
}
|