Example #1
0
    def default():
        """Return a default set of notaries.

        This is the list from http_notary_list.txt included
        with pyPerspectives."""
        from NotaryParser import NotaryParser  # Avoid import loop
        parser = NotaryParser()
        data = pkgutil.get_data("Perspectives", "conf/http_notary_list.txt")
        return parser.parse_stream(StringIO.StringIO(data))
Example #2
0
def default_notaries():
    """Return the default Notaries"""
    parser = NotaryParser()
    data = pkgutil.get_data("Convergence", "conf/thoughtcrime.notary")
    return parser.parse_stream(StringIO.StringIO(data))
def default_notaries():
    """Return the default Notaries"""
    parser = NotaryParser()
    data = pkgutil.get_data("Perspectives", "conf/http_notary_list.txt")
    return parser.parse_stream(StringIO.StringIO(data))