Commit Graph

2933 Commits

Author SHA1 Message Date
Hector Sanjuan
c1c354b177 Update go-libp2p-raft dependency
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 19:38:15 +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
45c31846d1 Fix startup sync mechanism
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 15:08:43 +01:00
Hector Sanjuan
09cc7e9265 Lowercase error messages
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 14:19:41 +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
38d878ee5f add TODO.md
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 18:31:05 +01:00
Hector Sanjuan
a9ed5aae5c Some tests had wrong names. Fixed.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 18:04:49 +01:00
Hector Sanjuan
79aa4ebcfa Extend makeRPC test
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 17:55:42 +01:00
Hector Sanjuan
f56a9dd77e Add cluster_test
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 17:25:21 +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
Hector Sanjuan
98dc9f2289 Fix syncAll being triggered before cluster run(). Other small things.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-12 13:54:58 +01:00
Hector Sanjuan
c342bbc09f HomeDir
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-12 12:06:11 +01:00
Hector Sanjuan
ef0a9c7ede Grab config from home folder
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-11 17:08:34 +01:00
Hector Sanjuan
34b2b6cbd1 Sync between tracker and cluster state. go vet. tests.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-09 20:54:46 +01:00
Hector Sanjuan
8a60d49c82 Split tests into several test functions.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-08 19:04:28 +01:00
Hector Sanjuan
744751b117 README badges
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-08 17:47:43 +01:00
Hector Sanjuan
fe0ddbb963 Add missing dep to .travis.yml
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-08 17:39:27 +01:00
Hector Sanjuan
deac66209e Add missing dep to .travis.yml
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-08 17:35:45 +01:00
Hector Sanjuan
5ae9b58daf Some tests. Mostly to check if travis/coveralls work 2016-12-08 17:24:38 +01:00
Hector Sanjuan
8dfa327724 Travis, coveralls, Makefile 2016-12-08 17:20:16 +01:00
Hector Sanjuan
543f5552ca Return 202-Accepted when requesting to Pin/Unpin 2016-12-07 17:28:46 +01:00
Hector Sanjuan
a9dcf57a90 Add MapPinTracker sync and recover capabilities.
Sync checks that the CID status corresponds to what IPFS says.

Recover retries pinning, unpinning on Error-ed cids.
2016-12-07 17:21:29 +01:00
Hector Sanjuan
9c1c256e33 Introduce the concept of PinTracker. Thin ClusterState to minimal.
+ Try to make RPC handling code cleaner.
2016-12-06 22:29:59 +01:00
Hector Sanjuan
e746ccecb9 Use closable listeners for listening so we can have an orderly shutdown. 2016-12-05 16:24:41 +01:00
Hector Sanjuan
2285f8d1a8 Make ipfs pinning async. Add Pin intermediary states 2016-12-05 15:30:11 +01:00
Hector Sanjuan
e0840df267 WIP: basic functionality 2016-12-02 19:33:39 +01:00
Juan Benet
a5ad1fcf97 illustrations 2016-10-10 12:43:59 -04:00
Jeromy
4961bc81bf better logging and error handling 2016-07-13 03:59:27 -07:00
Jeromy
1557895e85 add a little logging 2016-07-13 03:30:12 -07:00
Jeromy
25944b4b4c make ports confugrable 2016-07-13 03:06:30 -07:00
Jeromy
85bee99523 add basic clusterd program with daemon passthrough 2016-07-13 01:25:55 -07:00
Juan Benet
ea856b9fa8 Update README.md 2016-07-01 15:01:27 -04:00
Juan Benet
f9209592fd Initial commit 2016-07-01 14:41:15 -04:00