BTC Gateway

Look here if you're having trouble with BitShop
Post Reply
adrian
Posts: 8
Joined: Mon Sep 10, 2018 1:18 pm

BTC Gateway

Post by adrian »

Hey
your gateway is not working on tor network
i'm using default gateway + address list
Status: All API's are unavailable
User avatar
bitfreak
Site Admin
Posts: 98
Joined: Thu Dec 10, 2015 6:57 pm
Location: Australia
Contact:

Re: BTC Gateway

Post by bitfreak »

Hmmm this would suggest your server is unable to reach block explorers on the normal web. I don't really use Tor so I'm not exactly sure if this would be normal behavior or not. If it is normal then the solution would be to find one or more block explorers which exist as a hidden service and then modify the explorer_request() function inside the /lib/bitsci.lib.php file so it uses those explorers instead.
adrian
Posts: 8
Joined: Mon Sep 10, 2018 1:18 pm

Re: BTC Gateway

Post by adrian »

can you help me configure curl to socks5
i tried this

Code: Select all

 // Setting curl options
    curl_setopt($ch, CURLOPT_URL, $url_str);
	curl_setopt($ch, CURLOPT_PROXY, 'IP:PORT');
	curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $ver_ssl);
    curl_setopt($ch, CURLOPT_USERAGENT, "PHP/".phpversion());
	
but it's not working
User avatar
bitfreak
Site Admin
Posts: 98
Joined: Thu Dec 10, 2015 6:57 pm
Location: Australia
Contact:

Re: BTC Gateway

Post by bitfreak »

Post Reply