Commit graph

205 commits

Author SHA1 Message Date
jmjatlanta
5712e920d1 datastore_put now accepts a DatastoreRecord struct 2017-09-13 12:39:50 -05:00
John Jones
09e2a2291f Small memory leak fix for protocol comparison 2017-09-07 18:46:03 -05:00
John Jones
5a9ab47635 Memory leak fixed 2017-09-07 14:57:20 -05:00
John Jones
ebb94d96cb Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:06 -05:00
John Jones
9fd44b7878 implementing handler interface in front of multistream 2017-09-04 11:01:17 -05:00
John Jones
53f754af43 Adding more compatibility fixes for standard ipfs 2017-08-31 16:40:35 -05:00
John Jones
36061dc1da Small adjustments for secio protocol compatibility 2017-08-31 12:49:43 -05:00
jmjatlanta
7829ab0aee Added log level to output of logging messages 2017-08-31 10:25:23 -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
ed63c761d5 Updated comment 2017-08-28 06:55:38 -05:00
jmjatlanta
817eb0231c Changes for the journal protocol 2017-08-24 13:30:04 -05:00
da23d4c54a Headers added to fix the build in the old gcc version. 2017-08-17 08:18:55 -03:00
jmjatlanta
61281368bf fixed compiler warning 2017-08-16 08:14:42 -05:00
jmjatlanta
4e9cfd7bd5 Added debugging messages 2017-08-16 07:33:43 -05:00
jmjatlanta
365e645d94 Added convenience method to peerstore, and fixed memory leak 2017-08-16 06:41:01 -05:00
John Jones
5e1704aaba No longer building nodeio 2017-08-09 12:33:36 -05:00
jmjatlanta
a009673969 Added some debugging information to protocols 2017-08-09 12:08:57 -05:00
jmjatlanta
bff867ae4d logic fix 2017-08-09 11:12:16 -05:00
John Jones
f84ec579f2 Making it easier to create secio connections 2017-08-09 10:57:17 -05:00
jmjatlanta
9cdc0bd54e Properly reading the remote's proposal 2017-08-09 10:32:01 -05:00
jmjatlanta
8ff5020088 Reverting back to specific network reads and writes 2017-08-09 10:23:24 -05:00
jmjatlanta
563a89150d Working with secio negotiation 2017-08-09 10:09:28 -05:00
John Jones
1e7806855d Using muiltistream protocol to begin secio negotiation 2017-08-09 09:46:53 -05:00
jmjatlanta
4f52a20314 Handling secio negotiation differently to comply with protocol 2017-08-09 09:12:16 -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
1a45924151 Fixing memory leak 2017-08-08 20:40:06 -05:00
jmjatlanta
a8f4925bbe Properly setting session context 2017-08-03 17:48:11 -05:00
John Jones
36500348bd Added debugging messages 2017-08-03 17:47:02 -05:00
John Jones
fab73441ef Adding default values to initializer 2017-08-03 14:44:27 -05:00
jmjatlanta
c639359a4a Moving addition to peerstore after everyting is done 2017-08-03 14:43:19 -05:00
jmjatlanta
7155f604c1 Fixed overwrite of session context 2017-08-03 14:34:40 -05:00
jmjatlanta
c6f4a83051 Clean up streams on free 2017-08-03 13:36:13 -05:00
jmjatlanta
48c4b5ade0 Cleaning up bad connections 2017-08-03 12:17:17 -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
90b1e2c3c8 return on timeout 2017-07-31 10:00:32 -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
343748bc0f added comments 2017-07-27 15:13:35 -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
John Jones
c660a6eb32 added todo comment 2017-07-24 18:00:22 -05:00