Hector Sanjuan
9af863e3e0
Merge pull request #29 from ipfs/25-leader-comm
...
Fix #25 : Only the consensus layer should deal with leaders
2017-01-24 01:13:42 +01:00
Hector Sanjuan
d1731ebd28
Use multiaddresses in the configuration and rename JSON entries for clarity
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 18:38:59 +01:00
Hector Sanjuan
031523f7bf
Fix #25 : Only the consensus layer should deal with leaders
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 14:01:49 +01:00
Hector Sanjuan
95e31ace87
Address small typos pointed out by @mateon1
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-15 16:06:47 +01:00
Hector Sanjuan
3243cfcccf
Make golint happy
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-28 16:29:07 +01:00
Hector Sanjuan
805b867651
Use go-libp2p-rpc. Tests updated.
...
The former RPC stuff had become a monster, really hard to have an overview
of the RPC api capabilities and with lots of magic.
go-libp2p-rpc allows to have a clearly defined RPC api which
shows which methods every component can use. A component to perform
remote requests, and the convoluted LeaderRPC, BroadcastRPC methods are
no longer necessary.
Things are much simpler now, less goroutines are needed, the central channel
handling bottleneck is gone, RPC requests are very streamlined in form.
In the future, it would be inmediate to have components living on different
libp2p hosts and it is way clearer how to plug into the advanced cluster rpc
api.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-27 18:19:54 +01:00
Hector Sanjuan
8172b0ca61
Global pin status. /status /status/cid will now report pin tracker state
...
from all cluster members.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-19 18:35:24 +01:00
Hector Sanjuan
f0c5350743
Get remote RPC requests working. First e2e tests.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-16 22:00:08 +01:00
Hector Sanjuan
8c458d0650
Wrote a better IPFS daemon mock for testing. Adapted tests.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-16 17:23:39 +01:00
Hector Sanjuan
0422ceed16
Preliminary support for Remote RPC operations
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-16 12:40:28 +01:00
Hector Sanjuan
319c97585b
Renames everywhere removing redundant "Cluster" from "ClusterSomething".
...
Start preparing syncs() and status()
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 19:08:46 +01:00
Hector Sanjuan
a655288fd6
Improve shutdown routines
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 14:07:19 +01:00
Hector Sanjuan
0f31995bd6
consensus tests
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 15:31:50 +01:00