Bitcoind with ZeroMQ support

2

1

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 Dockerfile installs the libzmq3-dev dependency and I define these configurations in the bitcoin.conf file.

The result is that inside the container there isn't any bind for the defined mq enpoints and I cannot realize where the error is.

Could someone please help me to enable mq publish mechanism?

Update: Now the bitcoin.conf file used is this running in in debug it logs this debug_log.txt.

Dario

Posted 2015-11-26T00:16:06.470

Reputation: 131

2Your prune line looks weird.Pieter Wuille 2015-11-26T00:42:35.257

@PieterWuille: probably I misunderstood the help line that describes the option. I suppose that the weirdness stands in the angle braket. Am I right?Dario 2015-11-26T08:19:27.100

@PieterWuille I changed the prune option with the 1000 value and the log report an incompatibility with the txindex. Removing the prune at all, I cannot expose the mq enpoints. Is there anything I could do trying to spot the problem?Dario 2015-11-26T12:43:41.840

You cannot enable both txindex and prune. Pick one.Pieter Wuille 2015-11-26T13:05:30.560

infact I've correct removing the prune option. The fact is that there isn't any mq bound on ports specified.Dario 2015-11-26T13:08:21.277

Can you put your debug.log somewhere?Pieter Wuille 2015-11-26T13:31:35.637

Let us continue this discussion in chat.

Dario 2015-11-26T14:41:12.270

@PieterWuille in the chat above I wrote down what you asked for. I'm also there. Thank you very much for your time!Dario 2015-11-27T08:08:48.523

Answers

1

So after some investigations I realized that ZMQ support is not present on the latest tag on the repo (this line was in charge of giving me the latest tag).

So I think that my problem is by now resolved by using master as building branch.

Thanks at all, Dario.

Dario

Posted 2015-11-26T00:16:06.470

Reputation: 131

Note that, latest packages from ppa:bitcoin/bitcoin contain ZMQ supportOleksandr Fediashov 2017-04-03T07:39:26.673