The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/syncing/downloader/interface.go

13 lines
337 B

package downloader
import (
pb "github.com/harmony-one/harmony/syncing/downloader/proto"
)
// DownloadInterface ...
type DownloadInterface interface {
// Syncing blockchain from other peers.
// The returned channel is the signal of syncing finish.
CalculateResponse(request *pb.DownloaderRequest) (*pb.DownloaderResponse, error)
}