server

command
v0.0.0-...-60ae506 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

server runs a participating raft client that can send and receive currency.

Program flags:

 --cluster:   		A comma separated list of peer IP addresses
	--hostname-suffix:  A convenience command for kubernetes to derive
						the network name from the hostname
						ex: server-0 -> server-0.clusterip
 --id:        		This node's index in the list of peers. Optional
						if nodes can be identified by their hostnames
 --join:      		Whether this node is joining an existing cluster
 --grpc-port: 		A port on which to host a GRPC service for non-
				 		participatory clients to submit transactions to

The server will run an interactive interface on machines with a tty, and headlessly on those without (ie docker or k8s). Transactions submitted by other clients via the grpc service will be securely (with tamper-resistance) submitted to the cluster on that client's behalf.

Jump to

Keyboard shortcuts

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