add getblocktemplate support