- 2
- 0
- 约2.89万字
- 约 18页
- 2021-11-30 发布于江苏
- 举报
兄弟连Go语言+区块链技术培训以太坊源码分析(35)eth-fet
cher源码分析
fetcher 包含基于块通知的同步。当我们接收到NewBlockHashesMsg 消息得时候,我们只
收到了很多Block 的has 值。 需要通过has 值来同步区块,然后更新本地区块链。 f
etcher 就提供了这样的功能。
数据结构
// announce is the hash notification of the availability of a new b
lock in the
// network.
// announce 是一个has 通
原创力文档

文档评论(0)