Pause pauses the block manager until the returned channel is closed.
Note that while paused, all peer and block processing is halted. The message sender should avoid pausing the block manager for long durations.
// blocks (or error due to an irrecoverable reorganize). blockManager := wsc.server.server.blockManager pauseGuard := blockManager.Pause() best := blockManager.chain.BestSnapshot() curHash := best.Hash