github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/storage/version_beacon.go (about)

     1  package storage
     2  
     3  import "github.com/onflow/flow-go/model/flow"
     4  
     5  // VersionBeacons represents persistent storage for Version Beacons.
     6  type VersionBeacons interface {
     7  
     8  	// Highest finds the highest flow.SealedVersionBeacon but no higher than
     9  	// belowOrEqualTo
    10  	// Returns nil if no version beacon has been sealed below or equal to the
    11  	// input height.
    12  	Highest(belowOrEqualTo uint64) (*flow.SealedVersionBeacon, error)
    13  }