Fix all modules except for security

This commit is contained in:
mhchia
2019-12-06 17:06:37 +08:00
parent e9ab0646e3
commit 1929f307fb
28 changed files with 764 additions and 955 deletions

View File

@ -1,11 +1,13 @@
from abc import ABC, abstractmethod
from abc import abstractmethod
from async_service import ServiceAPI
from libp2p.io.abc import ReadWriteCloser
from libp2p.peer.id import ID
from libp2p.security.secure_conn_interface import ISecureConn
class IMuxedConn(ABC):
class IMuxedConn(ServiceAPI):
"""
reference: https://github.com/libp2p/go-stream-muxer/blob/master/muxer.go
"""