Set best chain during GenerateInitialIndex.
Set best chain during GenerateInitialIndex.

This commit modifies the GenerateInitialIndex function to update the best
chain with each node as it is loaded.  This allows the best chain to be
set immediately upon generating the initial index which is a slight
performance optimization.

CryptocurrencyCabal/htcd,jongillham/btcd,cqswxj2013/btcd,btcsuitereleases/btcd,sysbot/btcd,adiabat/btcd,stevenroose/btcd,ppcsuite/ppcd-old,davecgh/btcd,wallclockbuilder/btcd,tb00/btcd,glv2/ppcd,btcsuite/btcd,danoctavian/btcd,jrick/dcrd,aakselrod/btcd,glv2/ppcd,mathiasrw/btcd,Roasbeef/btcd,ppcsuite/ppcd,jongillham/btcd,Roasbeef/btcd,decred/dcrd,jcmincke/dcrd,btcsuitereleases/btcd,davecgh/btcd,dajohi/btcd,BitGo/prova,stevenroose/btcd,tb00/btcd,ppcsuite/ppcd-old,wallclockbuilder/btcd,DanielKrawisz/btcd,cjepson/btcd,toddfries/btcd,sysbot/btcd,pkothbauer/btcd,ltcsuite/ltcd,aakselrod/btcd,qchain/btcd,jimmysong/btcd,jcmincke/dcrd,btcsuite/btcd,dajohi/btcd,ppcsuite/ppcd,Dirbaio/btcd,DanielKrawisz/btcd,toddfries/btcd,runeaune/btcd,cjepson/btcd,Stash-Crypto/btcd,pkothbauer/btcd,decred/dcrd,Cleawing/btcd,1d4Nf6/btcd,jrick/dcrd,Stash-Crypto/btcd,jcmincke/dcrd,hectorj/btcd,jimmysong/btcd,CryptocurrencyCabal/htcd,hectorj/btcd,jrick/btcd,qchain/btcd,danoctavian/btcd,dajohi/btcd,BitGo/prova,1d4Nf6/btcd,jrick/btcd,soapboxsys/ombfullnode,dan-da/btcd,mathiasrw/btcd,Dirbaio/btcd,Dirbaio/btcd,FactomProject/btcd,FactomProject/btcd,ltcsuite/ltcd,dan-da/btcd,jrick/btcd,cqswxj2013/btcd,runeaune/btcd,soapboxsys/ombfullnode,adiabat/btcd,Cleawing/btcd