T2099
Cashtab address validation developed incrementally supporting use cases specific to the migration from bitcoincash: address formats to ecash: address formats.
After improved address validation was added in D10687, some legacy validation functions that worked by checking prefixes were no longer relevant.
This diff removes these functions.
In ScanQR.js, these functions are replaced by their successor functions that validate the full address, prefix or not.
QRCode.js should have never used these functions. It has been refactored to accept address type as a prop. The switch in Wallet.js has also been refactored to work as a boolean instead of different string types.