:: Re: [Libbitcoin] SOCKS5 support in …
Kezdőlap
Delete this message
Reply to this message
Szerző: Police Terror
Dátum:  
Címzett: libbitcoin
Tárgy: Re: [Libbitcoin] SOCKS5 support in ZMQ is working (Tor)
Yes, I will.

It's simple. You call:

const char* socks_proxy = "127.0.0.1:9150";
zmq_setsockopt(s, ZMQ_SOCKS_PROXY,
    socks_proxy, strlen(socks_proxy));


zmq_connect(...);

I'll add something to libbitcoin-client/examples/get_height/get_height.cpp

Eric Voskuil:
> That's great news, it's been a long time since we worked with Imatix to get the SOCKS5 support into zeromq, and have never tested it. Can you add something to libbitcoin-client, or libbitcoin-protocol, that shows the necessary zmq configuration?
>
> e
>
>> On Oct 19, 2016, at 3:01 AM, Police Terror <PoliceTerror@???> wrote:
>>
>> Hello,
>>
>> Tor works with libbitcoin-server. See this python-libbitcoin example here:
>>
>> https://github.com/libbitcoin/python-libbitcoin/blob/master/examples/server/fetch_last_height.py
>>
>> _______________________________________________
>> Libbitcoin mailing list
>> Libbitcoin@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin