Updated documentation and formatting
Updated documentation and formatting

Also added missing hex prefixes to constant values in Compare() where needed.
bankonme/phactor,bitpay/phactor,studio666/phactor