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)
Click to show internal directories.
Click to hide internal directories.