code: func (sp *serverPeer) setDisableRelayTx(disable bool) {
  	sp.relayMtx.Lock()
  	sp.disableRelayTx = disable
  	sp.relayMtx.Unlock()
  }
docs: // setDisableRelayTx toggles relaying of transactions for the given peer.
  // It is safe for concurrent access.