block explorers usually just show either a mining pool or 'unknown' for the relayed by info.
how do I set up a command in bitcoind to display that string? I'm on ubuntu 22.04.
like, can't I just use 'bitcoin-cli getinfo hash' after I see an updatetip? but I'm hoping to automate this somehow, is that possible?
you know, blocknotify is meant to run a script, not just a text file.
If you output to a text file via blocknotify, you can tail it in your terminal to see new info. Why not just keep bitcoind running in the background? Mine’s been running since Jan 8, and I don’t even see its output.
I'll give a.sh script a shot then!
I just wanna see when new blocks pop up, plus I wanna grab the relayed by info too. Funny how I couldn't find anything online about this... thought I was alone in this.
thanks for the tip, loyce!
that link really cleared things up. I was messing up by using /s instead of %s and forgot to add %s when launching blocknotify.sh. lol, my bad!