Well, I think I found another bug, it sometimes doesn't detect the new block when pulling from blockchain. I'll need to look into it.
i think i run into this bug. for testing i was using GHash.io, regardless i do not like centralised pools. script only found four blocks, one block was messaged to me three times.
maybe you want me to test something to get closer to the error?
another thing i would like to mention is if i switch to p2pool i ll get a error message:
blockfound.rb:86:in `
': undefined method `[]' for nil:NilClass (NoMethodError)
my command line looks like
ruby blockfound.rb --pool P2Pool