21:47:51
Cindy_:
kayabaNerve: is there ZMQ in monero-oxide?
21:48:12
Cindy_:
i want the program to wait for the latest blocks as they come from the daemon
22:01:33
kayabanerve:matrix.org:
Not currently.
22:01:54
Cindy_:
ah, that heavily limits my program i guess
22:02:03
kayabanerve:matrix.org:
You can manually writer a timer to poll the monero node every so often and present that as a futures stream.
22:02:57
kayabanerve:matrix.org:
But you will need to ask for the event instead of being pushed the event.
22:03:23
plowsof:
if you are able to run a local node `--block-notify` will help
22:03:52
Cindy_:
this is a program meant to be ran with any nodes, including public ones
22:09:02
ofrnxmr:monero.social:
So do like xmrig and poll every second
22:25:38
kayabanerve:matrix.org:
Do public nodes generally expose ZMQ?
22:26:01
Cindy_:
i don't know?
22:26:04
Cindy_:
i think they do
22:28:42
ofrnxmr:xmr.mx:
No
22:28:55
Cindy_:
oh
22:29:00
ofrnxmr:xmr.mx:
By default, zmq-rpc is localhost, and zmq-pub is not enabled
22:44:15
DataHoarder:
23:26:41 <Cindy_> i think they do
22:44:26
DataHoarder:
only ones p2pool enabled
22:44:28
DataHoarder:
there's a list with a couple public ones with zmq-pub
22:44:36
DataHoarder:
which that has all the notifications you want
22:45:34
Cindy_:
oh
22:45:37
Cindy_:
i see
22:46:00
Cindy_:
i'll just manually poll for blocks with the HTTPS RPC
22:46:17
DataHoarder:
you can poll the latest header yep
22:46:27
DataHoarder:
then do further if it changes
22:47:59
Cindy_:
i'm just polling and scanning blocks for TXs
23:03:38
Cindy_:
i'm getting really confused by the monero-oxide/interface stuff
23:04:03
Cindy_:
i don't know where a ScannableBlock comes from, all i see is just Unvalidated ones
23:04:11
Cindy_:
and also.. where's the Block struct defined?
23:04:24
Cindy_:
sorry if i'm asking dumb questions
23:17:00
rucknium:monero.social:
Is #monero-rust:monero.social bridged to IRC? Or #cuprate:monero.social ?
23:17:48
boog900:monero.social:
cuprate is
23:18:36
DataHoarder:
if you need more bridged channels poke plowsof which can ensure they are registered properly on both sides
23:18:45
DataHoarder:
then I can attach them to one of the two bridges