When hashing a CID does the metadata inside the CID track what node I hashed from

When I upload a file and it generates a CID, does that CID include meta data that is influenced by my IP address? Or what Node I upload it from?

If for example I upload same image again but this time using a vpn, would the metadata generate a different CID?

Thanks in advance

If for example I upload same image again but this time using a vpn, would the metadata generate a different CID?

No.

CID are based on one only thing IPLD content.
And IPLD content is based on two things, the actual content of your data and the layout which depends on your chunker algorithm, CID versions and dag layout.

All of them are just option you can configure.

If you just use the same options twice you are gonna produce the same CID no matter what.

Thank you very much for the clear concise answer!
Cheers!

Wwait so you get same CID (I never tried) on multiple computer running ipfs if you are creating a file with same content and options?

Yes you do. (useless girberish to get over the 20 character limit, I belive Iā€™m way above now and can stop writing)

1 Like