Add functional test coverage for the error path in CheckFeeRate() when calculateCombinedBumpFee() returns nullopt because unconfirmed inputs span more than 500 mempool transactions (CTxMemPool::GatherClusters DoS limit).
The crash on this path was fixed in #34870; this PR adds the missing test requested in #34902.
The test builds eight independent 64-transaction clusters (512 total, above the 500 limit), keeps a wallet-owned RBF transaction that spends one output from each cluster out of the mempool, and asserts that bumpfee with an explicit fee_rate returns the expected wallet error instead of proceeding with an empty optional.
Closes #34902.
Testing
./build/test/functional/wallet_bumpfee.py- Temporarily removed the early return in
CheckFeeRate()and confirmed the test fails withbad optional_accessinstead of the expected error message