Replying to Avatar jimmysong

Sketch of a protocol I discussed with nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s for proving storage of a file.

before uploading, select 32 random bytes from the file, store their indices and the sha256 hash. do this 1000 more times (select 32 different random byes, calc sha256).

upload the file to the server. every day, ask for the hash of the 32 bytes at the indices stored from the server. if it matches transfer some sats. if not the server no longer has the file. you can check for 1000 days.

What Bitcoin does to people's brains.

nostr:nevent1qqs2z80fa0sqhuh599eu39af2hrswedy4ap3px74jhat9fywdtyzvfsppemhxue69uhkummn9ekx7mp0qgs8k0mcqd6sw3h524qn5gslszt9am9knmes3uh268dgnnpv3yfwj6qrqsqqqqqpus340x

Reply to this note

Please Login to reply.

Discussion

Agreed that there are much better ways to handle sovereign and peer to peer file storage