c00w/bitHopper — Issue #547: Rejects adding valid share also ?
Author: itstooez
Created: 2012-01-08 22:45:17+00:00
State: open

I believe when bH adds a reject share to the db, it's also adding a valid share to the db. If I throw a reject from 1 user at a pool the db shows : diff|1|1|user

In work.py, the def handle_store() will call self.bitHopper.reject_callback() which from data.py adds a reject to the pool & user...then later on in handle_store()...self.bitHopper.data_callback() is called, which in data.py adds a share to the user and pool :/

Can someone more experienced go through the code and verify this ? We shouldn't be adding a 'share' when it's a 'reject'. I would think.