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

fetcher包含基於塊通知的同步。當我們接收到NewBlockHashesMsg消息得時候,我們只收到了很多Block的hash值。 需要通過hash值來同步區塊,然後更新本地區塊鏈。 fetcher就提供了這樣的功能。 數據結構     // announce is the hash notification of the availability of a new block in the
相關文章
相關標籤/搜索