export

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExpectedHeightAt

func GetExpectedHeightAt(gts *types.TipSet, at time.Time, blocktime time.Duration) abi.ChainEpoch

func GetNextSnapshotHeight

func GetNextSnapshotHeight(current, interval, confidence abi.ChainEpoch, after bool) abi.ChainEpoch
/- 500

|----------|----------|----------|----------|

      |----------|
485 - /          \ - 585

func TimeAtHeight

func TimeAtHeight(gts *types.TipSet, height abi.ChainEpoch, blocktime time.Duration) time.Time

Types

type Export

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

func NewExport

func NewExport(node api.FullNode, tsk types.TipSetKey, nroots abi.ChainEpoch, oldmsgskip bool, output io.WriteCloser) *Export

func (*Export) Export

func (e *Export) Export(ctx context.Context) error

func (*Export) Progress

func (e *Export) Progress() (int, bool)

Jump to

Keyboard shortcuts

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