TapeOut.linknews

TapeRelay 技术解析:1 MiB 分块与哈希校验TapeRelay: 1 MiB chunks and client-side hash checks

TapeOut 连续发文说明 TapeRelay 的文件传输机制:文件按 1 MiB 分块,用两级索引结构组织,从而支持断点续传;客户端依据内容哈希逐块核验,节点送来的数据即使被改动也会在核验时失败。官方指出,在内容寻址的点对点系统中,定位数据依赖 DHT 等分布式发现机制;区块链共识层的作用是维持共享状态,不应承担高带宽文件传输,不同层应各司其职。社区成员亦撰文指出,节点名气不能替代对每块数据的哈希校验。TapeOut published a series of posts explaining how TapeRelay handles files: content is split into 1 MiB chunks organized by a two-level index, which enables resumable transfers, and clients verify each chunk against the expected content hash, so modified data from a node fails the check even if the file name looks right. In a content-addressed peer-to-peer system, locating data relies on distributed discovery mechanisms such as DHT, the team said. Blockchain consensus is meant to maintain shared state, not to move high-bandwidth files, so different layers should handle the tasks they suit. Community writers added that a node's reputation cannot replace hash verification of every chunk.

来源 · 8 条Sources · 8

查看原推文View on X 更多动态 · 新闻频道More updates

评论Comments

    还没有评论,来说两句No comments yet