Alex Haynes
50157aa070
updated logic to avoid conflicts in next stream id selection
2018-11-28 21:19:54 -05:00
stuckinaboot
7fa674dee2
Protocol muxing ( #82 )
...
* Implement protocol muxing
* Integrate protocol muxing into new stream and listen's conn handler
* Fix bugs in protocol muxing
* Remove blank line
* Add comments and fix linting issues
* Fix order of parameters to select_one_of to match interface
* Use array of protocol ids in new stream instead of protocol id
* Add basic protocol muxer tests
* Add todo
* Modify new stream to take in protocol ids
* Add check to all tests to ensure protocol id is saved to net stream properly
* Lint tests
* Fix lint issues
* Add todo
* Modify port numbers in tests
* Fix linting issues
* Add more documentation to functions
* Add docs describing classes and fix indent error
2018-11-28 13:51:50 -05:00
Robert Zajac
3c14a609fc
Adding gitter badge
2018-11-28 13:28:57 -05:00
Robert Zajac
64cd495ddb
Merge pull request #74 from csunny/master
...
chat example run error
2018-11-28 13:06:42 -05:00
Alex Haynes
f8963d628c
Switch message buffers to blocking queues and update reading logic ( #83 )
...
* working on blocking queues
* my mplex and delete muxer
* progress
* dont understand error
* tests passing
* cleaning up
* working on reading messages
* implmented varint reading from stream, rewrote message reading logic
* linting error in utils fix
* Update tcp.py
* removed unused vars
* removed prints
* added doc strings
2018-11-28 12:58:16 -05:00
Alex Haynes
6ff97ebb3e
added double response test ( #80 )
...
* added double response test
* moved to existing file
2018-11-26 23:09:16 -05:00
ZX
8bcffb67cb
WIP CI Build Errors ( #76 )
...
* ignore TODO and kademlia
* remove unnecessary pass
* fixed swarm warnings
* fixed peerdata_interface warnings
* fixed peer warnings
* fixed rest of linting errors
* trying to fix last error
* fixed dup errors
2018-11-26 18:24:29 -05:00
Alex Haynes
8326f87835
Update .travis.yml
2018-11-26 13:30:05 -05:00
Alex Haynes
2165afdb81
Update README.md
2018-11-26 13:20:46 -05:00
ZX
31222a0b4f
Merge pull request #67 from zaibon/travis-upstream
...
enable CI
2018-11-26 13:09:44 -05:00
Christophe de Carvalho Pereira Martins
e7029a1b00
enable CI
2018-11-26 19:01:13 +01:00
csunny
c950e065f3
Add more info for chat example
2018-11-26 16:34:38 +08:00
csunny
22010447b5
fix run error
2018-11-26 15:56:43 +08:00
ZX
161f4d1001
Merge pull request #70 from zixuanzh/refactor-libp2p
...
refactor libp2p
closes #69
2018-11-25 18:39:46 -05:00
Robert Zajac
4439229632
Merge pull request #72 from zixuanzh/stream-id
...
Improved stream IDs
2018-11-25 15:29:57 -05:00
Robert Zajac
6c99d854dd
fixes for muxed_conn interface and usage of self.buffers over self.stream
2018-11-25 15:27:54 -05:00
Robert Zajac
592ef69d8d
Improved stream IDs
2018-11-25 11:05:56 -05:00
zixuanzh
ff6fdccea4
refactor libp2p
2018-11-25 01:45:13 -05:00
ZX
5548041a37
Merge pull request #66 from zixuanzh/mplex
...
Refactor Muxed_Connection to Mplex
2018-11-21 00:45:25 -05:00
zixuanzh
0bfb7fb7e2
Merge branch 'mplex' of https://github.com/zixuanzh/py-libp2p into mplex
2018-11-21 00:42:07 -05:00
zixuanzh
7df6424ff1
todo for close and reset
2018-11-21 00:41:13 -05:00
Robert Zajac
276aa97f21
adding todo to connection test
2018-11-21 00:13:02 -05:00
zixuanzh
2569eac3a0
lint
2018-11-20 23:49:37 -05:00
zixuanzh
daf9f69b62
raw_connection echo test
2018-11-20 23:25:49 -05:00
zixuanzh
d83b6ef459
mplex stream close reset done
2018-11-20 21:46:18 -05:00
zixuanzh
e047752d82
rename muxed_conn
2018-11-20 20:28:41 -05:00
Robert Zajac
4e2749c915
Merge pull request #64 from zaibon/chat_example
...
Chat example
2018-11-19 11:36:43 -05:00
Christophe de Carvalho Pereira Martins
d8f0f71413
add click and base58 to requiremrents.txt
2018-11-19 17:29:54 +01:00
Christophe de Carvalho Pereira Martins
b80df48d37
move chat.py into examples directory
2018-11-19 17:29:48 +01:00
Christophe de Carvalho Pereira Martins
b3e2e6d8ad
run stdin reading in its own thread to no block the event loop
2018-11-19 08:58:07 +01:00
Christophe de Carvalho Pereira Martins
9123760191
WIP: chat example
2018-11-18 23:38:45 +01:00
Christophe de Carvalho Pereira Martins
96edf96e76
make stream close async
2018-11-18 23:38:39 +01:00
Robert Zajac
01daf8ae8a
Merge pull request #63 from zixuanzh/chat-hotfix
...
Dialer should not read until user says so.
2018-11-18 16:16:35 -05:00
Robert Zajac
b2a35114b1
reading logic in muxed_connection
2018-11-18 16:04:52 -05:00
stuckinaboot
4e8b969864
Merge pull request #62 from zixuanzh/readme-notice
...
Warning on readme
2018-11-17 13:27:09 -05:00
Robert Zajac
5ec8bcd066
Warning on readme
2018-11-17 13:24:02 -05:00
Robert Zajac
5f6bdcf40d
Merge pull request #59 from raulk/docs
...
Docs: enrich the Concepts section
2018-11-16 18:07:55 -05:00
Robert Zajac
fd83824246
Merge pull request #61 from mgoelzer/dual-license
...
Dual license (MIT+Apache2)
2018-11-16 18:02:12 -05:00
Mike Goelzer
91b69bb37a
Dual license (MIT+Apache2)
2018-11-16 11:55:12 -08:00
Raúl Kripalani
2c51096050
Update README.md
2018-11-16 12:12:30 +00:00
Robert Zajac
cf5b159971
Merge pull request #56 from zixuanzh/add-overview
...
Update readme
2018-11-12 13:40:59 -05:00
stuckinaboot
2aaa81b3d3
Merge branch 'master' into add-overview
2018-11-12 13:36:16 -05:00
Stuckinaboot
9dd6b87bed
Update readme
2018-11-12 13:33:47 -05:00
Robert Zajac
4304098977
updating readme
2018-11-12 13:32:55 -05:00
stuckinaboot
2e1313022f
Merge pull request #55 from zixuanzh/folder-typo
...
fixed typo
2018-11-12 13:32:24 -05:00
Alex Haynes
b3d9519c13
fixed typo
2018-11-12 13:19:31 -05:00
Robert Zajac
c106d2291a
Merge pull request #54 from zixuanzh/lint
...
lgtm
2018-11-12 13:11:11 -05:00
Robert Zajac
4daba76908
minor test bugfix
2018-11-12 13:10:51 -05:00
zixuanzh
c5c9d3e5c9
lint
2018-11-12 13:02:49 -05:00
stuckinaboot
b4272918d9
Merge pull request #52 from zixuanzh/libp2p-new-node
...
End to end messaging bugfixes
2018-11-12 12:28:32 -05:00