ipfs-cluster/cmdutils
Hector Sanjuan 063c5f1b78 Service: Select consensus on "init" (not on "daemon")
Fixes #865.

This makes the necessary changes so that consensu is selected on "init" with a
flag set, by default, to "crdt". This generates only a "crdt" or a "raft"
section, not both.

If the configuration file has a "raft" section, "raft" will be used to start
the daemon. If it has a "crdt" section, "crdt" will be used. If it has none or
both sections, an error will happen.

This also affects "state *" commands, which will now autoselect how to work
from the existing configuration.
2019-08-09 19:20:53 +02:00
..
cmdutils.go Daemon: support remote configuration (#868) 2019-08-09 12:56:27 +02:00
configs.go Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00
state.go Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00