code: func (state *gbtWorkState) NotifyBlockConnected(blockHash *chainhash.Hash) {
  	go func() {
  		state.Lock()
  		defer state.Unlock()
  
  		state.notifyLongPollers(blockHash, state.lastTxUpdate)
  	}()
  }
docs: // NotifyBlockConnected uses the newly-connected block to notify any long poll
  // clients with a new block template when their existing block template is
  // stale due to the newly connected block.