filecoin-project / venus

Filecoin Full Node Implementation in Go
https://venus.filecoin.io
Other
2.06k stars 459 forks source link

Define an interface for fetching blocks from the network #3048

Closed frrist closed 5 years ago

frrist commented 5 years ago

Description

An interface that supports fetching contiguous sets of blocks (e.g. block B and 10 of B's parents) must be added to the Fetcher in order for more robust forms of network syncing (blocksync or graphsync) to be added later. This new interface should work with the existing chain syncing code.

Acceptance criteria

anorth commented 5 years ago

cc @hannahhoward for graphsync compatibility.

frrist commented 5 years ago

closed by #3047