genconfig

command module
v0.0.0-...-bfb7fde Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

README

Genconfig

This is a fork of katzenpost/genconfig with a few changes to support adding additional CBORPlugins and to make it easier to work with docker containers.

Installation

Requires go version 1.13.

Usage

$ go run main.go -a <your authority ip address>
$ go run main.go --help
  -a string
    	Non-voting authority public ip address. (default "127.0.0.1")
  -authID string
    	Authority public ID.
  -b string
    	Path to for DataDir in the config files. (default "/conf")
  -ipv4 string
    	The public ipv4 address of the single node.
  -n int
    	Number of mixes. (default 6)
  -name string
    	The name of the node.
  -node
    	Only generate a mix node config.
  -nv int
    	Number of voting authorities. (default 3)
  -o string
    	Output path of the generate config files. (default "./output")
  -p int
    	Number of providers. (default 2)
  -provider
    	Only generate a provider node config.
  -v	Generate voting configuration.

This will generate a directory named output with all the configs needed to run a mixnet. It currently only generates the following configs:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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