scripted-diff: Rename CChainState::g_failed_blocks to m_failed_blocks
scripted-diff: Rename CChainState::g_failed_blocks to m_failed_blocks

To reflect its actual status as a member rather than a global value.

g_failed_blocks was previously global: 2862aca40f24acc48d3052d5ba3f639e3fc0a621

-BEGIN VERIFY SCRIPT-
sed -i 's/g_failed_blocks/m_failed_blocks/g' src/validation.cpp
-END VERIFY SCRIPT-

EthanHeilman/bitcoin,Xekyo/bitcoin,instagibbs/bitcoin,sstone/bitcoin,lbryio/lbrycrd,sebrandon1/bitcoin,jmcorgan/bitcoin,Xekyo/bitcoin,litecoin-project/litecoin,jamesob/bitcoin,ElementsProject/elements,digibyte/digibyte,practicalswift/bitcoin,FeatherCoin/Feathercoin,Kogser/bitcoin,DigitalPandacoin/pandacoin,ajtowns/bitcoin,paveljanik/bitcoin,pstratem/bitcoin,myriadteam/myriadcoin,afk11/bitcoin,pataquets/namecoin-core,alecalve/bitcoin,myriadcoin/myriadcoin,vmp32k/litecoin,lateminer/bitcoin,jonasschnelli/bitcoin,randy-waterhouse/bitcoin,litecoin-project/litecoin,GlobalBoost/GlobalBoost,randy-waterhouse/bitcoin,bitcoin/bitcoin,donaloconnor/bitcoin,nikkitan/bitcoin,sipsorcery/bitcoin,AkioNak/bitcoin,r8921039/bitcoin,paveljanik/bitcoin,peercoin/peercoin,FeatherCoin/Feathercoin,peercoin/peercoin,GroestlCoin/GroestlCoin,kallewoof/bitcoin,wellenreiter01/Feathercoin,lateminer/bitcoin,achow101/bitcoin,mruddy/bitcoin,BTCGPU/BTCGPU,jonasschnelli/bitcoin,Sjors/bitcoin,namecoin/namecoin-core,jamesob/bitcoin,JeremyRubin/bitcoin,peercoin/peercoin,nikkitan/bitcoin,sebrandon1/bitcoin,monacoinproject/monacoin,GlobalBoost/GlobalBoost,nikkitan/bitcoin,mitchellcash/bitcoin,ericshawlinux/bitcoin,namecoin/namecoin-core,jamesob/bitcoin,particl/particl-core,RHavar/bitcoin,BTCGPU/BTCGPU,jmcorgan/bitcoin,BTCGPU/BTCGPU,Flowdalic/bitcoin,n1bor/bitcoin,guncoin/guncoin,jtimon/bitcoin,wellenreiter01/Feathercoin,mm-s/bitcoin,myriadcoin/myriadcoin,tjps/bitcoin,sipsorcery/bitcoin,namecoin/namecore,sstone/bitcoin,h4x3rotab/BTCGPU,domob1812/namecore,fanquake/bitcoin,particl/particl-core,untrustbank/litecoin,h4x3rotab/BTCGPU,Flowdalic/bitcoin,gjhiggins/vcoincore,DigitalPandacoin/pandacoin,particl/particl-core,domob1812/huntercore,CryptArc/bitcoin,instagibbs/bitcoin,EthanHeilman/bitcoin,tecnovert/particl-core,cdecker/bitcoin,alecalve/bitcoin,MeshCollider/bitcoin,pstratem/bitcoin,achow101/bitcoin,MeshCollider/bitcoin,Kogser/bitcoin,rnicoll/dogecoin,jtimon/bitcoin,droark/bitcoin,jonasschnelli/bitcoin,MeshCollider/bitcoin,GlobalBoost/GlobalBoost,bitcoinknots/bitcoin,kallewoof/bitcoin,myriadteam/myriadcoin,GroestlCoin/bitcoin,jlopp/statoshi,particl/particl-core,mitchellcash/bitcoin,ahmedbodi/vertcoin,litecoin-project/litecoin,apoelstra/bitcoin,jambolo/bitcoin,rawodb/bitcoin,domob1812/namecore,OmniLayer/omnicore,thrasher-/litecoin,litecoin-project/litecoin,vertcoin/vertcoin,GroestlCoin/bitcoin,jtimon/bitcoin,tecnovert/particl-core,GroestlCoin/bitcoin,rawodb/bitcoin,EthanHeilman/bitcoin,jlopp/statoshi,sstone/bitcoin,apoelstra/bitcoin,instagibbs/bitcoin,AkioNak/bitcoin,midnightmagic/bitcoin,alecalve/bitcoin,lateminer/bitcoin,mitchellcash/bitcoin,afk11/bitcoin,qtumproject/qtum,Bushstar/UFO-Project,vmp32k/litecoin,rnicoll/bitcoin,dscotese/bitcoin,jlopp/statoshi,afk11/bitcoin,BTCGPU/BTCGPU,EthanHeilman/bitcoin,AkioNak/bitcoin,midnightmagic/bitcoin,JeremyRubin/bitcoin,Kogser/bitcoin,jonasschnelli/bitcoin,Kogser/bitcoin,rawodb/bitcoin,mm-s/bitcoin,yenliangl/bitcoin,dscotese/bitcoin,bitcoinsSG/bitcoin,jamesob/bitcoin,andreaskern/bitcoin,bitcoinsSG/bitcoin,ElementsProject/elements,bitcoin/bitcoin,untrustbank/litecoin,CryptArc/bitcoin,vertcoin/vertcoin,mruddy/bitcoin,BTCGPU/BTCGPU,lbryio/lbrycrd,lateminer/bitcoin,midnightmagic/bitcoin,litecoin-project/litecoin,ahmedbodi/vertcoin,randy-waterhouse/bitcoin,myriadcoin/myriadcoin,sstone/bitcoin,tjps/bitcoin,GlobalBoost/GlobalBoost,GroestlCoin/GroestlCoin,lbryio/lbrycrd,droark/bitcoin,untrustbank/litecoin,midnightmagic/bitcoin,domob1812/huntercore,Kogser/bitcoin,MarcoFalke/bitcoin,untrustbank/litecoin,Bushstar/UFO-Project,namecoin/namecoin-core,paveljanik/bitcoin,yenliangl/bitcoin,rnicoll/bitcoin,mm-s/bitcoin,Christewart/bitcoin,anditto/bitcoin,GroestlCoin/bitcoin,myriadteam/myriadcoin,ahmedbodi/vertcoin,domob1812/huntercore,lbryio/lbrycrd,monacoinproject/monacoin,monacoinproject/monacoin,domob1812/namecore,rnicoll/dogecoin,ElementsProject/elements,particl/particl-core,domob1812/namecore,tecnovert/particl-core,bitcoinknots/bitcoin,qtumproject/qtum,Bushstar/UFO-Project,mitchellcash/bitcoin,bitcoinknots/bitcoin,digibyte/digibyte,mm-s/bitcoin,AkioNak/bitcoin,rnicoll/bitcoin,tjps/bitcoin,prusnak/bitcoin,rnicoll/dogecoin,andreaskern/bitcoin,lbryio/lbrycrd,Sjors/bitcoin,anditto/bitcoin,guncoin/guncoin,h4x3rotab/BTCGPU,tecnovert/particl-core,h4x3rotab/BTCGPU,ericshawlinux/bitcoin,digibyte/digibyte,RHavar/bitcoin,vertcoin/vertcoin,lbryio/lbrycrd,jambolo/bitcoin,Christewart/bitcoin,n1bor/bitcoin,instagibbs/bitcoin,bespike/litecoin,achow101/bitcoin,andreaskern/bitcoin,anditto/bitcoin,Kogser/bitcoin,afk11/bitcoin,anditto/bitcoin,vertcoin/vertcoin,nikkitan/bitcoin,myriadcoin/myriadcoin,domob1812/namecore,qtumproject/qtum,MarcoFalke/bitcoin,Sjors/bitcoin,wellenreiter01/Feathercoin,sstone/bitcoin,Kogser/bitcoin,ElementsProject/elements,namecoin/namecore,paveljanik/bitcoin,fujicoin/fujicoin,AkioNak/bitcoin,bitcoinsSG/bitcoin,cdecker/bitcoin,r8921039/bitcoin,thrasher-/litecoin,n1bor/bitcoin,kazcw/bitcoin,yenliangl/bitcoin,particl/particl-core,wellenreiter01/Feathercoin,sebrandon1/bitcoin,jambolo/bitcoin,donaloconnor/bitcoin,ajtowns/bitcoin,bitcoin/bitcoin,instagibbs/bitcoin,domob1812/bitcoin,kallewoof/bitcoin,untrustbank/litecoin,myriadcoin/myriadcoin,Christewart/bitcoin,Bushstar/UFO-Project,GroestlCoin/GroestlCoin,namecoin/namecoin-core,namecoin/namecoin-core,domob1812/bitcoin,GroestlCoin/GroestlCoin,qtumproject/qtum,sipsorcery/bitcoin,sstone/bitcoin,wellenreiter01/Feathercoin,jambolo/bitcoin,rnicoll/bitcoin,guncoin/guncoin,RHavar/bitcoin,jmcorgan/bitcoin,fanquake/bitcoin,domob1812/bitcoin,GroestlCoin/bitcoin,tjps/bitcoin,jonasschnelli/bitcoin,Kogser/bitcoin,jnewbery/bitcoin,ajtowns/bitcoin,kazcw/bitcoin,jambolo/bitcoin,droark/bitcoin,Sjors/bitcoin,vertcoin/vertcoin,joshrabinowitz/bitcoin,Christewart/bitcoin,jamesob/bitcoin,cdecker/bitcoin,jmcorgan/bitcoin,rawodb/bitcoin,thrasher-/litecoin,joshrabinowitz/bitcoin,thrasher-/litecoin,tjps/bitcoin,ahmedbodi/vertcoin,OmniLayer/omnicore,fanquake/bitcoin,nikkitan/bitcoin,gjhiggins/vcoincore,ahmedbodi/vertcoin,achow101/bitcoin,fanquake/bitcoin,randy-waterhouse/bitcoin,mruddy/bitcoin,OmniLayer/omnicore,domob1812/bitcoin,RHavar/bitcoin,DigitalPandacoin/pandacoin,dscotese/bitcoin,kazcw/bitcoin,joshrabinowitz/bitcoin,namecoin/namecore,peercoin/peercoin,RHavar/bitcoin,anditto/bitcoin,namecoin/namecore,bitcoinknots/bitcoin,ahmedbodi/vertcoin,bespike/litecoin,DigitalPandacoin/pandacoin,r8921039/bitcoin,jmcorgan/bitcoin,EthanHeilman/bitcoin,bitcoin/bitcoin,achow101/bitcoin,andreaskern/bitcoin,anditto/bitcoin,Bushstar/UFO-Project,Flowdalic/bitcoin,ajtowns/bitcoin,CryptArc/bitcoin,r8921039/bitcoin,sipsorcery/bitcoin,wellenreiter01/Feathercoin,litecoin-project/litecoin,MarcoFalke/bitcoin,donaloconnor/bitcoin,CryptArc/bitcoin,pstratem/bitcoin,myriadteam/myriadcoin,kazcw/bitcoin,apoelstra/bitcoin,donaloconnor/bitcoin,Christewart/bitcoin,ElementsProject/elements,jnewbery/bitcoin,MeshCollider/bitcoin,namecoin/namecore,mruddy/bitcoin,rawodb/bitcoin,instagibbs/bitcoin,Kogser/bitcoin,ElementsProject/elements,achow101/bitcoin,ericshawlinux/bitcoin,jamesob/bitcoin,gjhiggins/vcoincore,Kogser/bitcoin,ericshawlinux/bitcoin,mm-s/bitcoin,r8921039/bitcoin,MeshCollider/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,randy-waterhouse/bitcoin,paveljanik/bitcoin,tecnovert/particl-core,guncoin/guncoin,namecoin/namecore,vmp32k/litecoin,MarcoFalke/bitcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,vmp32k/litecoin,jnewbery/bitcoin,cdecker/bitcoin,bespike/litecoin,fanquake/bitcoin,DigitalPandacoin/pandacoin,jlopp/statoshi,andreaskern/bitcoin,practicalswift/bitcoin,rnicoll/dogecoin,practicalswift/bitcoin,donaloconnor/bitcoin,gjhiggins/vcoincore,alecalve/bitcoin,pataquets/namecoin-core,cdecker/bitcoin,EthanHeilman/bitcoin,randy-waterhouse/bitcoin,n1bor/bitcoin,qtumproject/qtum,kallewoof/bitcoin,domob1812/bitcoin,apoelstra/bitcoin,practicalswift/bitcoin,vmp32k/litecoin,alecalve/bitcoin,RHavar/bitcoin,kazcw/bitcoin,n1bor/bitcoin,Flowdalic/bitcoin,AkioNak/bitcoin,monacoinproject/monacoin,myriadcoin/myriadcoin,vmp32k/litecoin,practicalswift/bitcoin,Kogser/bitcoin,rnicoll/bitcoin,Xekyo/bitcoin,prusnak/bitcoin,jtimon/bitcoin,lateminer/bitcoin,digibyte/digibyte,qtumproject/qtum,gjhiggins/vcoincore,n1bor/bitcoin,nikkitan/bitcoin,ajtowns/bitcoin,Xekyo/bitcoin,droark/bitcoin,prusnak/bitcoin,GlobalBoost/GlobalBoost,gjhiggins/vcoincore,domob1812/huntercore,kallewoof/bitcoin,prusnak/bitcoin,joshrabinowitz/bitcoin,lateminer/bitcoin,kallewoof/bitcoin,fanquake/bitcoin,myriadteam/myriadcoin,Xekyo/bitcoin,rnicoll/bitcoin,joshrabinowitz/bitcoin,untrustbank/litecoin,mruddy/bitcoin,JeremyRubin/bitcoin,bitcoinsSG/bitcoin,CryptArc/bitcoin,ericshawlinux/bitcoin,OmniLayer/omnicore,practicalswift/bitcoin,afk11/bitcoin,monacoinproject/monacoin,FeatherCoin/Feathercoin,Bushstar/UFO-Project,vertcoin/vertcoin,pataquets/namecoin-core,MarcoFalke/bitcoin,rawodb/bitcoin,GlobalBoost/GlobalBoost,r8921039/bitcoin,Flowdalic/bitcoin,jambolo/bitcoin,GlobalBoost/GlobalBoost,ericshawlinux/bitcoin,jmcorgan/bitcoin,guncoin/guncoin,afk11/bitcoin,OmniLayer/omnicore,sebrandon1/bitcoin,pstratem/bitcoin,prusnak/bitcoin,qtumproject/qtum,GroestlCoin/bitcoin,andreaskern/bitcoin,jnewbery/bitcoin,apoelstra/bitcoin,yenliangl/bitcoin,h4x3rotab/BTCGPU,mruddy/bitcoin,jnewbery/bitcoin,mitchellcash/bitcoin,myriadteam/myriadcoin,alecalve/bitcoin,JeremyRubin/bitcoin,JeremyRubin/bitcoin,droark/bitcoin,midnightmagic/bitcoin,Sjors/bitcoin,sipsorcery/bitcoin,FeatherCoin/Feathercoin,digibyte/digibyte,GroestlCoin/GroestlCoin,sebrandon1/bitcoin,FeatherCoin/Feathercoin,tecnovert/particl-core,ajtowns/bitcoin,cdecker/bitcoin,jtimon/bitcoin,midnightmagic/bitcoin,droark/bitcoin,domob1812/namecore,thrasher-/litecoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,domob1812/huntercore,thrasher-/litecoin,joshrabinowitz/bitcoin,monacoinproject/monacoin,Xekyo/bitcoin,bespike/litecoin,Flowdalic/bitcoin,BTCGPU/BTCGPU,JeremyRubin/bitcoin,mitchellcash/bitcoin,FeatherCoin/Feathercoin,MarcoFalke/bitcoin,sebrandon1/bitcoin,pstratem/bitcoin,domob1812/huntercore,DigitalPandacoin/pandacoin,kazcw/bitcoin,OmniLayer/omnicore,digibyte/digibyte,peercoin/peercoin,donaloconnor/bitcoin,bespike/litecoin,jtimon/bitcoin,CryptArc/bitcoin,fujicoin/fujicoin,bitcoin/bitcoin,fujicoin/fujicoin,apoelstra/bitcoin,GroestlCoin/GroestlCoin,guncoin/guncoin,bitcoin/bitcoin,dscotese/bitcoin,h4x3rotab/BTCGPU,bespike/litecoin,dscotese/bitcoin,dscotese/bitcoin,mm-s/bitcoin,paveljanik/bitcoin,prusnak/bitcoin,pataquets/namecoin-core,domob1812/bitcoin,lbryio/lbrycrd,peercoin/peercoin,fujicoin/fujicoin,namecoin/namecoin-core,sipsorcery/bitcoin,tjps/bitcoin,Kogser/bitcoin,bitcoinsSG/bitcoin,jlopp/statoshi,jlopp/statoshi,Christewart/bitcoin,yenliangl/bitcoin,MeshCollider/bitcoin,rnicoll/dogecoin,pstratem/bitcoin,fujicoin/fujicoin