light

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Window = pruner.AvailabilityWindow(30 * 24 * time.Hour)

Window is the availability window for light nodes in the Celestia network (30 days).

Variables

This section is empty.

Functions

func NewPruner

func NewPruner(bstore blockstore.Blockstore, ds datastore.Batching) pruner.Pruner

Types

type Pruner

type Pruner struct {
	// contains filtered or unexported fields
}

func (*Pruner) Prune

func (p *Pruner) Prune(ctx context.Context, h *header.ExtendedHeader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL