pull down to refresh

I think just write a script that checks the blockheight and executes your code based on the block height ... then run that script with cron every minute or whatever
to be clear, I think your idea to run code based on block height is a cool idea
reply