I realize that this is a general question with no "correct" answer, as every miner can operate differently.
Having said that, I'd like to be able to display a list of transactions that would be considered a fair representation of the transactions in the memory pool that are poised to be mined.
So far I have been:
getblocktemplateto get the list of transactions.
- Refreshing the list when a new block arrives, or at 1 minute intervals.
getblocktemplate seems logical, as I imagine the majority of miners would like to get the most amount possible in fees from their blocks.
I'm then guessing that miners would want to refresh their candidate block at certain intervals to check for higher-fee transactions in the mempool.
Is it likely that miners would be inclined to refresh their candidate blocks much more (or less) than every minute?