ipfs-cluster/consensus/crdt
Hector Sanjuan 949e6f2364 RPC auth: Support Trusted Peers in CRDT consensus component.
TrustedPeers are specified in the configuration. Additional peers
can be added at runtime with Trust/Distrust functions.

Unfortunately we cannot use consensus.PeerAdd as a way to trust a peer as
cluster.PeerAdd+Join can be called by any peer and this calls
consensus.PeerAdd.

The result is consensus.PeerAdd doing a lot in Raft while consensus.Trust does
nothing, while in CRDTs consensus.Trust does something but consensus.PeerAdd
does nothing. But this is more or less consistent.
2019-05-09 19:48:40 +02:00
..
config_test.go RPC auth: Support Trusted Peers in CRDT consensus component. 2019-05-09 19:48:40 +02:00
config.go RPC auth: Support Trusted Peers in CRDT consensus component. 2019-05-09 19:48:40 +02:00
consensus_test.go RPC auth: Support Trusted Peers in CRDT consensus component. 2019-05-09 19:48:40 +02:00
consensus.go RPC auth: Support Trusted Peers in CRDT consensus component. 2019-05-09 19:48:40 +02:00
dagsyncer.go Consensus: add new "crdt" consensus component 2019-04-17 19:14:26 +02:00