Versions in this module Expand all Collapse all v0 v0.2.97 Oct 15, 2022 Changes in this version + var ErrDoesNotExist = fmt.Errorf("does not exist") + func GetCurrentVersion() string + func NewVersionStore(db *bbolt.DB) (*versionStore, error) + type ActiveSwapGetter interface + HasActiveSwaps func() (bool, error) + type ActiveSwapsError struct + func (a ActiveSwapsError) Error() string + type VersionService struct + func NewVersionService(boltdb *bbolt.DB) (*VersionService, error) + func (vs *VersionService) SafeUpgrade(swapService ActiveSwapGetter) error