updates to rpc and the miner for multialgo