Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Downloaders *downloader.Downloaders
}
Service is simply a adapter of Downloaders, which support block synchronization
func NewService ¶
func NewService(host p2p.Host, bcs []*core.BlockChain, config downloader.Config) *Service
NewService creates the a new downloader service
Click to show internal directories.
Click to hide internal directories.