MCPcopy Create free account
hub / github.com/CPChain/chain / Start

Method Start

protocols/cpc/fetcher/fetcher.go:176–178  ·  view source on GitHub ↗

Start boots up the announcement based synchroniser, accepting and processing hash notifications and block fetches until termination requested.

()

Source from the content-addressed store, hash-verified

174// Start boots up the announcement based synchroniser, accepting and processing
175// hash notifications and block fetches until termination requested.
176func (f *Fetcher) Start() {
177 go f.loop()
178}
179
180// Stop terminates the announcement based synchroniser, canceling all pending
181// operations.

Callers

nothing calls this directly

Calls 1

loopMethod · 0.95

Tested by

no test coverage detected