X-Git-Url: https://git.rkrishnan.org/?p=tahoe-lafs%2Ftahoe-lafs.git;a=blobdiff_plain;f=src%2Fallmydata%2Fintroducer%2Finterfaces.py;fp=src%2Fallmydata%2Fintroducer%2Finterfaces.py;h=8d46b6663e2837ad6815253e66d98ef6214e5fd4;hp=53d875ac942ff2bd9622b7d410bba6230cea357e;hb=7a7faec76b97dd1c35aa69fb7178430eb619e404;hpb=46fd26e7d2f6a7bb717e0e3dd12deeda5ada4f79 diff --git a/src/allmydata/introducer/interfaces.py b/src/allmydata/introducer/interfaces.py index 53d875ac..8d46b666 100644 --- a/src/allmydata/introducer/interfaces.py +++ b/src/allmydata/introducer/interfaces.py @@ -31,23 +31,6 @@ class RIIntroducerSubscriberClient_v2(RemoteInterface): """I accept announcements from the publisher.""" return None - def set_encoding_parameters(parameters=(int, int, int)): - """Advise the client of the recommended k-of-n encoding parameters - for this grid. 'parameters' is a tuple of (k, desired, n), where 'n' - is the total number of shares that will be created for any given - file, while 'k' is the number of shares that must be retrieved to - recover that file, and 'desired' is the minimum number of shares that - must be placed before the uploader will consider its job a success. - n/k is the expansion ratio, while k determines the robustness. - - Introducers should specify 'n' according to the expected size of the - grid (there is no point to producing more shares than there are - peers), and k according to the desired reliability-vs-overhead goals. - - Note that setting k=1 is equivalent to simple replication. - """ - return None - SubscriberInfo = DictOf(str, Any()) class RIIntroducerPublisherAndSubscriberService_v2(RemoteInterface):