blockstorage: [refactor] Use chainman reference where possible
blockstorage: [refactor] Use chainman reference where possible

Also, add missing { } for style.

Can be reviewed with `--word-diff-regex=.`

domob1812/namecore,domob1812/namecore,GroestlCoin/bitcoin,tecnovert/particl-core,ajtowns/bitcoin,anditto/bitcoin,GroestlCoin/GroestlCoin,namecoin/namecoin-core,jambolo/bitcoin,MarcoFalke/bitcoin,qtumproject/qtum,rnicoll/bitcoin,apoelstra/bitcoin,bitcoinknots/bitcoin,dscotese/bitcoin,fanquake/bitcoin,mruddy/bitcoin,mruddy/bitcoin,lateminer/bitcoin,lateminer/bitcoin,achow101/bitcoin,qtumproject/qtum,bitcoinsSG/bitcoin,particl/particl-core,achow101/bitcoin,fujicoin/fujicoin,mruddy/bitcoin,Xekyo/bitcoin,ElementsProject/elements,pataquets/namecoin-core,domob1812/namecore,mruddy/bitcoin,yenliangl/bitcoin,namecoin/namecore,namecoin/namecoin-core,sipsorcery/bitcoin,fujicoin/fujicoin,instagibbs/bitcoin,domob1812/bitcoin,bitcoin/bitcoin,andreaskern/bitcoin,yenliangl/bitcoin,bitcoinsSG/bitcoin,lateminer/bitcoin,bitcoin/bitcoin,fanquake/bitcoin,bitcoin/bitcoin,sstone/bitcoin,fujicoin/fujicoin,mruddy/bitcoin,MarcoFalke/bitcoin,jlopp/statoshi,Xekyo/bitcoin,AkioNak/bitcoin,apoelstra/bitcoin,namecoin/namecore,domob1812/bitcoin,tecnovert/particl-core,dscotese/bitcoin,MarcoFalke/bitcoin,AkioNak/bitcoin,JeremyRubin/bitcoin,domob1812/bitcoin,qtumproject/qtum,jamesob/bitcoin,GroestlCoin/bitcoin,domob1812/bitcoin,rnicoll/bitcoin,sstone/bitcoin,particl/particl-core,instagibbs/bitcoin,jlopp/statoshi,apoelstra/bitcoin,MarcoFalke/bitcoin,kallewoof/bitcoin,Xekyo/bitcoin,fanquake/bitcoin,ElementsProject/elements,prusnak/bitcoin,namecoin/namecore,particl/particl-core,namecoin/namecoin-core,prusnak/bitcoin,namecoin/namecore,pataquets/namecoin-core,namecoin/namecoin-core,kallewoof/bitcoin,ElementsProject/elements,AkioNak/bitcoin,mm-s/bitcoin,GroestlCoin/GroestlCoin,jamesob/bitcoin,apoelstra/bitcoin,prusnak/bitcoin,GroestlCoin/GroestlCoin,jlopp/statoshi,apoelstra/bitcoin,AkioNak/bitcoin,fanquake/bitcoin,qtumproject/qtum,rnicoll/bitcoin,prusnak/bitcoin,sstone/bitcoin,achow101/bitcoin,qtumproject/qtum,ElementsProject/elements,fujicoin/fujicoin,anditto/bitcoin,sstone/bitcoin,instagibbs/bitcoin,bitcoinsSG/bitcoin,JeremyRubin/bitcoin,ajtowns/bitcoin,anditto/bitcoin,bitcoinknots/bitcoin,domob1812/namecore,jlopp/statoshi,andreaskern/bitcoin,prusnak/bitcoin,lateminer/bitcoin,pataquets/namecoin-core,sipsorcery/bitcoin,jambolo/bitcoin,particl/particl-core,mm-s/bitcoin,rnicoll/bitcoin,yenliangl/bitcoin,jamesob/bitcoin,tecnovert/particl-core,dscotese/bitcoin,jambolo/bitcoin,andreaskern/bitcoin,lateminer/bitcoin,jamesob/bitcoin,ajtowns/bitcoin,kallewoof/bitcoin,ajtowns/bitcoin,MarcoFalke/bitcoin,JeremyRubin/bitcoin,Xekyo/bitcoin,yenliangl/bitcoin,bitcoinsSG/bitcoin,bitcoinsSG/bitcoin,achow101/bitcoin,jamesob/bitcoin,prusnak/bitcoin,Xekyo/bitcoin,ElementsProject/elements,sstone/bitcoin,dscotese/bitcoin,instagibbs/bitcoin,namecoin/namecoin-core,jambolo/bitcoin,bitcoinknots/bitcoin,kallewoof/bitcoin,mm-s/bitcoin,tecnovert/particl-core,ElementsProject/elements,jambolo/bitcoin,AkioNak/bitcoin,namecoin/namecore,domob1812/namecore,qtumproject/qtum,GroestlCoin/GroestlCoin,instagibbs/bitcoin,JeremyRubin/bitcoin,MarcoFalke/bitcoin,rnicoll/bitcoin,fanquake/bitcoin,fanquake/bitcoin,sipsorcery/bitcoin,namecoin/namecoin-core,andreaskern/bitcoin,fujicoin/fujicoin,domob1812/bitcoin,jlopp/statoshi,kallewoof/bitcoin,fujicoin/fujicoin,tecnovert/particl-core,instagibbs/bitcoin,sipsorcery/bitcoin,anditto/bitcoin,sipsorcery/bitcoin,jamesob/bitcoin,mm-s/bitcoin,jlopp/statoshi,kallewoof/bitcoin,domob1812/namecore,andreaskern/bitcoin,sstone/bitcoin,namecoin/namecore,pataquets/namecoin-core,JeremyRubin/bitcoin,bitcoin/bitcoin,pataquets/namecoin-core,anditto/bitcoin,JeremyRubin/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,GroestlCoin/GroestlCoin,mm-s/bitcoin,mm-s/bitcoin,domob1812/bitcoin,bitcoin/bitcoin,qtumproject/qtum,Xekyo/bitcoin,GroestlCoin/bitcoin,apoelstra/bitcoin,jambolo/bitcoin,mruddy/bitcoin,GroestlCoin/bitcoin,pataquets/namecoin-core,ajtowns/bitcoin,andreaskern/bitcoin,GroestlCoin/GroestlCoin,dscotese/bitcoin,GroestlCoin/bitcoin,GroestlCoin/bitcoin,tecnovert/particl-core,lateminer/bitcoin,bitcoinknots/bitcoin,sipsorcery/bitcoin,yenliangl/bitcoin,rnicoll/bitcoin,ajtowns/bitcoin,bitcoinknots/bitcoin,anditto/bitcoin,particl/particl-core,bitcoinsSG/bitcoin,achow101/bitcoin,yenliangl/bitcoin,achow101/bitcoin,particl/particl-core,dscotese/bitcoin