def get_peak_of_each_peer(self) -> Dict[(bytes32, Tuple[(bytes32, uint32, uint128)])]:
    '\n        Returns: dictionary of peer id to peak information.\n        '
    ret = {}
    for (peer_id, v) in self.peer_to_peak.items():
        if (v[0] not in self.peak_to_peer):
            continue
        ret[peer_id] = v
    return ret
Returns: dictionary of peer id to peak information.
def get_peak_of_each_peer(self) -> Dict[(bytes32, Tuple[(bytes32, uint32, uint128)])]:
    '\n        \n        '
    ret = {}
    for (peer_id, v) in self.peer_to_peak.items():
        if (v[0] not in self.peak_to_peer):
            continue
        ret[peer_id] = v
    return ret