Commit graph

182 commits

Author SHA1 Message Date
John Jones
caf02463c6 Memory cleanup 2017-04-17 11:57:37 -05:00
John Jones
f3de55999f Implemented find providers from remote peers 2017-04-16 23:46:52 -05:00
John Jones
e886fe3288 Handling finding of peer via swarm 2017-04-13 09:30:28 -05:00
John Jones
dc546649fd Make sure directory exists and is a real directory 2017-04-06 17:47:25 -05:00
John Jones
e237b239a1 Added get_value to dht 2017-04-06 09:55:01 -05:00
John Jones
1fa1e92016 Moved datastore interface from ipfs to libp2p 2017-04-06 09:32:54 -05:00
John Jones
ae2037081c Small bugfix to peer copy 2017-04-05 20:34:13 -05:00
John Jones
14209748d6 More debugging messages 2017-04-03 22:07:22 -05:00
John Jones
0a3812cb85 fixes to multiaddress generation on connection 2017-04-03 21:17:29 -05:00
John Jones
6ad645dcac Added debugging to dht_protocol 2017-04-03 21:03:16 -05:00
John Jones
12f15c4231 Cleaned code around peerstore, providerstore, and networking 2017-04-03 20:54:41 -05:00
John Jones
0a6b4b621c Adding providers to providerstore on kademlia call 2017-04-03 18:13:42 -05:00
John Jones
053d33cec3 added debugging to dht_protocol 2017-04-03 23:03:49 +00:00
John Jones
5643c553df bug fix in add_provider 2017-04-03 17:41:13 -05:00
John Jones
1489e4fbf8 Added some debugging to dht 2017-04-03 17:36:51 -05:00
John Jones
f1c8ceedbd Handling add provider 2017-04-03 17:26:08 -05:00
John Jones
1d06030aec attempting fix of va_list bug 2017-04-03 13:30:07 -05:00
John Jones
aa92d72541 Added fancier logging mechanism 2017-04-03 13:20:12 -05:00
John Jones
caf51bdb7c Added some debugging info 2017-04-03 12:43:05 -05:00
John Jones
464f9b5c5c minor change to peer calls and added debugging info to secio 2017-04-03 11:55:03 -05:00
John Jones
79a2a894dd Adding network calls for kademlia 2017-03-30 13:58:53 -05:00
John Jones
db0f62cee4 Dynamic bootstrap of kademlia peers
Will be using config file instead of hard coded bootstrap addresses
2017-03-24 16:50:02 -05:00
John Jones
158012858a debugging daemon 2017-03-24 14:11:54 -05:00
John Jones
41ef0e5492 Locked in dht version 2017-03-23 15:03:13 -05:00
John Jones
bd9f219b50 Removed some test code 2017-03-23 08:27:21 -05:00
John Jones
9776ff15a0 c99 and endian changes for centos 2017-03-21 15:08:01 +00:00
John Jones
0d0c9bde53 Finishing NodeIO 2017-03-19 14:39:48 -05:00
John Jones
b6a94c7c11 Implemeting NodeIO 2017-03-19 08:04:54 -05:00
John Jones
69cbff9cd6 Refactor - SecureSession to SessionContext 2017-03-19 07:42:52 -05:00
8463e0b06b Kademlia, better treatment when there is no result. 2017-03-16 21:18:03 -03:00
f0bb7375c3 Kademlia wait for result until time out. 2017-03-16 21:06:19 -03:00
52f8ce2b3d Fixed duplicate result in kademlia search. 2017-03-16 09:54:36 -03:00
17dfadb6fd Kademlia search returns multiaddress. 2017-03-16 05:45:44 -03:00
John Jones
dc1b8b6b3d Minor mod to Libp2pLinkedList 2017-03-13 08:53:20 -05:00
John Jones
72dfe2d786 Multiaddress changes 2017-03-09 18:48:28 -05:00
John Jones
74d95cb696 Working on streams 2017-03-09 12:49:47 -05:00
1fa0d4bd68 Fixed target port for kademlia ping. 2017-03-09 14:03:04 -03:00
John Jones
d0512d9084 Made the stream methods more generic 2017-03-09 10:00:45 -05:00
John Jones
40fc7d91f6 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-03-09 08:42:10 -05:00
John Jones
a6fe0fda47 changed encryption to aes 256 for time being 2017-03-09 08:41:59 -05:00
018923ad09 Implemented kademlia announce and search. 2017-03-09 09:43:24 -03:00
John Jones
3d53c470a5 Correctly generating shared and stretched keys 2017-03-09 00:12:04 -05:00
John Jones
05cc6e9bd3 key exchange complete, nearing encrypted streams, mac invalid 2017-03-08 12:18:29 -05:00
John Jones
e092a0e974 Switched to ephemeral DH 2017-03-08 07:23:32 -05:00
John Jones
f182fb8857 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-03-08 05:54:14 -05:00
John Jones
c343d2d0ad Fixed memory leak in secio 2017-03-08 05:53:59 -05:00
1b5b7c7cba hashe array type changed to avoid signedness difference warning. 2017-03-07 02:40:51 -03:00
0ffe73ae28 Implemented stop_kademlia. 2017-03-07 02:38:36 -03:00
John Jones
95d2a06855 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-03-06 19:03:26 -05:00
John Jones
0e0b6b1546 Many bug fixes for secio 2017-03-06 19:03:04 -05:00