Questions tagged [zeromq]

For questions about the ZeroMQ messaging system for receiving notifications of new events from mining or wallet nodes.

Filter by
Sorted by
Tagged with
2
votes
1answer
45 views

LND can't connect to ZMQ

I want to run my LND instance (again) and have some trouble with connecting to bitcoin's ZMQ. Here is what I do: $ bitcoin-cli getblockcount 575704 $ lnd --bitcoin.mainnet --bitcoin.active --...
1
vote
0answers
93 views

Bitcoind zmqpubrawtx notification - Filter out mempool transactions

Bitcoind's zmqpubrawtx seems to notify the subscriber of any transactions that have been accepted to the mempool or included in a block. Is there any easy way to filter out the mined transactions so ...
4
votes
1answer
128 views

ZeroMQ Notifications in Browser JavaScript

I am trying to develop an online application primarily in JavaScript. As I am aware, the only way to receive notifications for unconfirmed/mempool transactions as they appear on the network is to ...
1
vote
1answer
107 views

Deposit flow, user balances

I am a working on website where people should be able to deposit BTC to thier account balances and then do something with these balances. I figured out that I need deterministic wallet and generate ...
1
vote
1answer
63 views

Detecting stale blocks with ZeroMQ

I'am writing an application which receives information about new tx and blocks via ZeroMQ. There is a chance that I will receive notifs about blocks which will later on become stale blocks. Is there a ...
1
vote
1answer
64 views

How to increment the number of confirmation of a transaction? [duplicate]

Sorry for this naive question, but honestly it is going to be a great help for me. Say I am tracking a specific bitcoin transaction('TX_1') form bitcoin core. A confirmed block had the transaction ...
1
vote
1answer
284 views

ZeroMQ support in Bitcoin Core 0.16.0 out-of-the-box?

In my previous question, I'm wondering why Lightning Networks lnd cannot talk to my Bitcoin Core bitcoind backend. The docs for lnd says it requires ZeroMQ compiled into bitcoind. Does the binary ...
0
votes
2answers
504 views

How to decode the block hash?

I got the block hash from zmq. 00000000000000000045c639280aee532c5b12b03c80bfdec7aae674fd8246e0 I want to decode the above block hash. Could anyone tell me how to decode the above block hash?
2
votes
1answer
917 views

Cannot compile bitcoind with zmq enabled

I need bitcoind with enabled zmq. When I'm building bitocind from source and make ./configure the output is: Options used to compile and link: ... with zmq = no ... No matter what i pass to ...
1
vote
2answers
606 views

How do i parse the zeroMQ messages in java?

This is the code that i have. I receive messages from the zeroMQ however a hashtx message for example looks like this --> "hashtx �����v����|(8d �!��v��&�-�k�". Any help in turning that into a ...
1
vote
0answers
112 views

How to get payment confirmation when Bitcoin is processed in java.

I'm using Bitcoind and ZMQ. I want to get a confirmation via socket when a payment is confirmed. I'm new to these things and don't know how to start. Any help will be appreciated. Thanks in ...
3
votes
2answers
1k views

How can I tell if bitcoind was compiled with ZeroMQ support?

Question How can I check to see if ZeroMQ is not active due to a config error or due to lack of support at compile time? Details I'm seeing a lot of messages like this from the insight logs: [2017-...
2
votes
1answer
648 views

rawtx & rawblock ZMQ at the same time?

I need your opinion, do you mind ? :) I'm bulding a javascript layer on top of bitcoind. I have bitcoind running on my server with rpc & zmq enabled. daemon=1 rpcallowip=0.0.0.0/0 rpcuser=...
3
votes
0answers
172 views

ZMQ Raw TX doesn't include all transactions

I'm running a Bitcore.io node and using their ZMQ hook but I've noticed that on livenet not all transactions are actually being sent. I've been comparing it to https://blockchain.info/unconfirmed-...
1
vote
0answers
127 views

Does the dogecoin daemon support ZeroMQ feature like the bitcoin deamon? [on hold]

I am using Dogecoin v1.10.0 and I am wondering if the daemon, dogecoind, supports publishing transactions and blocks via ZeroMQ like bitcoind does? My dogecoin.conf looks like the following. ...
0
votes
1answer
292 views

Is it possible to configure the bitcoin daemon to only broadcast unconfirmed transactions with ZeroMQ?

Currently, I am running a full node bitcoin daemon configured to publish hash transactions via ZeroMQ (ZMQ). I've been noticing that, as a subscriber to the hashtx topic, there are both confirmed and ...
3
votes
1answer
310 views

What happened to the “time” (and blocktime) field of raw transactions?

I have been calling the HTTP method getrawtransaction for a while now to retrieve raw transactions. It used to be, until recently, that I would get the time field with every transaction. However, in ...
2
votes
1answer
602 views

bitcoind -zmqpubhashtx causes empty raw file

I call: bitcoind -zmqpubrawtx=ipc:///tmp/bitcoind.tx.raw or even call: bitcoind -zmqpubhashtx=tcp://127.0.0.1:9050 - zmqpubrawtx=ipc:///tmp/bitcoind.tx.raw where 9050 is port from bicoin config. ...
1
vote
2answers
870 views

Using ZeroMQ of bitcoind to monitor addresses?

I'm developing a system which should monitor incoming transactions for the local addresses (addresses in this node's wallet). It would be great to use high-performance ZeroMQ for this. Is it possible?...
2
votes
1answer
669 views

What's the difference between hashtx and rawtx in ZeroMQ of bitcoind?

I'm trying to use ZeroMQ integration feature from bitcoind. According to docs it supports four topic: hashtx hashblock rawblock rawtx Sadly, they are not very well documented. So, what is the ...
2
votes
4answers
860 views

Where to connect to get streaming blockchain data?

I would like to connect to the blockchain to read the whole thing, then listen to it "live" as it streams. I'm new to this and can't seem to find out how to connect to receive data. (is there a ...
1
vote
1answer
1k views

How can we receive hashtx and hashblock from bitcoind by zmq subscribe?

install bitcoind by sudo apt install bitcoind in Ubuntu 16.04 server amd64(https://bitcoin.org/en/full-node#ubuntu-1410) bitcoind --version show v0.13 ga402396 bitcoind -daemon -zmqpubhashblock=tcp://...
4
votes
1answer
419 views

Bitcoin ZeroMQ and Scala application

I'm trying to connect to Bitcoin's ZeroMQ queue, having no success and don't even know where my problem is. Here is what I did so far on my Ubuntu 14.04: Installed Bitcoin via sudo apt-get install ...
0
votes
0answers
182 views

Library ZMQ to Java does not work

I am trying to connect to a bitcoin node using the ZMQ library for Java. the problem is that when I try to receive a response the code remains frozen. Returns nothing. This is my code: public class ...
2
votes
1answer
1k views

Bitcoind with ZeroMQ support

I'm trying to compile from latest tag the bitcoin repo and in my use case scenario ZeroMQ support would definitely help me. Reading the documentation I realized this rudimental docker container. The ...
16
votes
1answer
5k views

What is the use case of bitcoind ZeroMQ?

What is the use case of ZeroMQ implementation for bitcoind which will be merged into Bitcoin Core v0.12.0? Block and Transaction Broadcasting With ZeroMQ https://github.com/bitcoin/bitcoin/blob/...