mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
doc: rpc: improve getmininginfo help text
- The reserved weight of the coinbase transaction is an estimate and may not reflect the exact value; it can be lower. - It should be clear that `currentblockweight` includes the reserved coinbase transaction weight. whereas `currentblocktx` does not account for the coinbase transaction count. - Also clarify `m_last_block_num_txs` and `m_last_block_weight`
This commit is contained in:
@@ -176,7 +176,9 @@ public:
|
||||
/** Construct a new block template */
|
||||
std::unique_ptr<CBlockTemplate> CreateNewBlock();
|
||||
|
||||
/** The number of transactions in the last assembled block (excluding coinbase transaction) */
|
||||
inline static std::optional<int64_t> m_last_block_num_txs{};
|
||||
/** The weight of the last assembled block (including reserved weight for block header, txs count and coinbase tx) */
|
||||
inline static std::optional<int64_t> m_last_block_weight{};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user