Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + func FormatDiskInfo(info *DiskInfo) string + func PrintBanner() + func PrintBuildInterrupted(info BuildInterruptInfo) + func PrintDiskUsage(accountsDbPath, blockstorePath, snapshotsPath string) + func PrintDownloadInterrupted(info DownloadInterruptInfo) + func PrintShutdownSummary(info ShutdownInfo) + func PrintSnapshotSourceSummary(nodeIP string, slot int, referenceSlot int, nodeVersion string, ...) + func PromptStaleAccountsDB(info StaleInfo) int + type BuildInterruptInfo struct + AccountsDBPath string + SnapshotPath string + SnapshotSlot uint64 + Stage string + type DiskInfo struct + Device string + Error error + Label string + Path string + TotalBytes uint64 + UsedBytes uint64 + func GetDiskInfo(path string) *DiskInfo + type DownloadInterruptInfo struct + BytesDownloaded int64 + DownloadPercent float64 + SourceHost string + Stage string + TotalBytes int64 + type DualProgress struct + Download *ProgressBar + Extract *ProgressBar + func NewDualProgress() *DualProgress + func (d *DualProgress) Interrupt(err ...error) + func (d *DualProgress) IsInterrupted() bool + func (d *DualProgress) SetDownloadTotal(total int64) + func (d *DualProgress) Start() + func (d *DualProgress) Stop() + type IndexingProgress struct + func NewIndexingProgress(label string) *IndexingProgress + func (p *IndexingProgress) Finish() + func (p *IndexingProgress) Interrupt(err ...error) + func (p *IndexingProgress) Start(total int) + func (p *IndexingProgress) Update(completed, total int) + type ProgressBar struct + func NewProgressBar(label string) *ProgressBar + func (p *ProgressBar) Add(n int64) + func (p *ProgressBar) Current() int64 + func (p *ProgressBar) Render(useColor bool) string + func (p *ProgressBar) SetTotal(total int64) + func (p *ProgressBar) Total() int64 + type ShutdownInfo struct + AccountsDBPath string + Epoch uint64 + LastBankhash []byte + LastSlot uint64 + ReplayDuration time.Duration + RunID string + SnapshotBaseSlot uint64 + SnapshotEpoch uint64 + WasCancelled bool + type StaleInfo struct + AccountsDBSlot uint64 + LatestSnapshotSlot uint64 + SlotsBehind uint64 v0.1.0-alpha.1 Jan 15, 2026