beekeeper

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0

README

Ethereum Swarm Beekeeper

Ethereum Swarm Beekeeper is tool used for testing of Ethereum Swarm Bee.

Installing

make binary
cp dist/beekeeper /usr/local/bin/beekeeper

Usage

beekeeper has following commands:

command description
check Run tests on Bee node(s)
help Help about any command
version Print version number

check

Command check runs test(s) on Bee node(s). Each test is implemented as a subcommand.

Available subcommands:

subcommand description
peercount Check node's peer count for all nodes in the cluster
peercount

peercount checks node's peer count for all nodes in the cluster. It retrieves list of peers from node's Debug API (/peers endpoint), and compares number of node's peers against expected peer count. Expected peer count equals: node-count + bootnode-count - 1.

Example:

beekeeper --bootnode-count 1 --node-count 1 --namespace bee

or, shorthand:

beekeeper -b 1 -c 1 -n bee

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Version TODO
	Version = func() string {
		if commit != "" {
			return version + "-" + commit
		}
		return version + "-dev"
	}()
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
beekeeper command
pkg

Jump to

Keyboard shortcuts

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