Documentation ¶
Index ¶
- Constants
- func ClearInProgress(id string, db *gorm.DB) error
- func GetMissingHeights(chainTip uint64, genesisHeight uint64, limit uint64, id string, db *gorm.DB) (*[]uint64, error)
- func GetTrackedHeights(id string, db *gorm.DB) (*[]uint64, error)
- func GetTrackedTip(db *gorm.DB, refTrackId string) (uint64, error)
- func RemoveHeights(heights *[]uint64, id string, db *gorm.DB) error
- func RemoveSectionsFromTracker(toRemove Sections, id string, db *gorm.DB) error
- func UpdateAndRemoveWipHeights(heights *[]uint64, id string, dbConn *gorm.DB) error
- func UpdateInProgressHeight(track bool, heights *[]uint64, id string, db *gorm.DB) error
- func UpdateTrackedHeights(heights *[]uint64, id string, db *gorm.DB) error
- type DbSection
- type DbSections
- type Section
- type SectionId
- type Sections
Constants ¶
View Source
const ( NoReturnLimit = 0 WipStr = "_wip" )
Variables ¶
This section is empty.
Functions ¶
func GetMissingHeights ¶
func UpdateInProgressHeight ¶
Types ¶
type DbSections ¶
type DbSections = []DbSection
Click to show internal directories.
Click to hide internal directories.