devnet

package
v1.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 1

README

devnet

Runs a Lotus daemon and miner to be used for boost integration tests.

To run it locally, install ./cmd/devnet and the lotus binaries into your $PATH, and simply run one of the integration tests - it should start devnet automatically.

git clone https://github.com/filecoin-project/lotus
cd lotus
git checkout master # or whichever version
make debug
sudo make install
install -C ./lotus-seed /usr/local/bin/lotus-seed
Clean up state directories

Make sure your $LOTUS_PATH and $LOTUS_MINER_PATH are clean before running devnet:

rm -rf ~/.lotus
rm -rf ~/.lotusminer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFullnodeEndpoint

func GetFullnodeEndpoint(ctx context.Context, homedir string) (string, error)

func GetMinerEndpoint

func GetMinerEndpoint(ctx context.Context, homedir string) (string, error)

func Run

func Run(ctx context.Context, tempHome string, done chan struct{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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