mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 08:22:46 +00:00
Merge bitcoin/bitcoin#32893: doc: fix BlockConnected incorrect comment
4e69aa5701a2dad3805ea26718e6a406adb8b748 doc: fix `BlockConnected` incorrect comment (ismaelsadeeq) Pull request description: This is a simple PR that fixes the `BlockConnected` validation interface notification comment, which incorrectly states that a vector of transactions removed from the mempool is as a parameter of the method. Originally, this was the case when the method was first introduced in https://github.com/bitcoin/bitcoin/pull/9725 However, the method has since changed, and this is no longer accurate. Keeping the outdated comment is now misleading. This PR removes the information about the method parameters from the docstring, aligning it with the style of other notifications methods. As noticed in this PR, comments listing parameters can become stale and go uncorrected. Therefore, this PR simply removes the inaccurate comment without listing the current returned values. ACKs for top commit: l0rinc: ACK 4e69aa5701a2dad3805ea26718e6a406adb8b748 maflcko: lgtm ACK 4e69aa5701a2dad3805ea26718e6a406adb8b748 Tree-SHA512: 3737313f7a9da55c67c78ce01bab5005946f4e1fccbb471560ff3af8c8275cb5cf876f6c53400c93f0ba1fdf134f28766ed573cbe62903127a3129ca8ce88db6
This commit is contained in:
commit
927055e42a
@ -115,7 +115,6 @@ protected:
|
||||
virtual void MempoolTransactionsRemovedForBlock(const std::vector<RemovedMempoolTransactionInfo>& txs_removed_for_block, unsigned int nBlockHeight) {}
|
||||
/**
|
||||
* Notifies listeners of a block being connected.
|
||||
* Provides a vector of transactions evicted from the mempool as a result.
|
||||
*
|
||||
* Called on a background thread.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user