diff options
author | glozow <gloriajzhao@gmail.com> | 2021-07-15 07:18:18 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2021-08-05 12:37:28 +0100 |
commit | c6e016aa139c8363e9b38bbc1ba0dca55700b8a7 (patch) | |
tree | 961309b2b056b1fdb25284b8e1f9371fc269883f /src/validation.cpp | |
parent | f551841d3ec080a2d7a7988c7b35088dff6c5830 (diff) |
[mempool] check ancestor/descendant limits for packages
When calculating ancestor/descendant counts for transactions in the
package, as a heuristic, count every transaction in the package as an
ancestor and descendant of every other transaction in the package.
This may overestimate, but will not underestimate, the
ancestor/descendant counts. This shortcut still produces an accurate
count for packages of 1 parent + 1 child.
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions