diff --git a/10 Notes/Advertising BitTorrent content on Codex.md b/10 Notes/Advertising BitTorrent content on Codex.md index b4a51f4..51959f2 100644 --- a/10 Notes/Advertising BitTorrent content on Codex.md +++ b/10 Notes/Advertising BitTorrent content on Codex.md @@ -312,6 +312,6 @@ From the above analysis, we see that for Codex protocol to be able to directly h 1. Peers need to advertise their corresponding SPRs under both `info` hash versions 1 and 2, so that they can be discovered. 2. To handle BitTorrent version 1 traffic, it is sufficient to support [[BEP9 - Extension for Peers to Send Metadata Files]]. -3. We already use Merkle inclusion proofs, so we have great deal of flexibility of how we want to support torrents version 2. The `info` dictionary already provides us with the original file roots via `pieces root`, so we basically have to make sure we can provide the relevant intermediate layers aligned to the piece length (the `pieces root` will be built on top of that). Moreover, having inclusion proofs in place we should be able to improve version 1 torrents as well. With original pieces hashes coming from the `info` dictionary, we can secure authenticity of the content, and with Codex inclusion proofs we can enhance torrents version 1 with early validation. +3. We already use Merkle inclusion proofs, so we have great deal of flexibility of how we want to support torrents version 2. The `info` dictionary already provides us with the original file roots via `pieces root`, so we basically have to make sure we can provide the relevant intermediate layers aligned to the piece length (which basically means the leaves of our Merkle trees need to be computed over the chunks of the same size as in BitTorrent - `16 kiB`) and the `pieces root` will be built on top of that. Moreover, having inclusion proofs in place we should be able to improve version 1 torrents as well. With original pieces hashes coming from the `info` dictionary, we can secure authenticity of the content, and with Codex inclusion proofs we can enhance torrents version 1 with early validation. More detailed discussion will follow after learning more low level details of the Codex client. \ No newline at end of file