Update purecoin

* cabalized
* updated hashing to support new api