Added Bitcoin constant and a new $payment->isPending() method.