bootstrapper

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Closed = "Closed"

Closed is the value that the bootstrapper's progress is set to after it has been closed.

View Source
const Skipped = "Skipped"

Skipped is the value that the bootstrapper's progress is set to after it has been skipped.

Variables

View Source
var LocalConsensusSize = int64(0)

LocalConsensusSize is the size in bytes of the consensus file that is stored to disk.

Functions

func Close added in v0.1.2

func Close()

Close bootstrapping consensus module

func Initialize added in v0.1.2

func Initialize()

Initialize bootstrapping consensus from consensus.scpri.me

func Progress

func Progress() string

Progress returns the bootstrapper's progress as a percentage.

func Skip

func Skip()

Skip bootstrapping consensus from consensus.scpri.me

func Start

func Start(dataDir string)

Start begins the process of bootstrapping consensus from consensus.scpri.me.

Types

This section is empty.

Jump to

Keyboard shortcuts

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