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.
13 lines
460 B
13 lines
460 B
6 years ago
|
package downloader
|
||
|
|
||
|
import (
|
||
4 years ago
|
pb "github.com/harmony-one/harmony/api/service/legacysync/downloader/proto"
|
||
6 years ago
|
)
|
||
|
|
||
6 years ago
|
// DownloadInterface is the interface for downloader package.
|
||
6 years ago
|
type DownloadInterface interface {
|
||
6 years ago
|
// State Syncing server-side interface, responsible for all kinds of state syncing grpc calls
|
||
5 years ago
|
// incomingPeer is incoming peer ip:port information
|
||
|
CalculateResponse(request *pb.DownloaderRequest, incomingPeer string) (*pb.DownloaderResponse, error)
|
||
6 years ago
|
}
|