[qa] electrum helper functions
[qa] electrum helper functions

create_electrum_connection attempts multiple times (with a timeout) to
connect to our electrum server

address_to_scripthash converts a cashaddr to the equivalent P2PKH
scripthash as used to lookup addresses with electrum

Justaphf/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited