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
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
7564a4b089
Fix compilation for the yamux protocol.
2017-10-11 23:15:12 -03:00
jmjatlanta
6b185e31bd
First commit of yamux protocol
2017-10-11 11:23:25 -05:00
John Jones
f4dd9b46be
No longer deleting session context when deleting message
2017-09-28 17:14:37 -05:00
jmjatlanta
bf1f900716
more debugging
2017-09-28 13:21:07 -05:00
2318162bad
Added a simple implementation of urlencode.
2017-09-25 10:27:13 -03:00
jmjatlanta
eac465012a
mkdir now creates root directories needed
2017-09-21 09:45:59 -05:00
jmjatlanta
a55b52ca81
Addition of memstream for osx and bsd
2017-09-20 10:26:24 -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
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
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
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
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
6f77a64adb
IPFS protocols now implement an interface to make marshalling easier
2017-08-09 08:03:40 -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
a137c2c43e
Code Cleanup plus making providerstore smarter
2017-07-31 12:49:41 -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
John Jones
dac251bf4c
Added important comment to vector
2017-07-24 10:32:21 -05:00
jmjatlanta
2f8057e4b8
added include to squelch warning
2017-07-20 15:03:11 -05:00
John Jones
73fcecfdcf
A bit of code cleanup and commenting
2017-07-17 13:04:43 -05:00
John Jones
a10c7ef5e9
handle reading the requested number of bytes, and secio fix
...
Some transmissions are sent by multiple sends. Loop through until you
get them all. NOTE: We'll have to come back to this to handle a timeout.
Also, fixed the random handshake issue with the GO version.
2017-07-13 18:30:18 -05:00
John Jones
6c19984368
Now doing multistream over secio
2017-07-13 09:01:50 -05:00
John Jones
cff0e4d6aa
Incremental commit for secio fixes and connecting to swarms
2017-07-13 07:27:10 -05:00
e32837031f
Implemented timeout to avoid hang due to connection error.
2017-07-06 22:31:16 -03: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