http://bugzilla.spamassassin.org/show_bug.cgi?id=3657





------- Additional Comments From [EMAIL PROTECTED]  2004-08-03 22:55 -------
try pr7 just uploaded to http://www.hashcash.org/source/current/hashcash-1.00/

your problem was your X-Hashcash header was not capitalized correctly (you had
X-hashcash, hashcash tool expecting X-Hashcash).

pr6 now use strncasecmp so will accept any capitalization of the header
(probably a good thing!)


The reason 21 bit stamps are still created is no attempt is made to avoid > 20
bits on creation.  (It costs more to do so as you have to discard the > 20 bit
stamps).

However the new _definition_ of stamp value is (<= pr6 did not fully do this,
check pr7)
$claimed_bits = bits from 2nd : separated field
$count_bits = how many leading 0 bits
// $value = how many bits of value we consider stamp to have
$value = ( $count_bits < $claimed_bits ) ? 0 : $claimed_bits

ie the stamp never has value > claimed; if it's number of 0 bits is less than
claimed it has 0 bits (ie overclaiming is invalid)

this is intention so that people do not get lucky and have to commit up front to
how many bits they are trying to create.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to