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
16 views

Is the hash of ZMQ channel blockhash a merkleroot hash?

I am using the ZMQ interface of my node to keep track of wallet activity like incoming transactions. I want to know the number of confirmations of my transaction but, to do that, I would need to know ...
0
votes
1answer
46 views

Bitcoin Core ZMQ “hashTx”

Bitcoin Core ZMQ messaging system has hashtx along with 4 other topics. But nowhere it is documented whether the transactions that comes from hashtx are confirmed transactions which are added in a ...
1
vote
0answers
96 views

bitcoind: How to get rawblock data with ZeroMQ

I am trying to use the zeromq api for bitcoind to get rawblock but its not working with the code I've provided below. I am able to get hashtx and rawtx if I remove the filter but not hashblock and ...
1
vote
1answer
106 views

Bitcoind not publishing blocks via ZMQ after reorganization

On the testnet, I am running a bitcoin core deamon (bitcoind) and am using ZMQ to receive updates about transactions and blocks (subscribed to both 'rawblock' and 'rawtx'). I was curious as to how ...
1
vote
1answer
481 views

Tracking incoming transactions using nodejs and own node

I need to verify that user from my database has sent btc to my wallet. Ideally I want to generate a unique address for each user transaction and then track all those addresses but I suppose it will ...
0
votes
2answers
294 views

are official bitcoin core released compiled with zmq in general?

I installed the binary and try to listen to ZeroMQ stream. But I got nothing out. Then I installed ZeroMQ but still got nothing. https://bitcoin.org/en/release/v0.17.1 so, are official bitcoin core ...
2
votes
1answer
40 views

Is it possible to catch up missing blocks with zeroMQ if script was down for a while?

I use zeroMQ to get all new blocks (rawblock or hashblock). If my script is down for few minutes or hours and I missed few blocks, is it possible to catch up all missed blocks with zeroMQ when I ...
2
votes
1answer
59 views

Cannot get the same address format from zeroMQ and Bitcoin Core

I use nodejs with this npm library: const bitcoinjs = require('bitcoinjs-lib'); // version "^5.1.6" I received a rawTx from zeroMq, then extract it: const tx = bitcoinjs.Transaction.fromHex(rawTx);...
3
votes
2answers
584 views

How do I get the scriptPubKey type from the raw output script?

I use zeroMQ to get the transactions from Bitcoin Core. The output looks like this: { value: 200000, script: <Buffer 00 20 e3 30 7e 8e 0b 63 0e 53 c2 f1 f8 17 06 7b ce 01 c4 38 92 83 3e 02 2d ad ...
2
votes
1answer
792 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
239 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 ...
5
votes
1answer
436 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
236 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
83 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
83 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
330 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
2k 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
1k 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
998 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
136 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
3answers
2k 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
918 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
1answer
260 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
161 views

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

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
354 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
436 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
687 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. File /...
2
votes
2answers
1k 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?...
3
votes
1answer
849 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
936 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
442 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
199 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 ...
18
votes
1answer
6k 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/...