use global template registry in blockupdater instead of passing in template registry and bitcoinrpc