Commit graph

55 commits

Author SHA1 Message Date
John Jones
f2e5af4058 Major changes for implementation of yamux protocol
This commit changes the Stream interface, so as to allow the yamux
protocol to have channels. It is necessary, but touches many areas. The
codebase is better for it.
2017-11-08 10:51:43 -05:00
jmjatlanta
1dcac6ecb5 Implementing the new way of swarm connection 2017-10-23 15:21:50 -05:00
jmjatlanta
8480542b45 Network write methods now expect StreamMessage struct 2017-10-23 09:47:54 -05:00
jmjatlanta
6147769f4b Reading from stream now uses StreamMessage struct 2017-10-23 09:01:03 -05:00
John Jones
c62253dce0 Don't attempt to connect to yourself using secio 2017-09-28 13:48:35 -05:00
jmjatlanta
bf1f900716 more debugging 2017-09-28 13:21:07 -05:00
jmjatlanta
9f55b14f3c Added more debugging messages 2017-09-28 07:58:24 -05:00
John Jones
c56d58f404 error handling 2017-09-25 17:55:45 -05:00
jmjatlanta
a810f94757 implementation of dht_send_message_nearest_x 2017-09-18 06:32:37 -05:00
John Jones
96ed7bc511 Testing ipns 2017-09-14 16:49:50 -05:00
John Jones
e922c7ef14 Implemented put_value 2017-09-14 11:35:16 -05:00
John Jones
09e2a2291f Small memory leak fix for protocol comparison 2017-09-07 18:46:03 -05:00
jmjatlanta
eecfea4f78 journalio working, needs tuning 2017-08-31 06:41:06 -05:00
jmjatlanta
f0d82129ab Debugging journalio process 2017-08-30 11:09:28 -05:00
jmjatlanta
ecb9f984ba datastore now retrieves a DatastoreRecord struct
The structure is much more user friendly and contains the timestamp
2017-08-28 10:54:56 -05:00
jmjatlanta
365e645d94 Added convenience method to peerstore, and fixed memory leak 2017-08-16 06:41:01 -05:00
jmjatlanta
a009673969 Added some debugging information to protocols 2017-08-09 12:08:57 -05:00
John Jones
6f77a64adb IPFS protocols now implement an interface to make marshalling easier 2017-08-09 08:03:40 -05:00
John Jones
36500348bd Added debugging messages 2017-08-03 17:47:02 -05:00
jmjatlanta
a137c2c43e Code Cleanup plus making providerstore smarter 2017-07-31 12:49:41 -05:00
jmjatlanta
dfb1aba247 Fixed warnings 2017-07-17 16:14:20 -05:00
John Jones
8bf4e3cf07 Added define for osx 2017-07-17 15:20:28 -05:00
John Jones
e4ba343d48 Fixes for various memory leaks 2017-05-11 13:53:23 -05:00
John Jones
22a782d9f1 Major changes to retrieving files
Working on transfer of big files
2017-04-20 17:55:18 -05:00
John Jones
c1e7131c7c passing network timeouts to read methods 2017-04-17 14:03:27 -05:00
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
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
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
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
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
1fa0d4bd68 Fixed target port for kademlia ping. 2017-03-09 14:03:04 -03:00
018923ad09 Implemented kademlia announce and search. 2017-03-09 09:43:24 -03:00