mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
fac5a1b10atest: Allow mempool_updatefromblock.py to run on 32-bit (MarcoFalke) Pull request description: The number of dropped parent transactions in the `test_max_disconnect_pool_bytes` test was hard-coded to `2`. This happens to work fine on 64-bit for now. However, it seems to fail on 32-bit (https://github.com/bitcoin/bitcoin/issues/34108). I don't think we care about the exact number, as long as it is at least `1`. So hard-code `1` for an initial sanity check, and then calculate the exact value at runtime via `len(mempool) // 2`. Also, enable the functional tests in 32-bit CI, to confirm the regression test. Fixes https://github.com/bitcoin/bitcoin/issues/34108 ACKs for top commit: bensig: ACKfac5a1b10ainstagibbs: ACKfac5a1b10aTree-SHA512: 8d468f306d95e52cbfac1803293e3b8e9575c9010200010c7833382112509e0d51827dc9681b0b68eeae742af2c14d12da5fd4cf0e1d871a02f91fc80e6720d1