Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Latest commit

 

History

History
144 lines (100 loc) · 3.55 KB

File metadata and controls

144 lines (100 loc) · 3.55 KB

TweedleDev 210 - Spacemesh 0.2 Preview Devnet

Release date: November 18th, 2021.

This early Spacemesh 0.2 devnet is intended for users who are comfortable using the command line and terminal applications.


Follow the instructions below to join the devnet.

System Requirements

  • A computer with a modern Intel, an AMD CPU (2 cores / 4 native threads) or an Apple M1 CPU.
  • Windows 10 Home or Pro, macOS, Ubuntu 18.04, Fedora 21, or Debian 8.
  • 4 GB RAM.
  • 250 GiB free disk space (HDD or SSD).
  • An always-on, un-metered Internet connection capable of 10 mbps download and 1 mbps upload.
  • Recommended but not required: A graphics card supporting CUDA (minimum compute compatibility 5.0, maximum compute compatibility 8.6), or Vulkan compute API 1.2 or later.

Installing & Running

  1. Download the devnet release zip file for your platform.
  1. Extract the zip file to a directory.

  2. Navigate to the directory in terminal.

  3. Configure downloaded binaries for execution.

Linux

chmod u+x go-spacemesh
chmod u+x smrepl_linux_amd64

macOS

chmod u+x go-spacemesh
chmod u+x smrepl_darwin_amd64
sudo xattr -rd com.apple.quarantine go-spacemesh
sudo xattr -rd com.apple.quarantine lib*
sudo xattr -rd com.apple.quarantine smrepl_darwin_amd64
  1. Start a Spacemesh full node.

macOS and Linux

./go-spacemesh -c config.json > log.txt

Windows (PowerShell)

.\go-spacemesh.exe -c config.json > log.txt
  1. Start Smrepl.

macOS

./smrepl_darwin_amd64

Linux

./smrepl_linux_amd64

Windows (PowerShell)

.\smrepl_windows_amd64.exe

Proceed to create a wallet and setup smeshing in smrepl.


Using the gpu-post test app

Navigate to your directory you extract the zip release to and enter from a terminal:

macOS

export DYLD_LIBRARY_PATH=.:$DYLD_LIBRARY_PATH
sudo xattr -rd com.apple.quarantine gpu-setup-test
chmod +x gpu-setup-test
./gpu-setup-test

Linux

export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
chmod +x gpu-setup-test
./gpu-setup-test

Windows (PowerShell)

.\gpu-setup-test.exe

The available commands should be displayed.

Listing Supported POST compute devices (cpus and gpus)

./gpu-setup-test -l

Benchmarking your gpu(s)

./gpu-setup-test -b

Known Issues


Mini FAQ

Q: I've setup smeshing via smrepl and I had later restart the node and now it is not smeshing. How can I keep smeshing after a node restart?

A: After setting post in smrepl, you need to modify your node's config file with the smeshing parameters so your node can continue smeshing using these parameters after you restart it.

Q: I'm getting an error when starting the node on Windows about missing C++ runtime.

A: Install the latest Visual C++ runtime from Microsoft and try again.


Full Node Release on Github

go-spacemesh v0.2.6-beta.1