dvoting

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package main implements the dvoting backend

Unix example:

# Expect GOPATH to be correctly set to have dvoting available.
go install

dvoting --config /tmp/node1 start --port 2001 &
dvoting --config /tmp/node2 start --port 2002 &
dvoting --config /tmp/node3 start --port 2003 &

# Share the different certificates among the participants.
dvoting --config /tmp/node2 minogrpc join --address 127.0.0.1:2001\
  $(dvoting --config /tmp/node1 minogrpc token)
dvoting --config /tmp/node3 minogrpc join --address 127.0.0.1:2001\
  $(dvoting --config /tmp/node1 minogrpc token)

# Create a chain with two members.
dvoting --config /tmp/node1 ordering setup\
  --member $(dvoting --config /tmp/node1 ordering export)\
  --member $(dvoting --config /tmp/node2 ordering export)

# Add the third after the chain is set up.
dvoting --config /tmp/node1 ordering roster add\
  --member $(dvoting --config /tmp/node3 ordering export)

Jump to

Keyboard shortcuts

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