1 """ 2 Named tuples representing the network peers 3 """ 4 import collections 5 6 Peer = collections.namedtuple('Peer', ['host', 'port']) 7 Node = collections.namedtuple('Node', ['services', 'host', 'port'])