jimbocoin on Nostr: As described above, yes. However, if you don’t want to have to keep the file, you ...
As described above, yes.
However, if you don’t want to have to keep the file, you can pre-compute combinations of nonce, byte-range, and hash. Store these sets in a much smaller file, and then use the next one from the list to challenge the provider.
So for example, say you want the provider to be able to prove storage once a week for a decade. You’ll need ~600 tuples of nonce/byte-range/hash. Each of these records would take roughly 128 bytes to store. 128 x 600 = ~77Kb.
Thus for a decade of weekly storage proofs, you need to store less than a tenth of a megabyte per file.
Note that this storage requirement is completely independent of the file size. So it may be advantageous to combine related files together into an archive (zip) so that you need only pay the tuple storage cost once.
Each tuple should be used only once. So if you’re planning to have multiple suppliers, you’ll want to multiply by that number when precalculating.
Published at
2023-06-19 17:13:04Event JSON
{
"id": "830e5fe6cdc25e9fce38eec84b05c55d45246dece5ec92784672a84b8d1c280d",
"pubkey": "6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5",
"created_at": 1687194784,
"kind": 1,
"tags": [
[
"e",
"da7eb9b38f8ff3075fc918002e30f12411eff798f8a8f3ef3a5b59e57b2cab71"
],
[
"e",
"e4f8a4ce5e6e03f84687ff96c3506195b1764e269e2fa2eddcb75d77a3aa39bf"
],
[
"p",
"0c24e3235228f3ee5369d4a8a46ea92f28f1a83936de61ac6b4003d40344d422"
]
],
"content": "As described above, yes.\n\nHowever, if you don’t want to have to keep the file, you can pre-compute combinations of nonce, byte-range, and hash. Store these sets in a much smaller file, and then use the next one from the list to challenge the provider.\n\nSo for example, say you want the provider to be able to prove storage once a week for a decade. You’ll need ~600 tuples of nonce/byte-range/hash. Each of these records would take roughly 128 bytes to store. 128 x 600 = ~77Kb.\n\nThus for a decade of weekly storage proofs, you need to store less than a tenth of a megabyte per file.\n\nNote that this storage requirement is completely independent of the file size. So it may be advantageous to combine related files together into an archive (zip) so that you need only pay the tuple storage cost once.\n\nEach tuple should be used only once. So if you’re planning to have multiple suppliers, you’ll want to multiply by that number when precalculating.",
"sig": "856826328cd0e48068f176ce8b8cea05e1d09a75cca800a9021b492db672a149eda0c011b003b8fff23a80201d5e2229d8114797e40c766ca9f057472e61ae7c"
}