raise the limit on the number of hashes when retrieving them, too

This commit is contained in:
Zooko O'Whielacronx 2007-04-30 06:00:10 -07:00
parent 8e4aa3e1fb
commit a61178f425

View File

@ -71,9 +71,9 @@ class RIBucketReader(RemoteInterface):
"""
return ShareData
def get_block_hashes():
return ListOf(Hash)
return ListOf(Hash, maxLength=2**20)
def get_share_hashes():
return ListOf(TupleOf(int, Hash))
return ListOf(TupleOf(int, Hash), maxLength=2**20)
class RIStorageServer(RemoteInterface):
def allocate_buckets(verifierid=Verifierid,