[zeromq-dev] How to get transactions from bitcoind?

Andy borucki.andrzej at gmail.com
Mon Jan 16 14:59:45 CET 2017


Progress. I am using this C library instead C++ wrapper and is:
https://gist.github.com/borneq/cb5f3fc89f851a93be271d3a886153e4

But I have notes:
1. there are odd chars like:
hashtx
F��d� .������:�i6��"]s�|�5#� �

rawtx .������:�i6��"]s�|�5#� �

hashtx
0% ���m�M��������
lUˠUy�u F o��v��Ӝ������x�� �����
rawtxUy�u F o��v��Ӝ������x�� �����

whereas hashtx,rawtx are correct but data no.
2.zmq_getsockopt(socket, ZMQ_RCVMORE, optbuf, &optlen);
optlen always = 0
3.For Windows zmq_recv is blocked, moreover, Python program is also blocked.




2017-01-13 16:48 GMT+01:00 Andy <borucki.andrzej at gmail.com>:

> I write gist: https://gist.github.com/borneq/
> b72ecf68ea489d0a457041af2fd12a60
> but still do nothing after
>
> bitcoind -zmqpubhashtx=tcp://127.0.0.1:28332 -zmqpubrawtx=tcp://127.0.0.1:
> 28332 &
>
> whereas python zmq_sub.py does
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170116/fc933a9c/attachment.htm>


More information about the zeromq-dev mailing list