From: Zooko O'Whielacronx Date: Mon, 30 Apr 2007 06:51:15 +0000 (-0700) Subject: raise the limit on block hashes and share hashes from 30 to 2**20 X-Git-Tag: allmydata-tahoe-0.2.0~63 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=8e4aa3e1fb9f256e2b19f38cce7b713b320e2ddc;p=tahoe-lafs%2Ftahoe-lafs.git raise the limit on block hashes and share hashes from 30 to 2**20 --- diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index 64918d4a..f6a14e22 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -50,10 +50,10 @@ class RIBucketWriter(RemoteInterface): """ return None - def put_block_hashes(blockhashes=ListOf(Hash)): + def put_block_hashes(blockhashes=ListOf(Hash, maxLength=2**20)): return None - def put_share_hashes(sharehashes=ListOf(TupleOf(int, Hash))): + def put_share_hashes(sharehashes=ListOf(TupleOf(int, Hash), maxLength=2**20)): return None def close():