Ignore:
Timestamp:
2016-09-13T00:15:52Z (9 years ago)
Author:
David Stainton <dstainton415@…>
Branches:
master
Children:
4ae574c
Parents:
a8899c8
git-author:
David Stainton <dstainton415@…> (2016-09-12 23:01:23)
git-committer:
David Stainton <dstainton415@…> (2016-09-13 00:15:52)
Message:

Add a multi-introducer implementation

this is based the previous work of warner, killyourtv and leif
fixes ticket #68

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/allmydata/test/test_introducer.py

    ra8899c8 r4f717ba  
    728728        fileutil.make_dirs(basedir)
    729729        cache_filepath = FilePath(os.path.join(basedir, "private",
    730                                                "introducer_cache.yaml"))
     730                                               "introducer_default_cache.yaml"))
    731731
    732732        # if storage is enabled, the Client will publish its storage server
     
    742742
    743743        c = TahoeClient(basedir)
    744         ic = c.introducer_client
     744        ic = c.introducer_clients[0]
    745745        sk_s, vk_s = keyutil.make_keypair()
    746746        sk, _ignored = keyutil.parse_privkey(sk_s)
     
    810810
    811811        c2 = TahoeClient(basedir)
    812         c2.introducer_client._load_announcements()
     812        c2.introducer_clients[0]._load_announcements()
    813813        yield flushEventualQueue()
    814814        self.assertEqual(c2.storage_broker.get_all_serverids(),
     
    831831
    832832        c = TahoeClient(basedir)
    833         ic = c.introducer_client
     833        ic = c.introducer_clients[0]
    834834        outbound = ic._outbound_announcements
    835835        published = ic._published_announcements
Note: See TracChangeset for help on using the changeset viewer.