Commit graph

52 commits

Author SHA1 Message Date
jmjatlanta
05f2620054 More changes for dialer 2017-10-23 16:21:03 -05:00
jmjatlanta
1dcac6ecb5 Implementing the new way of swarm connection 2017-10-23 15:21:50 -05:00
jmjatlanta
2391f23b4e Beginnings of stream locking 2017-10-12 12:37:40 -05:00
jmjatlanta
56e301df8d Handle swarm connect 2017-10-12 10:12:22 -05:00
John Jones
68242a6355 Double check if connection_type and sessionContext agree
Assuming that sessionContext is not null because connection_type is
CONNECTED is not safe. Fixed this in the peer_connect method
2017-10-09 10:00:30 -05:00
John Jones
198e5d544a secio unencrypted read fix 2017-09-28 16:31:35 -05:00
John Jones
7c39799103 Cleaned up debugging message 2017-09-28 14:45:18 -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
jmjatlanta
a810f94757 implementation of dht_send_message_nearest_x 2017-09-18 06:32:37 -05:00
John Jones
5a9ab47635 Memory leak fixed 2017-09-07 14:57:20 -05:00
John Jones
9fd44b7878 implementing handler interface in front of multistream 2017-09-04 11:01:17 -05:00
John Jones
36061dc1da Small adjustments for secio protocol compatibility 2017-08-31 12:49:43 -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
John Jones
f84ec579f2 Making it easier to create secio connections 2017-08-09 10:57:17 -05:00
jmjatlanta
8ff5020088 Reverting back to specific network reads and writes 2017-08-09 10:23:24 -05:00
jmjatlanta
4f52a20314 Handling secio negotiation differently to comply with protocol 2017-08-09 09:12:16 -05:00
John Jones
1a45924151 Fixing memory leak 2017-08-08 20:40:06 -05:00
jmjatlanta
61a576eb93 Handling details of bitswap and connection pool 2017-08-03 11:15:40 -05:00
John Jones
a750c0edf1 No need to keep track of socket fd 2017-08-02 09:03:35 -05:00
jmjatlanta
5a91c5bbe8 keeping track of max socket fd 2017-08-02 08:52:55 -05:00
jmjatlanta
3137d9efa6 Now a successful secio connection adds the peer to the peerstore 2017-07-31 16:36:08 -05:00
jmjatlanta
8c1c813643 sanity check
additional sanity check in peerstore and saving remote peer id when
connecting with secio
2017-07-31 15:18:17 -05:00
John Jones
5406fb29e2 Chasing memory leak possibly in PeerStore 2017-07-31 14:51:29 -05:00
jmjatlanta
a137c2c43e Code Cleanup plus making providerstore smarter 2017-07-31 12:49:41 -05:00
John Jones
4542ebe1cb correctly handle a stream that is unable to connect 2017-07-31 08:38:16 -05:00
John Jones
30250a1af0 Making a Libp2pPeer more useful 2017-07-31 06:42:42 -05:00
John Jones
1e49d8f7ab Fixed small memory leak 2017-07-27 14:32:42 -05:00
John Jones
1971e60438 Cleanup of needless Stream attached to things it shouldn't have 2017-07-27 12:06:27 -05:00
John Jones
93bb78169a Can now compare 2 sessions for equality 2017-07-26 07:37:28 -05:00
jmjatlanta
dfb1aba247 Fixed warnings 2017-07-17 16:14:20 -05:00
e32837031f Implemented timeout to avoid hang due to connection error. 2017-07-06 22:31:16 -03:00
John Jones
e4ba343d48 Fixes for various memory leaks 2017-05-11 13:53:23 -05:00
John Jones
ff4be03782 Better handling of locally stored files 2017-05-11 07:04:28 -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
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
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
f1c8ceedbd Handling add provider 2017-04-03 17:26:08 -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
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
c5fa775534 Starting to handle get_value request 2017-02-27 12:27:14 -05:00