8ce0e362bb
Messing around with --datadir, cleaning meson.build a bit
...
To run the binary while debugging you should now configure
with -Dscript_path=$HOME/your/source/dir
2022-05-14 19:33:22 +02:00
1090ea8295
Add meson options for user agent and script path
2022-05-14 19:13:10 +02:00
18e5317baf
Move code out of main.cpp
2022-05-14 18:23:58 +02:00
418d0af70f
Use new ClassManager
2022-05-14 17:09:56 +02:00
ccd15301af
More info in the comment
2022-05-14 08:06:38 +02:00
a0cfc10fa2
Add thank-you note for blueagain from libera.chat
2022-05-14 08:00:13 +02:00
6cbe6ae47f
New wren methods ticker_currency() and ticker_exchange()
2022-05-14 07:54:13 +02:00
6bd0dbb07e
Split out wren code, add a ticker_quick() method
2022-05-14 07:42:34 +02:00
4121bb3c74
Small refactoring - pulling things out of main.cpp
2022-05-14 07:07:34 +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
2016f19c3d
Refactor WebsocketReader into a separate file
2022-05-13 23:46:34 +02:00
10fc605078
Meson wrap file for beast, remove git submodule
2022-05-13 23:31:04 +02:00
8f2a819ebe
Query the websocket to get the correct value for the ticker
2022-05-13 23:11:01 +02:00
1d61cc7f2f
First implementation
...
It seems to work but I think the ticker value returned
by the remote call is wrong. Maybe I'm calling the wrong
endpoint ¯\_(ツ)_/¯ I don't know trying to work it out
2022-05-12 23:40:27 +02:00