storage: remove get_or_add_owner, since I don't know what we need yet

This commit is contained in:
Brian Warner 2007-09-02 15:03:40 -07:00
parent 94233b8813
commit 89c7f27572

View File

@ -283,15 +283,6 @@ class StorageServer(service.MultiService, Referenceable):
return alreadygot, bucketwriters
def get_or_add_owner(self, owner):
# this will be more fully implemented when we get the Introduction
# protocol built. At that point, it should take the 'owner' argument
# (either a FURL or a Sealer/public-key) and look it up in a
# persistent table, returning a short integer. If the owner doesn't
# yet exist in the table, create a new entry for it and return the
# new index.
return 0
def remote_renew_lease(self, storage_index, renew_secret):
new_expire_time = time.time() + 31*24*60*60
found_buckets = False