Although the risks are probably minimal or unexistent, #7727 shouldn’t have passed travis’ tests. This adds a check that would fail with something like #7727. I’m not saying there’s a real risk in such a change passing review, but one more test shouldn’t hurt.
A couple of constants are added that could be potentially useful if we ever intend to increase CFeeRate’s internal precision multiplier above 1000 (aka KB), which I have no idea if it’s the case right now, but I imagine could be something we want at some point in the future.