wallet refactor: Avoid use of Chain::Lock in qt wallettests
wallet refactor: Avoid use of Chain::Lock in qt wallettests

This is a step toward removing the Chain::Lock class and reducing cs_main
locking.

This change doesn't affect behavior.

rnicoll/bitcoin,jonasschnelli/bitcoin,sstone/bitcoin,achow101/bitcoin,particl/particl-core,instagibbs/bitcoin,lateminer/bitcoin,sstone/bitcoin,andreaskern/bitcoin,apoelstra/bitcoin,ElementsProject/elements,bitcoinsSG/bitcoin,anditto/bitcoin,JeremyRubin/bitcoin,mm-s/bitcoin,rnicoll/bitcoin,rnicoll/bitcoin,jambolo/bitcoin,n1bor/bitcoin,cdecker/bitcoin,alecalve/bitcoin,jonasschnelli/bitcoin,apoelstra/bitcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,ajtowns/bitcoin,domob1812/bitcoin,jlopp/statoshi,MeshCollider/bitcoin,namecoin/namecoin-core,jonasschnelli/bitcoin,andreaskern/bitcoin,prusnak/bitcoin,JeremyRubin/bitcoin,GroestlCoin/GroestlCoin,sstone/bitcoin,rnicoll/dogecoin,domob1812/namecore,GroestlCoin/bitcoin,particl/particl-core,AkioNak/bitcoin,prusnak/bitcoin,jamesob/bitcoin,jlopp/statoshi,jnewbery/bitcoin,sipsorcery/bitcoin,ajtowns/bitcoin,practicalswift/bitcoin,bitcoinsSG/bitcoin,n1bor/bitcoin,sstone/bitcoin,domob1812/bitcoin,Sjors/bitcoin,ElementsProject/elements,jnewbery/bitcoin,cdecker/bitcoin,cdecker/bitcoin,mm-s/bitcoin,Xekyo/bitcoin,ajtowns/bitcoin,domob1812/namecore,andreaskern/bitcoin,domob1812/namecore,GroestlCoin/bitcoin,jonasschnelli/bitcoin,bitcoin/bitcoin,fujicoin/fujicoin,apoelstra/bitcoin,bitcoinsSG/bitcoin,Sjors/bitcoin,instagibbs/bitcoin,anditto/bitcoin,pstratem/bitcoin,MeshCollider/bitcoin,jlopp/statoshi,mruddy/bitcoin,namecoin/namecoin-core,tecnovert/particl-core,fanquake/bitcoin,bitcoinknots/bitcoin,namecoin/namecore,MarcoFalke/bitcoin,andreaskern/bitcoin,rnicoll/bitcoin,particl/particl-core,Sjors/bitcoin,qtumproject/qtum,mruddy/bitcoin,bitcoinsSG/bitcoin,lateminer/bitcoin,jambolo/bitcoin,domob1812/bitcoin,pataquets/namecoin-core,pstratem/bitcoin,yenliangl/bitcoin,pstratem/bitcoin,sstone/bitcoin,GroestlCoin/GroestlCoin,alecalve/bitcoin,domob1812/namecore,litecoin-project/litecoin,namecoin/namecore,namecoin/namecore,mruddy/bitcoin,prusnak/bitcoin,domob1812/namecore,bitcoin/bitcoin,litecoin-project/litecoin,achow101/bitcoin,rnicoll/dogecoin,namecoin/namecore,domob1812/bitcoin,rnicoll/dogecoin,GroestlCoin/bitcoin,pataquets/namecoin-core,alecalve/bitcoin,MarcoFalke/bitcoin,namecoin/namecore,lateminer/bitcoin,jambolo/bitcoin,practicalswift/bitcoin,litecoin-project/litecoin,andreaskern/bitcoin,dscotese/bitcoin,Sjors/bitcoin,tecnovert/particl-core,particl/particl-core,mruddy/bitcoin,fujicoin/fujicoin,Xekyo/bitcoin,n1bor/bitcoin,GroestlCoin/bitcoin,AkioNak/bitcoin,midnightmagic/bitcoin,sipsorcery/bitcoin,particl/particl-core,mm-s/bitcoin,JeremyRubin/bitcoin,qtumproject/qtum,yenliangl/bitcoin,achow101/bitcoin,practicalswift/bitcoin,jlopp/statoshi,MarcoFalke/bitcoin,bitcoinsSG/bitcoin,dscotese/bitcoin,alecalve/bitcoin,jnewbery/bitcoin,JeremyRubin/bitcoin,namecoin/namecoin-core,JeremyRubin/bitcoin,jambolo/bitcoin,EthanHeilman/bitcoin,achow101/bitcoin,pataquets/namecoin-core,pstratem/bitcoin,anditto/bitcoin,andreaskern/bitcoin,n1bor/bitcoin,achow101/bitcoin,alecalve/bitcoin,bitcoin/bitcoin,bitcoin/bitcoin,midnightmagic/bitcoin,domob1812/namecore,mruddy/bitcoin,anditto/bitcoin,midnightmagic/bitcoin,EthanHeilman/bitcoin,mruddy/bitcoin,tecnovert/particl-core,bitcoinsSG/bitcoin,dscotese/bitcoin,pstratem/bitcoin,practicalswift/bitcoin,GroestlCoin/GroestlCoin,JeremyRubin/bitcoin,MarcoFalke/bitcoin,kallewoof/bitcoin,litecoin-project/litecoin,mm-s/bitcoin,ElementsProject/elements,bitcoinknots/bitcoin,sipsorcery/bitcoin,n1bor/bitcoin,jamesob/bitcoin,jambolo/bitcoin,instagibbs/bitcoin,jonasschnelli/bitcoin,ajtowns/bitcoin,apoelstra/bitcoin,fujicoin/fujicoin,ElementsProject/elements,AkioNak/bitcoin,dscotese/bitcoin,fanquake/bitcoin,ElementsProject/elements,jnewbery/bitcoin,practicalswift/bitcoin,kallewoof/bitcoin,yenliangl/bitcoin,AkioNak/bitcoin,tecnovert/particl-core,pstratem/bitcoin,EthanHeilman/bitcoin,yenliangl/bitcoin,fanquake/bitcoin,jamesob/bitcoin,MarcoFalke/bitcoin,Xekyo/bitcoin,jamesob/bitcoin,instagibbs/bitcoin,MeshCollider/bitcoin,GroestlCoin/bitcoin,mm-s/bitcoin,jamesob/bitcoin,apoelstra/bitcoin,Sjors/bitcoin,Xekyo/bitcoin,kallewoof/bitcoin,bitcoin/bitcoin,EthanHeilman/bitcoin,Xekyo/bitcoin,pataquets/namecoin-core,particl/particl-core,MarcoFalke/bitcoin,cdecker/bitcoin,ajtowns/bitcoin,ElementsProject/elements,tecnovert/particl-core,GroestlCoin/GroestlCoin,jlopp/statoshi,qtumproject/qtum,domob1812/bitcoin,jamesob/bitcoin,instagibbs/bitcoin,midnightmagic/bitcoin,namecoin/namecoin-core,anditto/bitcoin,fujicoin/fujicoin,kallewoof/bitcoin,bitcoin/bitcoin,fanquake/bitcoin,prusnak/bitcoin,n1bor/bitcoin,sstone/bitcoin,MeshCollider/bitcoin,fanquake/bitcoin,GroestlCoin/bitcoin,namecoin/namecoin-core,GroestlCoin/GroestlCoin,lateminer/bitcoin,jambolo/bitcoin,lateminer/bitcoin,namecoin/namecoin-core,ajtowns/bitcoin,AkioNak/bitcoin,practicalswift/bitcoin,instagibbs/bitcoin,bitcoinknots/bitcoin,midnightmagic/bitcoin,fanquake/bitcoin,jlopp/statoshi,fujicoin/fujicoin,domob1812/bitcoin,MeshCollider/bitcoin,rnicoll/bitcoin,namecoin/namecore,bitcoinknots/bitcoin,yenliangl/bitcoin,achow101/bitcoin,lateminer/bitcoin,apoelstra/bitcoin,EthanHeilman/bitcoin,mm-s/bitcoin,anditto/bitcoin,jnewbery/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,dscotese/bitcoin,Xekyo/bitcoin,dscotese/bitcoin,EthanHeilman/bitcoin,prusnak/bitcoin,kallewoof/bitcoin,midnightmagic/bitcoin,kallewoof/bitcoin,fujicoin/fujicoin,qtumproject/qtum,sipsorcery/bitcoin,qtumproject/qtum,qtumproject/qtum,rnicoll/dogecoin,MeshCollider/bitcoin,GroestlCoin/GroestlCoin,prusnak/bitcoin,alecalve/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,sipsorcery/bitcoin,rnicoll/dogecoin,cdecker/bitcoin,tecnovert/particl-core,litecoin-project/litecoin,rnicoll/bitcoin,qtumproject/qtum,litecoin-project/litecoin,AkioNak/bitcoin