refactor: Simplify ApplyStats and ApplyHash
refactor: Simplify ApplyStats and ApplyHash

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