pull down to refresh

Never seen anything that does that. A few years back I made a daemon for Linux, it’s not that hard. For what you want, you can just use the command bitcoin-cli getblockcount.
A more accurate implementation would use the ZMQ to subscribe and get an event exactly when the new block is added. Polling getblockcount is still using normie-time as the basis for the sheduler.
Yea, I might have to vibe this one myself...
reply
10 sats \ 0 replies \ @dgy 10 Nov
I guess the easiest way to be notified about a new block is through bitcoind using the blocknotify property e.g. blocknotify=killall -USR1 datum_gateway
reply
Yeah, with the getblockcount command you gotta do some polling every few seconds and build your logic around that. It’s not the most elegant solution, but it works.
reply