We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It'd not yet possible to connect to a electrum via Tor. We basically need something very similiar than specter.requests_session:
specter.requests_session
def requests_session(self, force_tor=False): requests_session = requests.Session() if self.only_tor or force_tor: proxy_url = self.proxy_url proxy_parsed_url = urlparse(self.proxy_url) proxy_url = proxy_parsed_url._replace( netloc="{}:{}@{}".format( str(random.randint(10000, 0x7FFFFFFF)), "random", proxy_parsed_url.netloc, ) ).geturl() requests_session.proxies["http"] = proxy_url requests_session.proxies["https"] = proxy_url return requests_session
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It'd not yet possible to connect to a electrum via Tor. We basically need something very similiar than
specter.requests_session
:The text was updated successfully, but these errors were encountered: