Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 794 Bytes

turn_it_on.md

File metadata and controls

32 lines (27 loc) · 794 Bytes

This is how to launch a node and connect to the network.

first, if you haven't installed the dependencies, do that

compile it

  make prod-build

start the node

  make prod-go

You can communicate with the running node from a terminal like this:

  make prod-attach

now that you are attached to a node, you can tell it commands

You can turn off a running node

  make prod-stop

You can delete the database to restart from the genesis block. This preserves your keys.

  make prod-clean

For convenience, there is a way to wrap this all into one command. To kill any running processes, rebuild the code, and start a node that can connect to the network, do this:

  make prod-restart