Function: hashcash-check-payment

hashcash-check-payment is a byte-compiled function defined in hashcash.el.gz.

Signature

(hashcash-check-payment TOKEN STR VAL)

Documentation

Check the validity of a hashcash payment.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/hashcash.el.gz
(defun hashcash-check-payment (token str val)
  "Check the validity of a hashcash payment."
  (if hashcash-program
      (zerop (call-process hashcash-program nil nil nil "-c"
			   "-d" "-f" hashcash-double-spend-database
			   "-b" (number-to-string val)
			   "-r" str
			   token))
    (progn
      (message "No hashcash binary found")
      (sleep-for 1)
      nil)))