Two cleanups in util/strencodings.h:
- Remove
[U](BEGIN|END)macros — The only use of these was in the Merkle tree code withuint256which has its ownbeginandendmethods which are better. - Make ToLower and ToUpper take a char — Unfortunately,
std::stringelements are (bare) chars. As these are the most likely type to be passed to these functions, make them use char instead of unsigned char. This avoids some casts.