as anyone an idea why the following basic piece of code accessing the libbitcoin-server (a ZMQ service) method "blockchain.fetch_last_height" isn't working?
https://pastebin.com/0MwAm1f9
The output is:
Connecting to
tcp://mainnet1.libbitcoin.net:9091
Sending blockchain.fetch_last_height
requester.receiveTimeOut: 2000
Reply error: EAGAIN
Received null
I'm new to Kotlin.
Also if I put it in a loop I just get EAGAIN every 2 seconds.
The server works otherwise, I tried with a different tool from them (blockchain-explorer) and also with my own localhost server.
Any input is welcome 🙂 Thanks