Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.67 KB

README.md

File metadata and controls

54 lines (31 loc) · 1.67 KB

viacoin-node-setup

This tool is written to download the binaries, untar, make a .conf file in the home directory & sync the node. It will restart the node after every x amount of blocks.

This to make sure all blocks are saved if memory is a problem and blocks don't get saved when a crash happens. If the node crashes during syncing, this tool will restart the node and continue with the sync

alt text

Minimum Recommended Specifications
  • Go 1.10 or 1.11

setup

cd ~/go/src/github.com/

https://github.com/viacoin/viacoin-node-setup.git

cd viacoin-node-setup

dep ensure

dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile. https://github.com/golang/dep

config.yml

Running the app

You can run the app by using the following command:

go run main.go

Or you can build the binary with the following command

go build main.go

This will produce a binary called "main" wich you can rename and for example upload on the server with scp as example. With the compiled binary, your linux server/vps does not need the dependency's. The server/VPS that will run the binary does not need to have Golang installed at all.

The machine that will compile does need Golang installed and all dependency's (use dep).

License

This tool is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.