<p>I have read the Bitcoin Core(version 0.19)'s source code, I have read its transaction choosing algorighm, I found that algorithm can not maximize the minging reward，I think the mining pool has its own algorithm，so I want to know which algorighm does the mining pool use to choose transactions from transactioin pool to Maximize mining reward?
Is it knapsack algorithm？ or greedy algorithm？Is there someone can tell me? If you can show the source code, it would be even better. thanks a lot!</p>

CC BY-SA 4.0
2020-07-13T16:30:04.037Z
What makes you think it cannot maximize the reward?
Ava Chow
CC BY-SA 4.0
2020-07-14T08:55:06.343Z
There are many mining pools, each might be different.
RedGrittyBrick
<mining-pools>
What is the mining pool's transaction choosing algorithm to maximize their reward?
hzx-tiger
# What is the mining pool's transaction choosing algorithm to maximize their reward?

(Asked by: username_0 on 2020-07-13)

I have read the Bitcoin Core(version 0.19)'s source code, I have read its transaction choosing algorighm, I found that algorithm can not maximize the minging reward，I think the mining pool has its own algorithm，so I want to know which algorighm does the mining pool use to choose transactions from transactioin pool to Maximize mining reward?
Is it knapsack algorithm？ or greedy algorithm？Is there someone can tell me? If you can show the source code, it would be even better. thanks a lot!

**Tags:** mining-pools

> **Comments:**
> **username_1**: What makes you think it cannot maximize the reward?  
> **username_2**: There are many mining pools, each might be different.  

---

## 0 answers

