Commit Graph

9 Commits

Author SHA1 Message Date
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
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
zixuanzh
ff6fdccea4 refactor libp2p 2018-11-25 01:45:13 -05:00
Robert Zajac
4daba76908 minor test bugfix 2018-11-12 13:10:51 -05:00
Robert Zajac
430e63f263 End to end messaging bugfixes 2018-11-12 10:57:40 -05:00
Robert Zajac
684cb90908 WIP swarm listen 2018-11-11 20:29:17 -05:00
Robert Zajac
4681e1e08d libp2p end to end test 2018-11-11 12:36:15 -05:00