Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description --- Add checked_sub implementation for accumulated difficulty struct. Motivation and Context --- In a normal block chain world, you would never subtract difficulty, but in P2pool you only count the last X blocks. This means that when a block falls away and is not used anymore, we need to subtract its difficulty.
- Loading branch information