miner: bugfix: fix duplicate weight reservation in block assembler

- This commit renamed coinbase_max_additional_weight to block_reserved_weight.

- Also clarify that the reservation is for block header, transaction count
  and coinbase transaction.
This commit is contained in:
ismaelsadeeq
2025-01-14 14:16:57 -05:00
parent 5acf12bafe
commit 2c7d90a6d6
8 changed files with 23 additions and 17 deletions

View File

@@ -19,6 +19,7 @@
#include <common/args.h>
#include <common/system.h>
#include <consensus/amount.h>
#include <consensus/consensus.h>
#include <deploymentstatus.h>
#include <hash.h>
#include <httprpc.h>