added coinbase code for bitcoins