I'm getting occasional bad outputs on my Mac iBook when minting 29 bit coins with a long resource name. This is for my rpow.net project which uses a fixed resource name of 71672bc400000017-000003c2-0001.rpow.net.
Here is a sample GOOD output:
./hashcash -m -b 29 -r 71672bc400000017-000003c2-0001.rpow.net
hashcash token: 1:29:050131:71672bc400000017-000003c2-0001.rpow.net::TP+l7rpzbtJoqygB: 000000000000000000000HJZop
Here is a sample BAD output:
./hashcash -m -b 29 -r 71672bc400000017-000003c2-0001.rpow.net
hashcash token: 1:29:050131:71672bc400000017-000zFsHIgwYn9MnogZF: 0000000000000000000000000000000000000000007/FQn
You will notice that it's not well formed, there are only 4 colons rather
than 6.
It fails about one time in 5 or so.
This test was done compiling with no optimization, because I thought the Mac's optimizer might be having problems. The Mac gcc compiler actually gets an internal compiler error when compiling with -O3 on fastmint_altivec_standard_2.c, so I compile that one manually without optimization.
-------------------------------------------------------------- from: Jonathan "Chromatix" Morton mail: chromi@xxxxxxxxxxxxxxxxxxxxx website: http://www.chromatix.uklinux.net/ tagline: The key to knowledge is not to rely on people to teach you it.