Post
Topic
Board Development & Technical Discussion
Merits 2 from 1 user
Re: How do miners solve the knapsack problem?
by
ABCbits
on 19/07/2024, 10:05:20 UTC
⭐ Merited by pooya87 (2)
It's very interesting question. Aside from fee rate, miner also need to ensure that total sigops cost of the block isn't above 80000[1]. Otherwise, they may accidentally create invalid block which happened to F2Pool on last year[2].

[1] https://github.com/bitcoin/bitcoin/blob/v27.1/src/consensus/consensus.h#L16-L17
[2] https://bitcoin.stackexchange.com/q/117837