-
Cindy_kayabaNerve: is there ZMQ in monero-oxide?
-
Cindy_i want the program to wait for the latest blocks as they come from the daemon
-
m-relay<kayabanerve:matrix.org> Not currently.
-
Cindy_ah, that heavily limits my program i guess
-
m-relay<kayabanerve:matrix.org> You can manually writer a timer to poll the monero node every so often and present that as a futures stream.
-
m-relay<kayabanerve:matrix.org> But you will need to ask for the event instead of being pushed the event.
-
plowsofif you are able to run a local node `--block-notify` will help
-
Cindy_this is a program meant to be ran with any nodes, including public ones
-
m-relay<ofrnxmr:monero.social> So do like xmrig and poll every second
-
m-relay<kayabanerve:matrix.org> Do public nodes generally expose ZMQ?
-
Cindy_i don't know?
-
Cindy_i think they do
-
m-relay<ofrnxmr:xmr.mx> No
-
Cindy_oh
-
m-relay<ofrnxmr:xmr.mx> By default, zmq-rpc is localhost, and zmq-pub is not enabled
-
DataHoarder23:26:41 <Cindy_> i think they do
-
DataHoarderonly ones p2pool enabled
-
DataHoarderthere's a list with a couple public ones with zmq-pub
-
DataHoarderwhich that has all the notifications you want
-
Cindy_oh
-
Cindy_i see
-
Cindy_i'll just manually poll for blocks with the HTTPS RPC
-
DataHoarderyou can poll the latest header yep
-
DataHoarderthen do further if it changes
-
Cindy_i'm just polling and scanning blocks for TXs
-
Cindy_i'm getting really confused by the monero-oxide/interface stuff
-
Cindy_i don't know where a ScannableBlock comes from, all i see is just Unvalidated ones
-
Cindy_and also.. where's the Block struct defined?
-
Cindy_sorry if i'm asking dumb questions
-
m-relay<rucknium:monero.social> Is #monero-rust:monero.social bridged to IRC? Or #cuprate:monero.social ?
-
m-relay<boog900:monero.social> cuprate is
-
DataHoarderif you need more bridged channels poke plowsof which can ensure they are registered properly on both sides
-
DataHoarderthen I can attach them to one of the two bridges