HomePhabricator

[net processing] Add doxygen comments for orphan data and function

Description

[net processing] Add doxygen comments for orphan data and function

Summary:
PR description:

Originally a follow-up to #19364, this simplifies the logic in ProcessOrphanTx() and removes unused variables.

This is a backport of core#19498 [1/5]
https://github.com/bitcoin/bitcoin/pull/19498/commits/6e8dd99ef1c147898bd06fee7014afdff6618f18

Note: The removed_txn parameter does not exist in ProcessOrphanTx in Bitcoin ABC. This part of the logic was dropped in D1175, and was already unused by then. It seems to be related to RBF (see following comment). The last commit of this PR only deals with this parameter, so it is not relevant to Bitcoin ABC.

Test Plan: proofreading

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D10412

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Jun 25 2020, 19:34
PiRKCommitted on Nov 3 2021, 07:06
PiRKPushed on Nov 3 2021, 07:06
Reviewer
Restricted Project
Differential Revision
D10412: [net processing] Add doxygen comments for orphan data and function
Parents
rABCe6676216b792: Fix misleading error message: Clean stack rule
Branches
Unknown
Tags
Unknown