Skip to content

test: Add test for rpcwhitelistdefault#29858

Merged
achow101 merged 1 commit into
bitcoin:masterfrom
naiyoma:test/rpc-whitelistdefault-test
Feb 14, 2025
Merged

test: Add test for rpcwhitelistdefault#29858
achow101 merged 1 commit into
bitcoin:masterfrom
naiyoma:test/rpc-whitelistdefault-test

Conversation

@naiyoma
Copy link
Copy Markdown
Contributor

@naiyoma naiyoma commented Apr 11, 2024

This PR adds tests for rpcwhitelistdefault. The implementation is a continuation of this PR.

Applied suggestions to include the tests in rpc_whitelist.py and to use a single node.

PR covers three test cases:

  • rpcwhitelistdefault = 0, no permissions
  • rpcwhitelistdefault = 1, no permissions
  • rpcwhitelistdefault = 1, with user permissions

I didn't add tests for rpcwhitelistdefault = 0 with user permissions since that is already tested here: rpc_whitelist.py#L77.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants