Commit graph

3 commits

Author SHA1 Message Date
5aef83f4e8 Send heartbeat to bitcoinity to keep the connection alive
Thanks to blueagain for figuring this out.
This allows for long queries to bitcoinity to not fail
when the requested exchange/currency pair is not received
quickly enough
2022-05-15 01:44:21 +02:00
ccd15301af More info in the comment 2022-05-14 08:06:38 +02:00
d80908da4e Better comunication with Bitcoinity's websocket
I think I have to send 3 messages to the websocket
to initialise it. In response, it seems to send the last
ticker price reasonably quickly, compared to earlier
when it was just waiting for the next available transaction
before notifying me.
2022-05-14 06:58:49 +02:00