raise constraint on FURLs from 150 chars to 1000 chars

This commit is contained in:
Zooko O'Whielacronx 2007-05-22 13:59:17 -07:00
parent 05163ec8e1
commit 10df6fac02

View File

@ -10,7 +10,7 @@ Hash = StringConstraint(maxLength=HASH_SIZE,
minLength=HASH_SIZE)# binary format 32-byte SHA256 hash
Nodeid = StringConstraint(maxLength=20,
minLength=20) # binary format 20-byte SHA1 hash
PBURL = StringConstraint(150)
PBURL = StringConstraint(1000)
Verifierid = StringConstraint(20)
URI = StringConstraint(300) # kind of arbitrary
MAX_BUCKETS = 200 # per peer