mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-10 22:43:52 +00:00
Re-generate vectors with a very small CHK
This commit is contained in:
parent
28e3188775
commit
1827834434
@ -41,6 +41,7 @@ CONVERGENCE_SECRETS = [
|
||||
#
|
||||
# 1. Some cases smaller than one "segment" (128k).
|
||||
# This covers shrinking of some parameters to match data size.
|
||||
# This includes one case of the smallest possible CHK.
|
||||
#
|
||||
# 2. Some cases right on the edges of integer segment multiples.
|
||||
# Because boundaries are tricky.
|
||||
@ -52,6 +53,8 @@ CONVERGENCE_SECRETS = [
|
||||
|
||||
SEGMENT_SIZE = 128 * 1024
|
||||
OBJECT_DESCRIPTIONS = [
|
||||
# The smallest possible. 55 bytes and smaller are LIT.
|
||||
vectors.Sample(b"a", 56),
|
||||
vectors.Sample(b"a", 1024),
|
||||
vectors.Sample(b"c", 4096),
|
||||
vectors.Sample(digest(b"foo"), SEGMENT_SIZE - 1),
|
||||
|
@ -1,4 +1,14 @@
|
||||
vector:
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:yzxcoagbetwet65ltjpbqyli3m:6b7inuiha2xdtgqzd55i6aeggutnxzr6qfwpv2ep5xlln6pgef7a:1:1:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 1
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:mri732rh3meyh4drikau3a24ba:6tsj5wvcp6szdhmrbu5bea57wduoza64y6nd2lm7aleqpsxjm5la:1:1:1024
|
||||
format: chk
|
||||
@ -79,6 +89,16 @@ vector:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 1
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:tkjwggbz6p4wvuipe3gtmgfmsu:cnbcggp4scaxcde6vtfzga7bsuja4qjfbtv23xhaofwhbw5exjrq:1:1:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 1
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:nnv4vrtlxmzkurfzvonj22leua:ywcyijrfnwykraku56dq7v3o4ts3xsxqfgmk3kgzwhq2cpest4pa:1:1:1024
|
||||
format: chk
|
||||
@ -159,6 +179,16 @@ vector:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 1
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:rl4bzmselnuezmapjlzssnqg2e:p7kvin2fnemochuxsmh6ot75qpbfhrscbxi5i74bhqdhzcy6i5eq:1:3:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:ycvogzi6wllnq2bkx3t6zdtwju:um42l4yen7jiwdfgirvedtty3tt3xuhjiyxzqoourvughtxjar3q:1:3:1024
|
||||
format: chk
|
||||
@ -239,6 +269,16 @@ vector:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:vvh7fppprucnsblhp2nq7ixyze:ck2nmw5uynyyhbr3s7h5ciffgzw766bt3e5n3qx7r4njjzqzkn4a:1:3:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:pbfcdvxhbikxd2hcc43oel3v3e:y5txpmiptmoz36ionmki3p6krmdbiqasw2v3wdq4ia5lmrhh33lq:1:3:1024
|
||||
format: chk
|
||||
@ -319,6 +359,16 @@ vector:
|
||||
required: 1
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:r3orpfw7tqaxbgxc62hpmhihye:meyeb5lt7i4iyewahb6lxzohn6jxrqgi6b73zv4gxzirykpnyd7a:2:3:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 2
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:jdm6ytmx2i3ya2bllsdzxurjtu:iqr6tyysaseegzfurhuywy3mbbwkbbsov5bt3fo6oazpyv7olvda:2:3:1024
|
||||
format: chk
|
||||
@ -399,6 +449,16 @@ vector:
|
||||
required: 2
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:sxrylthoxskesmlhrfuxnifkdu:kizgaeiazgpjgsffkotumbu2dtxziezw73ybwo5pfzleuckqaiwq:2:3:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 2
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:ld3thziutpaqv25nbtoqebhtru:ri2obsvzl2etyuv3qnchn2wvw5mh5rjuvbjaqkqbvyprn7xwamoq:2:3:1024
|
||||
format: chk
|
||||
@ -479,6 +539,16 @@ vector:
|
||||
required: 2
|
||||
segmentSize: 131072
|
||||
total: 3
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:hah7mxwfpqemm7icdh3hwsa5fa:6epvxt2uxh42obpnfn4wkrplqml7voh7aqpnqnapu7ffcyn2hk3q:3:10:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 3
|
||||
segmentSize: 131072
|
||||
total: 10
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:dx7tvyr2fc4u7lxjc6kehq2svq:tiy4qh2g6lqejxcaym3rr7ymkdkinn4qised6kgxloj7sptsqu4a:3:10:1024
|
||||
format: chk
|
||||
@ -559,6 +629,16 @@ vector:
|
||||
required: 3
|
||||
segmentSize: 131072
|
||||
total: 10
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:xt3owduddxqodfhp3c2fu6yzr4:bvk5d2igrtlo64kbpyypajyi6bjzrnvl2blcavxhguiupjthelra:3:10:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 3
|
||||
segmentSize: 131072
|
||||
total: 10
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:x55owxzhsezfoayaxe7jpwnove:vawdgtqpxyntgy5i2po2twgelrynkfcjgwm7publnlbdp7hpqmfa:3:10:1024
|
||||
format: chk
|
||||
@ -639,6 +719,16 @@ vector:
|
||||
required: 3
|
||||
segmentSize: 131072
|
||||
total: 10
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:sghm3tydjjaadmiiuda3flhmne:5fqqykrndg5kydmhwetwqdzria4ap475j2qfmq2gmklzop6y6tla:71:255:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 71
|
||||
segmentSize: 131072
|
||||
total: 255
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:2wvrzaobtfkoiqeqwryjzvxatq:7zzaycbdhepzaqtdrku2sbb572h64ggwstu47osa2gn4ol3eglmq:71:255:1024
|
||||
format: chk
|
||||
@ -719,6 +809,16 @@ vector:
|
||||
required: 71
|
||||
segmentSize: 131072
|
||||
total: 255
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:hz3x6hgz6osbyo5he664ntvxiu:7hpheae4wou6b2davtrizoumqqh2k3vo25erhpgrq5w45txmjeka:71:255:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 71
|
||||
segmentSize: 131072
|
||||
total: 255
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:wxmzfzvgaqm3xfzgaqrlndgolm:6t3tqcphsutigxnnzyp2xx3afklcpeytnh543mpqptquvqqahwea:71:255:1024
|
||||
format: chk
|
||||
@ -799,6 +899,16 @@ vector:
|
||||
required: 71
|
||||
segmentSize: 131072
|
||||
total: 255
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:ljiodj4tijkfzej5nqdk5h7cnu:3fb7y2osytliwli3oez3y7ece6rjwfrpa2zn7uwrfmn22cisk4aa:101:256:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 101
|
||||
segmentSize: 131072
|
||||
total: 256
|
||||
- convergence: YWFhYWFhYWFhYWFhYWFhYQ==
|
||||
expected: URI:CHK:mftnvh5l3brshwoupvu6kz35cy:sncfokby2tjykbr3zgi3i6lhgerg4kz7fsrslrlxdy7upwkzq6lq:101:256:1024
|
||||
format: chk
|
||||
@ -879,6 +989,16 @@ vector:
|
||||
required: 101
|
||||
segmentSize: 131072
|
||||
total: 256
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:td223psbzins2k6m4frmfw26xy:opgmb6zhnwsksydgjwzpfdoz7epm4ynzmvkjuw6s2jntioqk72ga:101:256:56
|
||||
format: chk
|
||||
sample:
|
||||
length: 56
|
||||
seed: YQ==
|
||||
zfec:
|
||||
required: 101
|
||||
segmentSize: 131072
|
||||
total: 256
|
||||
- convergence: ZOyIygCyaOW6GjVnihtTFg==
|
||||
expected: URI:CHK:ihyeqq5peg2pdyw45ct5mmj4ay:2rzhndv6o4knlvo4po6rvbnknlcitasseea3mirqjor5c7quh5ra:101:256:1024
|
||||
format: chk
|
||||
|
Loading…
x
Reference in New Issue
Block a user