Skip to content

rpc: collect transaction fees on generateblock

Fixes #31684

Currently generateblock will insert the specified transactions directly into the new block without collecting fees in the coinbase transaction.

This patch changes the code to take transaction fees into account and make it behave closer to the expected miner behavior in mainnet.

Merge request reports

Loading