monero icon indicating copy to clipboard operation
monero copied to clipboard

Added `max_weight` parameter for mining

Open SChernykh opened this issue 3 months ago • 16 comments

max_weight allows miners to limit the weight of the blocks they mine. Default is 0 (unlimited).

Added to get_block_template RPC, start_mining RPC and start_mining console command.

Disclaimer: this hasn't been tested yet, and I might have missed some places in the code that need changing.

SChernykh avatar Mar 10 '24 21:03 SChernykh