ipfs-cluster/consensus/crdt
Kishan Sagathiya e7b731e0e4 Fix #835: service: init --peers
* Init should take a list of peers

This commit adds `--peers` option to `ipfs-cluster-service init`

`ipfs-cluster-service init --peers <multiaddress,multiaddress>`

- Adds and writes the given peers to the peerstore file
- For raft config section, adds the peer IDs to the `init_peerset`
- For crdt config section, add the peer IDs to the `trusted_peers`
2019-07-25 10:47:44 +02:00
..
config_test.go crdt: Allow to configure CRDT in "TrustAll" mode 2019-06-10 13:35:25 +02:00
config.go Fix #835: service: init --peers 2019-07-25 10:47:44 +02:00
consensus_test.go Update deps along with go-libp2p-core refactor 2019-06-14 13:10:45 +02:00
consensus.go Update deps along with go-libp2p-core refactor 2019-06-14 13:10:45 +02:00