sybil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapStatus

type BootstrapStatus struct {
	Done bool
	Err  error
}

BootstrapStatus describes the status of connecting to a bootstrap node.

type Sybil

type Sybil struct {
	Host         host.Host
	Datastore    datastore.Datastore
	Routing      routing.Routing
	RoutingTable *kbucket.RoutingTable
	Bootstrapped bool
}

Sybil is a container for ipfs/libp2p components used by a Hydra Booster sybil.

func NewSybil

func NewSybil(ctx context.Context, options ...opts.Option) (*Sybil, chan BootstrapStatus, error)

NewSybil constructs a new Hydra Booster sybil node

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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