以太坊源码分析(35)eth-fetcher源码分析

fetcher包含基于块通知的同步。当我们接收到NewBlockHashesMsg消息得时候,我们只收到了很多Block的hash值。 需要通过hash值来同步区块,然后更新本地区块链。 fetcher就提供了这样的功能。 数据结构     // announce is the hash notification of the availability of a new block in the
相关文章
相关标签/搜索