Skip to content

test: wallet_listtransactions.py still refills 1,000 keys on 1.x.x; the fix for #242 only reached 1.1.0 #405

Open

Description

@kiwidream

Summary

#242 was closed by #243, which merged into feature/pq-transport and reached 1.1.0 with #233. It never reached 1.x.x, so the release branch still has the test that #242 describes.

Observed

  • test/functional/wallet_listtransactions.py:228 on 1.x.x still calls self.nodes[0].keypoolrefill(1000).
  • In a local Release build, at the default timeout factor, the test failed twice with 'keypoolrefill' RPC took longer than 30.000000 seconds (once in a full test_runner.py run, once alone on a loaded machine), and passed with --timeout-factor=8.
  • keypoolrefill 1000 on a fresh regtest wallet took about 26 s on an idle machine (about 25 s with the v1.0.0 binary), so the 30 s RPC limit has almost no margin.
  • CI is not affected, because it runs with a timeout factor of 40.

Suggested fix

Backport #243 to 1.x.x (test only: refill just the keys the test hands out).

Related: #242, #243.

Found in the 2026-11-10 review of the v1.0.1 change set. Code references are to 1.x.x at 9fc25e0268 unless stated.

Activity

  1. added
    bug
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions