add logging to POW/POS detection