```
This implements suggested changes from #14711 review comments that
didn't make make it in before merging.
There are no changes in behavior in this PR, just documentation updates,
simplifications, and variable renames.
```
Backport of core [[https://github.com/bitcoin/bitcoin/pull/15342 | PR15342]].