Some shared functions
Deprecated since version 0.6.3: Should be moved to different places and this file removed, but it needs refactoring.
Is address in my addressbook?
Am I subscribed to this address?
Am I subscribed to this address, is it in my addressbook or whitelist?
Convert private key from base58 that’s used in the config file to 8-bit binary string
Reload keys for user’s addresses from the config file
Reinitialize runtime data for the broadcasts I’m subscribed to from the config file
Sanitise invalid UTF-8 strings
Parameters: filename (str) – path to the file Returns: True if file appears to have appropriate permissions.
Try to change file permissions to be more restrictive