I wrote a script that compares the transactions listed in the memory pool with the transactions included in
(I've ordered the transactions by [current priority], and highlighted the ones included in
getblocktemplate in blue.)
getblocktemplatechoose which transactions to include from the memory pool in a candidate block?
Why aren't transactions being selected from highest to lowest priority?