Remove unused function
Move setRate to amountFromQuality free function
Use shorter identifiers
Tidy up and mark deprecated observers
Remove unused function
Annotate test-only function
Remove unused function
Make isLegalNet a free function
Make compare static
[FOLD] fix unary operator- as per comment
[FOLD] remove unused operator double as per comment