refactor: remove duplicate code from BlockAssembler
refactor: remove duplicate code from BlockAssembler

ajtowns/bitcoin,bitcoin/bitcoin,ajtowns/bitcoin,mruddy/bitcoin,jambolo/bitcoin,bitcoinsSG/bitcoin,particl/particl-core,ajtowns/bitcoin,kallewoof/bitcoin,lateminer/bitcoin,bitcoinsSG/bitcoin,AkioNak/bitcoin,sstone/bitcoin,bitcoinsSG/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,kallewoof/bitcoin,sipsorcery/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,AkioNak/bitcoin,tecnovert/particl-core,bitcoin/bitcoin,tecnovert/particl-core,AkioNak/bitcoin,tecnovert/particl-core,bitcoin/bitcoin,kallewoof/bitcoin,sstone/bitcoin,kallewoof/bitcoin,jambolo/bitcoin,sstone/bitcoin,fanquake/bitcoin,lateminer/bitcoin,lateminer/bitcoin,sstone/bitcoin,particl/particl-core,AkioNak/bitcoin,namecoin/namecoin-core,mruddy/bitcoin,particl/particl-core,sstone/bitcoin,bitcoin/bitcoin,mruddy/bitcoin,lateminer/bitcoin,ajtowns/bitcoin,mruddy/bitcoin,bitcoinsSG/bitcoin,fanquake/bitcoin,namecoin/namecoin-core,jambolo/bitcoin,tecnovert/particl-core,sipsorcery/bitcoin,tecnovert/particl-core,jambolo/bitcoin,lateminer/bitcoin,fanquake/bitcoin,particl/particl-core,lateminer/bitcoin,jambolo/bitcoin,bitcoinsSG/bitcoin,tecnovert/particl-core,AkioNak/bitcoin,kallewoof/bitcoin,ajtowns/bitcoin,mruddy/bitcoin,particl/particl-core,fanquake/bitcoin,jambolo/bitcoin,ajtowns/bitcoin,namecoin/namecoin-core,fanquake/bitcoin,kallewoof/bitcoin,bitcoinsSG/bitcoin,namecoin/namecoin-core,sipsorcery/bitcoin,namecoin/namecoin-core,particl/particl-core,sipsorcery/bitcoin,AkioNak/bitcoin,fanquake/bitcoin,sipsorcery/bitcoin,sstone/bitcoin,mruddy/bitcoin