refactor: Avoid locking cs_main in ProcessNewBlockHeaders
refactor: Avoid locking cs_main in ProcessNewBlockHeaders

jamesob/bitcoin,particl/particl-core,gjhiggins/vcoincore,jnewbery/bitcoin,wellenreiter01/Feathercoin,cdecker/bitcoin,rnicoll/bitcoin,peercoin/peercoin,instagibbs/bitcoin,nikkitan/bitcoin,bitcoin/bitcoin,domob1812/namecore,vertcoin/vertcoin,MarcoFalke/bitcoin,ajtowns/bitcoin,jlopp/statoshi,pataquets/namecoin-core,rnicoll/dogecoin,yenliangl/bitcoin,GroestlCoin/bitcoin,kallewoof/bitcoin,DigitalPandacoin/pandacoin,apoelstra/bitcoin,namecoin/namecoin-core,achow101/bitcoin,ajtowns/bitcoin,jambolo/bitcoin,gjhiggins/vcoincore,EthanHeilman/bitcoin,GroestlCoin/GroestlCoin,yenliangl/bitcoin,Xekyo/bitcoin,dscotese/bitcoin,bitcoin/bitcoin,GroestlCoin/bitcoin,JeremyRubin/bitcoin,ElementsProject/elements,sstone/bitcoin,midnightmagic/bitcoin,tjps/bitcoin,apoelstra/bitcoin,monacoinproject/monacoin,vertcoin/vertcoin,ahmedbodi/vertcoin,EthanHeilman/bitcoin,FeatherCoin/Feathercoin,particl/particl-core,kallewoof/bitcoin,GroestlCoin/GroestlCoin,instagibbs/bitcoin,qtumproject/qtum,domob1812/namecore,EthanHeilman/bitcoin,DigitalPandacoin/pandacoin,FeatherCoin/Feathercoin,jtimon/bitcoin,achow101/bitcoin,jlopp/statoshi,namecoin/namecore,MarcoFalke/bitcoin,pataquets/namecoin-core,jnewbery/bitcoin,sipsorcery/bitcoin,namecoin/namecoin-core,mitchellcash/bitcoin,nikkitan/bitcoin,anditto/bitcoin,jlopp/statoshi,GroestlCoin/GroestlCoin,bitcoinsSG/bitcoin,Sjors/bitcoin,ahmedbodi/vertcoin,peercoin/peercoin,fujicoin/fujicoin,mm-s/bitcoin,dscotese/bitcoin,mitchellcash/bitcoin,mitchellcash/bitcoin,kallewoof/bitcoin,litecoin-project/litecoin,anditto/bitcoin,fanquake/bitcoin,fanquake/bitcoin,peercoin/peercoin,andreaskern/bitcoin,rnicoll/bitcoin,kallewoof/bitcoin,jonasschnelli/bitcoin,midnightmagic/bitcoin,pstratem/bitcoin,monacoinproject/monacoin,achow101/bitcoin,tecnovert/particl-core,jtimon/bitcoin,MeshCollider/bitcoin,andreaskern/bitcoin,monacoinproject/monacoin,anditto/bitcoin,DigitalPandacoin/pandacoin,sstone/bitcoin,lateminer/bitcoin,monacoinproject/monacoin,alecalve/bitcoin,bitcoin/bitcoin,ElementsProject/elements,JeremyRubin/bitcoin,FeatherCoin/Feathercoin,tecnovert/particl-core,peercoin/peercoin,rnicoll/bitcoin,bitcoin/bitcoin,rnicoll/dogecoin,midnightmagic/bitcoin,n1bor/bitcoin,practicalswift/bitcoin,Xekyo/bitcoin,tecnovert/particl-core,domob1812/bitcoin,bitcoinknots/bitcoin,yenliangl/bitcoin,mm-s/bitcoin,sstone/bitcoin,bitcoinsSG/bitcoin,apoelstra/bitcoin,MarcoFalke/bitcoin,lateminer/bitcoin,fujicoin/fujicoin,instagibbs/bitcoin,tjps/bitcoin,yenliangl/bitcoin,domob1812/bitcoin,tjps/bitcoin,DigitalPandacoin/pandacoin,particl/particl-core,jlopp/statoshi,andreaskern/bitcoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,domob1812/namecore,alecalve/bitcoin,mm-s/bitcoin,AkioNak/bitcoin,AkioNak/bitcoin,bitcoin/bitcoin,cdecker/bitcoin,tecnovert/particl-core,jnewbery/bitcoin,MarcoFalke/bitcoin,apoelstra/bitcoin,bitcoinknots/bitcoin,prusnak/bitcoin,gjhiggins/vcoincore,Sjors/bitcoin,ahmedbodi/vertcoin,practicalswift/bitcoin,rnicoll/dogecoin,sipsorcery/bitcoin,Sjors/bitcoin,pataquets/namecoin-core,pstratem/bitcoin,jnewbery/bitcoin,qtumproject/qtum,MeshCollider/bitcoin,qtumproject/qtum,mm-s/bitcoin,particl/particl-core,JeremyRubin/bitcoin,EthanHeilman/bitcoin,n1bor/bitcoin,prusnak/bitcoin,MeshCollider/bitcoin,n1bor/bitcoin,MeshCollider/bitcoin,nikkitan/bitcoin,CryptArc/bitcoin,AkioNak/bitcoin,kallewoof/bitcoin,vertcoin/vertcoin,instagibbs/bitcoin,qtumproject/qtum,DigitalPandacoin/pandacoin,fanquake/bitcoin,lateminer/bitcoin,ajtowns/bitcoin,jtimon/bitcoin,jtimon/bitcoin,gjhiggins/vcoincore,dscotese/bitcoin,gjhiggins/vcoincore,Xekyo/bitcoin,FeatherCoin/Feathercoin,AkioNak/bitcoin,wellenreiter01/Feathercoin,pstratem/bitcoin,andreaskern/bitcoin,lateminer/bitcoin,kallewoof/bitcoin,bitcoinknots/bitcoin,bitcoinsSG/bitcoin,ElementsProject/elements,jonasschnelli/bitcoin,namecoin/namecore,ElementsProject/elements,sipsorcery/bitcoin,pstratem/bitcoin,prusnak/bitcoin,ajtowns/bitcoin,jambolo/bitcoin,litecoin-project/litecoin,bitcoin/bitcoin,cdecker/bitcoin,qtumproject/qtum,rnicoll/bitcoin,CryptArc/bitcoin,domob1812/bitcoin,jamesob/bitcoin,sipsorcery/bitcoin,CryptArc/bitcoin,GroestlCoin/bitcoin,Xekyo/bitcoin,nikkitan/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,EthanHeilman/bitcoin,jonasschnelli/bitcoin,peercoin/peercoin,jambolo/bitcoin,ElementsProject/elements,tjps/bitcoin,jamesob/bitcoin,bitcoinsSG/bitcoin,n1bor/bitcoin,cdecker/bitcoin,pataquets/namecoin-core,GroestlCoin/bitcoin,n1bor/bitcoin,MeshCollider/bitcoin,cdecker/bitcoin,vertcoin/vertcoin,jlopp/statoshi,litecoin-project/litecoin,achow101/bitcoin,domob1812/namecore,achow101/bitcoin,fujicoin/fujicoin,jambolo/bitcoin,sipsorcery/bitcoin,jambolo/bitcoin,sstone/bitcoin,ajtowns/bitcoin,dscotese/bitcoin,AkioNak/bitcoin,GroestlCoin/GroestlCoin,monacoinproject/monacoin,CryptArc/bitcoin,litecoin-project/litecoin,namecoin/namecore,qtumproject/qtum,midnightmagic/bitcoin,DigitalPandacoin/pandacoin,wellenreiter01/Feathercoin,Sjors/bitcoin,lateminer/bitcoin,n1bor/bitcoin,ElementsProject/elements,mruddy/bitcoin,particl/particl-core,midnightmagic/bitcoin,alecalve/bitcoin,achow101/bitcoin,GroestlCoin/GroestlCoin,mruddy/bitcoin,anditto/bitcoin,jambolo/bitcoin,litecoin-project/litecoin,vertcoin/vertcoin,dscotese/bitcoin,bitcoinknots/bitcoin,rnicoll/dogecoin,instagibbs/bitcoin,tjps/bitcoin,anditto/bitcoin,MeshCollider/bitcoin,mruddy/bitcoin,peercoin/peercoin,monacoinproject/monacoin,gjhiggins/vcoincore,jtimon/bitcoin,mitchellcash/bitcoin,domob1812/namecore,ahmedbodi/vertcoin,wellenreiter01/Feathercoin,rnicoll/bitcoin,pataquets/namecoin-core,ahmedbodi/vertcoin,fanquake/bitcoin,lateminer/bitcoin,mruddy/bitcoin,domob1812/bitcoin,vertcoin/vertcoin,nikkitan/bitcoin,alecalve/bitcoin,prusnak/bitcoin,jnewbery/bitcoin,tjps/bitcoin,practicalswift/bitcoin,sstone/bitcoin,mitchellcash/bitcoin,CryptArc/bitcoin,wellenreiter01/Feathercoin,namecoin/namecoin-core,apoelstra/bitcoin,sipsorcery/bitcoin,FeatherCoin/Feathercoin,fanquake/bitcoin,dscotese/bitcoin,rnicoll/bitcoin,Sjors/bitcoin,pataquets/namecoin-core,MarcoFalke/bitcoin,anditto/bitcoin,namecoin/namecoin-core,EthanHeilman/bitcoin,namecoin/namecore,fujicoin/fujicoin,Xekyo/bitcoin,domob1812/namecore,litecoin-project/litecoin,domob1812/bitcoin,nikkitan/bitcoin,jtimon/bitcoin,alecalve/bitcoin,Xekyo/bitcoin,fanquake/bitcoin,GroestlCoin/bitcoin,alecalve/bitcoin,yenliangl/bitcoin,FeatherCoin/Feathercoin,jonasschnelli/bitcoin,wellenreiter01/Feathercoin,fujicoin/fujicoin,JeremyRubin/bitcoin,practicalswift/bitcoin,jamesob/bitcoin,rnicoll/dogecoin,CryptArc/bitcoin,fujicoin/fujicoin,qtumproject/qtum,andreaskern/bitcoin,jamesob/bitcoin,bitcoinknots/bitcoin,JeremyRubin/bitcoin,tecnovert/particl-core,practicalswift/bitcoin,prusnak/bitcoin,prusnak/bitcoin,namecoin/namecoin-core,mruddy/bitcoin,mm-s/bitcoin,midnightmagic/bitcoin,mm-s/bitcoin,practicalswift/bitcoin,AkioNak/bitcoin,andreaskern/bitcoin,domob1812/bitcoin,namecoin/namecore,particl/particl-core,yenliangl/bitcoin,jamesob/bitcoin,MarcoFalke/bitcoin,jonasschnelli/bitcoin,namecoin/namecoin-core,ahmedbodi/vertcoin,bitcoinsSG/bitcoin,apoelstra/bitcoin,cdecker/bitcoin,mruddy/bitcoin,jlopp/statoshi,ajtowns/bitcoin,instagibbs/bitcoin,bitcoinsSG/bitcoin,mitchellcash/bitcoin,sstone/bitcoin,JeremyRubin/bitcoin,pstratem/bitcoin,pstratem/bitcoin