Robert Zajac
e47c4e98fa
adding requirements_dev.txt
2019-01-10 19:44:24 -05:00
zixuanzh
7c2b2800a8
Merge branch 'magniff-feature/issue-104'
2019-01-10 20:46:44 +08:00
zixuanzh
71a6b868e1
fix merge conflicts
2019-01-10 20:45:03 +08:00
Robert Zajac
ba8d2491d4
Merge pull request #106 from zixuanzh/protocol-mux-lint
...
Fixing linting errors in protocol_muxer and adding to Travis
2019-01-09 21:38:22 -10:00
Robert Zajac
714ea929a7
bad travis copy
2019-01-09 20:35:03 -05:00
Robert Zajac
869351a380
upgrading pip, as in #105
2019-01-09 20:32:02 -05:00
Robert Zajac
1dbe490623
fixing linting errors with protocol_muxer and adding to Travis
2019-01-09 20:24:41 -05:00
Alexander Koshkin
597f94ddb2
Pylint --ignore-patterns seems to be broken.
2019-01-09 23:10:36 +03:00
Alexander Koshkin
58743bb373
Unpack bash curly stuff.
2019-01-09 22:34:35 +03:00
Alexander Koshkin
113021eacd
Delete trailing whitespace issue, ignore previously untested folders for now.
2019-01-09 22:30:18 +03:00
Alexander Koshkin
3ab741feb4
Upgrade pip, using pytest>=3.6.
2019-01-09 22:13:44 +03:00
Alexander Koshkin
d629a0c85e
Fix examples/chat/chat.py. Extract test requirements to .travis.yaml file.
2019-01-09 22:01:46 +03:00
Alexander Koshkin
ce6ddb27a9
Migrate to new project structure.
2019-01-09 21:38:56 +03:00
Alexander Koshkin
880ae748d1
Delete requirements.txt file, add setup.py instead.
2019-01-09 20:57:41 +03:00
Robert Zajac
ab1aa0e7a8
adding links to maintainers
2018-12-31 08:37:39 -08:00
Robert Zajac
6821236e8f
Adding maintainers to README
2018-12-31 08:33:26 -08:00
Robert Zajac
9cfe26fcd3
Merge pull request #99 from zixuanzh/proper-multiaddr
...
Updating to proper multiaddr dependency
2018-12-28 20:17:33 -05:00
Robert Zajac
2f33f55141
updating peerinfo variable style
2018-12-28 02:01:50 -05:00
Robert Zajac
4c0cd8730f
updating to proper multiaddr and changing to p2p
2018-12-28 01:56:00 -05:00
Robert Zajac
f6c6ec2213
Merge pull request #98 from zixuanzh/feature-breakdown
...
Adding feature breakdown to readme
2018-12-23 11:13:59 -05:00
Robert Zajac
d12bac462e
adding unplanned features and lemons
2018-12-22 12:19:17 -05:00
Robert Zajac
84e09ee243
Adding feature breakdown to readme
2018-12-22 01:19:24 -05:00
Robert Zajac
2e9b647563
Merge pull request #96 from zaibon/test_chat
...
make the chat example a runnable test
2018-12-21 18:21:54 -05:00
Christophe de Carvalho Pereira Martins
97e554e265
make the chat example a runnable test
...
fixes #71
2018-12-21 09:03:20 +01:00
Robert Zajac
390f2fa9f4
Merge pull request #94 from zaibon/test_port_management
...
don't manually assign port during test
2018-12-20 08:53:26 -05:00
Christophe de Carvalho Pereira Martins
2a324c0076
don't manually assign port during test
...
fixes #89
instead of saving the multiaddr received in the listen method of the
tcp transport class, read what the service is actually listening on
this allow to use 0 as port and let the OS choose a free port for us
2018-12-07 22:28:07 +02:00
Robert Zajac
b06aec4c47
adding libp2p irc to README
2018-12-05 17:33:43 -05:00
Robert Zajac
f54ac8aaa1
Merge pull request #91 from zixuanzh/next-stream-id
...
Refactoring stream IDs and notion of initiator
2018-12-01 12:43:53 -05:00
Robert Zajac
803999310a
refactoring stream IDs
2018-11-29 13:42:05 -05:00
Robert Zajac
49bc5d2f65
Merge branch 'next-stream-id' of https://github.com/zixuanzh/py-libp2p into next-stream-id
...
merging in remote
2018-11-29 12:56:02 -05:00
Christophe de Carvalho
611de28aca
Add basic support for multiaddr addresses and improvement around peer id ( #75 )
...
* Improved peer ID construction and usage
* peer id object is directly passed to the network
no need to cast from a string to an ID
* don't base64 encode the peer id when loading from public key
* use proper multiaddr address
- keep multiaddr object into peerstore instead of string
- update network code to use new multiaddr lib
- update tests and example
* don't instanciate peerstore object in constructor
This has side effect where the same peerstore
is used for different instance of Libp2p
* add connect method to basic_host
* use zaibon's fork of sbuss/py-multiaddr
* lint
2018-11-29 10:06:40 -05:00
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