aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/libbitcoin_cli
diff options
context:
space:
mode:
authormerge-script <falke.marco@gmail.com>2021-09-09 15:42:12 +0200
committermerge-script <falke.marco@gmail.com>2021-09-09 15:42:12 +0200
commitfac71810914497611c7e23c02ef035098e478359 (patch)
tree2953854baf65e8b537707778db9fb967662086e1 /build_msvc/libbitcoin_cli
parentb05d3e76e7c72387b302cc21d420f31f384c8b10 (diff)
parentfa7db1cbf7e8400b625fccd5757f8e1b200796bd (diff)
Merge bitcoin/bitcoin#22582: test: a test to check descendant limits
fa7db1cbf7e8400b625fccd5757f8e1b200796bd [test] checks descendants limtis for second generation Package descendants (ritickgoenka) Pull request description: This PR adds a new functional test to test the new descendant limits for packages that were proposed in #21800. ``` +----------------------+ | | | M1 | | ^ ^ | | M2 ^ | | . ^ | | . ^ | | . ^ | | . ^ | | M24 ^ | | ^ | | P1 | | ^ | | P2 | | | +----------------------+ ``` This test is for checking a transaction to fail its descendant count limits because of a combination of mempool descendants, package direct descendants, and package indirect descendants. In this test, P1 has M1 as a mempool ancestor, P2 has no in-mempool ancestors, but when combined P2 has M1 as an ancestor and M1 exceeds descendant_limits (23 in-mempool descendants + 2 in-package descendants, a total of 26 including itself) ACKs for top commit: ryanofsky: Code review ACK fa7db1cbf7e8400b625fccd5757f8e1b200796bd. Only were suggested changes since last review: simplifying test and dropping P3 transaction as John suggested, and adding assert_equal I suggested glozow: ACK fa7db1cbf7e8400b625fccd5757f8e1b200796bd jnewbery: ACK fa7db1cbf7 Tree-SHA512: d1eb993550ac8ce31cbe42e17c6522a213ede66970d5d9391f31a116477ab5889fefa6ff2df6ceadd63a28c1be1ad893b0e8e449247e9ade2ca61dc636508d68
Diffstat (limited to 'build_msvc/libbitcoin_cli')
0 files changed, 0 insertions, 0 deletions