Added wrappers for bitcoind method getblocktemplate.