Commit graph

214 commits

Author SHA1 Message Date
John Jones
950ad31760 For now, puting bogus, non-zero IP address in due to MultiAddress bug.
The client pays no attention to the IP address anyway. But the
MultiAddress bug needs to be fixed.
2017-04-03 22:02:44 -05:00
John Jones
2efd59cbd5 adding MultiAddress to peer structure sent to remote connection 2017-04-03 21:18:08 -05:00
John Jones
7b61c70639 added logging to daemon 2017-04-03 20:54:03 -05:00
John Jones
089d072736 fixed memory freeing for daemon 2017-04-03 17:31:35 -05:00
John Jones
87cf779704 handling add provider 2017-04-03 17:26:33 -05:00
John Jones
58b5bc8cdd More debugging for segfault 2017-04-03 13:41:26 -05:00
John Jones
624c2280e4 fix of protocol name 2017-04-03 13:26:11 -05:00
John Jones
6f94f7e6c0 Using new logging mechanism 2017-04-03 13:20:35 -05:00
John Jones
396a27d712 Added some debugging info 2017-04-03 12:42:35 -05:00
John Jones
01531693d6 Small adjustment to makefile 2017-04-03 11:58:28 -05:00
John Jones
e90d966e44 Adding network and swarm functionality 2017-04-03 11:55:36 -05:00
John Jones
96b97ad347 Adding network calls to kademlia 2017-03-30 13:59:31 -05:00
John Jones
59af1c0b9e Using config file for bootstrap of kademlia 2017-03-24 16:51:00 -05:00
John Jones
8feb946087 debugging daemon 2017-03-24 14:29:00 -05:00
John Jones
6c64b55176 Added more comments 2017-03-23 15:05:09 -05:00
John Jones
d25e088b7c Built some system tests
Testing the retrieve remote file area using kademlia
2017-03-23 08:28:35 -05:00
John Jones
640e4be5be fix for strtok_r 2017-03-21 13:40:46 -05:00
John Jones
25a2fa0c65 Testing string tokenizer 2017-03-21 12:58:39 -05:00
John Jones
618264c709 Kademlia does not need a separate thread
Kademlia creates its own threads, and does not need a thread to get it
started.
2017-03-21 12:23:54 -05:00
John Jones
83242b0046 minor fixes 2017-03-21 12:11:41 -05:00
John Jones
8edc94509c c99 for centos 2017-03-21 15:20:52 +00:00
John Jones
cfcabaecd0 Finishing NodeIO 2017-03-19 14:40:16 -05:00
John Jones
0b238eb5ac Implementing NodeIO 2017-03-19 08:05:25 -05:00
John Jones
e8b8d06f24 refactoring + beginning of file transfer
Now attempting to use kademlia to find a hash, and NodeIO to transfer
the file
2017-03-19 07:47:19 -05:00
John Jones
93c4988f90 Added utility functions to multiaddress
Parsing of typical IP addresses is now easier
2017-03-09 18:47:27 -05:00
John Jones
f494344b15 Adding kademlia routing to daemon 2017-03-09 18:03:21 -05:00
John Jones
43ca313854 Working with secio streams 2017-03-09 12:50:08 -05:00
John Jones
15a8abff9a Made the stream methods more generic 2017-03-09 10:01:09 -05:00
John Jones
cd5d347e63 Minor fixes to libp2p 2017-03-06 19:04:14 -05:00
John Jones
d4fee344a7 Fixes for connections via secio 2017-03-02 16:18:02 -05:00
3a38623dcc Fixed key length validation. 2017-03-01 14:28:17 -03:00
John Jones
f1aac5d707 Starting to handle get_value request 2017-02-27 12:27:40 -05:00
John Jones
7a6b138444 more ping cleanup and friendly interface to streams 2017-02-23 15:15:33 -05:00
John Jones
ae48e058dd Added ping functionality to multistream 2017-02-23 11:16:23 -05:00
John Jones
daefe7604f Beginning of implementation of smarter connections for daemon 2017-02-22 11:48:42 -05:00
John Jones
f8e4286740 Starting to make the daemon more intelligent 2017-02-22 10:56:11 -05:00
fbd862431c namesys: Incomplete code disabled to not break compilation. 2017-02-14 07:56:07 -03:00
John Jones
9379d0904f Fixed the encoding of the private key in the config file
The old version had a unique way to store the private key in the config
file. Now we are compatible with the GO version.
2017-02-13 17:42:43 -05:00
John Jones
2307309fa2 Adjusted makefile to make the main method near-last 2017-02-13 09:07:40 -05:00
John Jones
ea5f04e27a added namesys to makefile 2017-02-13 08:56:26 -05:00
John Jones
8a2aabc013 Fixed some errors and warnings 2017-02-13 08:53:32 -05:00
John Jones
81fe9305bf Adjusting to use the better multihash implementation 2017-02-13 07:43:18 -05:00
4cd4750f6f namesys: Fixed some compilation errors. 2017-02-13 08:52:22 -03:00
John Jones
c972852c9a Fixed some compiler warnings 2017-02-13 05:34:56 -05:00
0522bedd2a Implemented initial core/ping.
A fake plaintext ping/pong implementation, for now it's just
   to use as a POC for multistream and secio.
2017-02-09 23:53:58 -03:00
de6c4b2495 Initial implementation of core/daemon. 2017-02-09 22:10:21 -03:00
cd09930077 Fixed path/path compilation. 2017-02-09 18:32:12 -03:00
1535273259 Initial implementation of routing/offline. 2017-02-02 22:15:28 -03:00
John Jones
33431a3007 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-02-02 19:10:10 -05:00
John Jones
8e19636de5 Removed old peer id method 2017-02-02 19:09:50 -05:00