viacoin-node-setup

command module
v0.0.0-...-484a4b1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 9 Imported by: 0

README

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

  • 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.

Documentation

Overview

Copyright (c) 2019 Romano (Viacoin developer) Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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