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
This commit is contained in:
ZX
2018-11-26 18:24:29 -05:00
committed by Alex Haynes
parent 8326f87835
commit 8bcffb67cb
30 changed files with 39 additions and 96 deletions

View File

@ -45,7 +45,6 @@ class Mplex(IMuxedConn):
check connection is fully closed
:return: true if successful
"""
pass
async def read_buffer(self, stream_id):
# Empty buffer or nonexistent stream
@ -119,7 +118,8 @@ class Mplex(IMuxedConn):
message = data[end_index:end_index + length + 1]
# Deal with other types of messages
flag = header & 0x07
# TODO use flag
# flag = header & 0x07
stream_id = header >> 3
if stream_id not in self.buffers: