cculianu / Fulcrum

A fast & nimble SPV Server for BCH, BTC, and LTC
Other
325 stars 73 forks source link

zmqpubhashblock setting for seperate port #241

Open petzsch opened 3 months ago

petzsch commented 3 months ago

I would like to run fulcrum inside a BTCPay Server stack and would also make use of the zmqpubhashblock setting. This is enabled by default when you enable lnd in BTCPay Server, but it binds to a seperate port:

zmqpubhashblock=tcp://0.0.0.0:28334

I start fulcrum with this command in docker: command: "Fulcrum -b bitcoind:43782 -t 0.0.0.0:50001 -s 0.0.0.0:50002 -u electrumx -p XXX"

43782 is the RPC port: rpcbind=0.0.0.0:43782

I've searched in the docs and couldn't find a startup option to specificy the above port. Is it possible to use zmq in this context or is there a change required on your end so I can specifiy the zmq host:port.

Thanks