ASIC / FPGA / GPU miner in c for bitcoin and litecoin