Peer tests and minor peer features/bug fixes.

This commit is contained in:
Robert Zajac
2018-11-02 16:16:46 -04:00
parent 330ed8363a
commit db6b846251
11 changed files with 221 additions and 28 deletions

View File

@ -13,6 +13,9 @@ class PeerData(IPeerData):
def add_protocols(self, protocols):
self.protocols.extend(protocols)
def set_protocols(self, protocols):
self.protocols = protocols
def add_addrs(self, addrs):
self.addrs.extend(addrs)