It's been a while since I've played with p2pool though and something is really bugging me that I spot in the logs. I was wondering if anyone could answer me since my python knowledge is almost non-existent. On block changes, I'm NOT seeing p2pool immediately ask for a new block template when looking at my bitcoind logs which I have extra debugging on. Take for example this last block:
The block came in here:
2015-12-12 21:11:05.242988 UpdateTip: new best
And p2pool asked for the first newblock template here:
2015-12-12 21:11:23.387677 CreateNewBlock
Note the timestamps. There are 18 seconds between the block change and the first block template request. Now on my pool software I get a new template within milliseconds of the block update.
So here's the question. Is p2pool by design not updating immediately on block changes and hashing on stale work? Am I missing something?