ASIC/FPGA miner in c for bitcoin