Difficulty Pallet
The difficulty pallet is responsible for calculating and storing the difficulty for blocks produced using the old Proof of Work system. The fact that this logic lives in a pallet means that could change our difficulty adjustment algorithm with a runtime upgrade, which is cool.