test: replace hard-coded RPC error codes #36990

Open
l0rinc wants to merge 3 commits from l0rinc/test-rpc-error-codes into master AGit
l0rinc commented 2026-11-26 19:15:58 +00:00 (Migrated from github.com)

Problem: When a test expects an RPC error by number, readers have to look up the code to tell which failure it covers.

Fix: Use the RPCErrorCode names in the C++ RPC tests and mirror the enum in the Python test framework.
Give the test client’s errors their own constants so AuthServiceProxy and TestNodeCLI can share the HTTP error code.

I split this out while reviewing #36976.

Compare the original numeric error codes

Run this diff to inline the constants back to validate that the values haven't changed.

sed -Ei -f /dev/stdin $(git diff --name-only HEAD~3 HEAD) <<'SED'
/^enum RPCErrorCode$/,/^};$/b
s/\bRPC_INVALID_REQUEST\b/-32600/g
s/\bRPC_METHOD_NOT_FOUND\b/-32601/g
s/\bRPC_INVALID_PARAMS\b/-32602/g
s/\bRPC_INTERNAL_ERROR\b/-32603/g
s/\bRPC_PARSE_ERROR\b/-32700/g
s/\bRPC_MISC_ERROR\b/-1/g
s/\bRPC_TYPE_ERROR\b/-3/g
s/\bRPC_INVALID_ADDRESS_OR_KEY\b/-5/g
s/\bRPC_OUT_OF_MEMORY\b/-7/g
s/\bRPC_INVALID_PARAMETER\b/-8/g
s/\bRPC_DATABASE_ERROR\b/-20/g
s/\bRPC_DESERIALIZATION_ERROR\b/-22/g
s/\bRPC_VERIFY_ERROR\b/-25/g
s/\bRPC_VERIFY_REJECTED\b/-26/g
s/\bRPC_VERIFY_ALREADY_IN_UTXO_SET\b/-27/g
s/\bRPC_IN_WARMUP\b/-28/g
s/\bRPC_METHOD_DEPRECATED\b/-32/g
s/\bRPC_LIMIT_EXCEEDED\b/-37/g
s/\bRPC_TRANSACTION_ERROR\b/-25/g
s/\bRPC_TRANSACTION_REJECTED\b/-26/g
s/\bRPC_CLIENT_NOT_CONNECTED\b/-9/g
s/\bRPC_CLIENT_IN_INITIAL_DOWNLOAD\b/-10/g
s/\bRPC_CLIENT_NODE_ALREADY_ADDED\b/-23/g
s/\bRPC_CLIENT_NODE_NOT_ADDED\b/-24/g
s/\bRPC_CLIENT_NODE_NOT_CONNECTED\b/-29/g
s/\bRPC_CLIENT_INVALID_IP_OR_SUBNET\b/-30/g
s/\bRPC_CLIENT_P2P_DISABLED\b/-31/g
s/\bRPC_CLIENT_NODE_CAPACITY_REACHED\b/-34/g
s/\bRPC_CLIENT_MEMPOOL_DISABLED\b/-33/g
s/\bRPC_WALLET_ERROR\b/-4/g
s/\bRPC_WALLET_INSUFFICIENT_FUNDS\b/-6/g
s/\bRPC_WALLET_INVALID_LABEL_NAME\b/-11/g
s/\bRPC_WALLET_KEYPOOL_RAN_OUT\b/-12/g
s/\bRPC_WALLET_UNLOCK_NEEDED\b/-13/g
s/\bRPC_WALLET_PASSPHRASE_INCORRECT\b/-14/g
s/\bRPC_WALLET_WRONG_ENC_STATE\b/-15/g
s/\bRPC_WALLET_ENCRYPTION_FAILED\b/-16/g
s/\bRPC_WALLET_ALREADY_UNLOCKED\b/-17/g
s/\bRPC_WALLET_NOT_FOUND\b/-18/g
s/\bRPC_WALLET_NOT_SPECIFIED\b/-19/g
s/\bRPC_WALLET_ALREADY_LOADED\b/-35/g
s/\bRPC_WALLET_ALREADY_EXISTS\b/-36/g
s/\bRPC_WALLET_INVALID_ACCOUNT_NAME\b/-11/g
s/\bRPC_FORBIDDEN_BY_SAFE_MODE\b/-2/g
s/\bRPC_HTTP_ERROR\b/-342/g
s/\bRPC_MISSING_RESULT\b/-343/g
s/\bRPC_TIMEOUT\b/-344/g
s/strprintf\((R"\(\{"code":)%d(.*"), (-[0-9]+)\)/\1\3\2/
SED

git diff HEAD~3
**Problem:** When a test expects an RPC error by number, readers have to look up the code to tell which failure it covers. **Fix:** Use the `RPCErrorCode` names in the C++ RPC tests and mirror the enum in the Python test framework. Give the test client’s errors their own constants so `AuthServiceProxy` and `TestNodeCLI` can share the HTTP error code. I split this out while reviewing #36976. <details> <summary>Compare the original numeric error codes</summary> Run this diff to inline the constants back to validate that the values haven't changed. ```sh sed -Ei -f /dev/stdin $(git diff --name-only HEAD~3 HEAD) <<'SED' /^enum RPCErrorCode$/,/^};$/b s/\bRPC_INVALID_REQUEST\b/-32600/g s/\bRPC_METHOD_NOT_FOUND\b/-32601/g s/\bRPC_INVALID_PARAMS\b/-32602/g s/\bRPC_INTERNAL_ERROR\b/-32603/g s/\bRPC_PARSE_ERROR\b/-32700/g s/\bRPC_MISC_ERROR\b/-1/g s/\bRPC_TYPE_ERROR\b/-3/g s/\bRPC_INVALID_ADDRESS_OR_KEY\b/-5/g s/\bRPC_OUT_OF_MEMORY\b/-7/g s/\bRPC_INVALID_PARAMETER\b/-8/g s/\bRPC_DATABASE_ERROR\b/-20/g s/\bRPC_DESERIALIZATION_ERROR\b/-22/g s/\bRPC_VERIFY_ERROR\b/-25/g s/\bRPC_VERIFY_REJECTED\b/-26/g s/\bRPC_VERIFY_ALREADY_IN_UTXO_SET\b/-27/g s/\bRPC_IN_WARMUP\b/-28/g s/\bRPC_METHOD_DEPRECATED\b/-32/g s/\bRPC_LIMIT_EXCEEDED\b/-37/g s/\bRPC_TRANSACTION_ERROR\b/-25/g s/\bRPC_TRANSACTION_REJECTED\b/-26/g s/\bRPC_CLIENT_NOT_CONNECTED\b/-9/g s/\bRPC_CLIENT_IN_INITIAL_DOWNLOAD\b/-10/g s/\bRPC_CLIENT_NODE_ALREADY_ADDED\b/-23/g s/\bRPC_CLIENT_NODE_NOT_ADDED\b/-24/g s/\bRPC_CLIENT_NODE_NOT_CONNECTED\b/-29/g s/\bRPC_CLIENT_INVALID_IP_OR_SUBNET\b/-30/g s/\bRPC_CLIENT_P2P_DISABLED\b/-31/g s/\bRPC_CLIENT_NODE_CAPACITY_REACHED\b/-34/g s/\bRPC_CLIENT_MEMPOOL_DISABLED\b/-33/g s/\bRPC_WALLET_ERROR\b/-4/g s/\bRPC_WALLET_INSUFFICIENT_FUNDS\b/-6/g s/\bRPC_WALLET_INVALID_LABEL_NAME\b/-11/g s/\bRPC_WALLET_KEYPOOL_RAN_OUT\b/-12/g s/\bRPC_WALLET_UNLOCK_NEEDED\b/-13/g s/\bRPC_WALLET_PASSPHRASE_INCORRECT\b/-14/g s/\bRPC_WALLET_WRONG_ENC_STATE\b/-15/g s/\bRPC_WALLET_ENCRYPTION_FAILED\b/-16/g s/\bRPC_WALLET_ALREADY_UNLOCKED\b/-17/g s/\bRPC_WALLET_NOT_FOUND\b/-18/g s/\bRPC_WALLET_NOT_SPECIFIED\b/-19/g s/\bRPC_WALLET_ALREADY_LOADED\b/-35/g s/\bRPC_WALLET_ALREADY_EXISTS\b/-36/g s/\bRPC_WALLET_INVALID_ACCOUNT_NAME\b/-11/g s/\bRPC_FORBIDDEN_BY_SAFE_MODE\b/-2/g s/\bRPC_HTTP_ERROR\b/-342/g s/\bRPC_MISSING_RESULT\b/-343/g s/\bRPC_TIMEOUT\b/-344/g s/strprintf\((R"\(\{"code":)%d(.*"), (-[0-9]+)\)/\1\3\2/ SED git diff HEAD~3 ``` </details>
DrahtBot commented 2026-11-26 19:16:12 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36979 (rpc: fix getorphantxs verbosity help and type checking by l0rinc)
  • #36976 (rpc: Use OBJ_NAMED_PARAMS in estimatesmartfee by maflcko)
  • #36877 (test: cover scantxoutset scan-object validation errors by Pranav-error)
  • #36826 (rpc: Return the right RPCErrorCode more consistently by maflcko)
  • #36778 (AssumeUTXO: replace loadtxoutset RPC with a startup arg by l0rinc)
  • #36767 (wallet: fix crash when external signer wallet creation fails by zerog975)
  • #36710 (test: Replace hardcoded extended keys with ExtendedKey helpers by nebula-21)
  • #36705 (test: Replace stale TODO with mempoolminfee test in wallet_send.py by Conradgabe)
  • #36648 (descriptor, rpc, wallet: do not echo key material in error messages by fametrano)
  • #36627 (tracing: run USDT tests without BPF privileges by willcl-ark)
  • #36603 (Improve loadtxoutset performance by ajtowns)
  • #36569 (psbt: analyzepsbt reports an error when outputs exceed inputs by Ravan002)
  • #36547 (test: return typed P2PInterface from add_p2p_connection helpers by ViniciusCestarii)
  • #36540 (mempool: remove time-based transaction expiry by ismaelsadeeq)
  • #36482 (wallet: Only broadcast resubmitted transactions that were added to the mempool by achow101)
  • #36455 (Test: Add legacy script edge case spender test by benthecarman)
  • #36402 (refactor: wallet_importdescriptors to separate run_test() contents into specific functions by nebula-21)
  • #36257 (qa: assert_equal -> assert_true/assert_false by hodlinator)
  • #36149 (validation: Leave some pruned blocks in m_blocks_unlinked, fix another nSequenceId issue by mzumsande)
  • #36114 (wallet: harden external signer psbt processing, revamp mock by Sjors)
  • #36070 (wallet: Add deriveHDKey interface by PraneethGunas)
  • #36014 (net: ignore repeated -addnode startup values by w0xlt)
  • #36002 (txindex: allow running in pruned mode by andrewtoth)
  • #35831 (argsman, cli: Allow options after non-option arguments (GNU-style) by pablomartin4btc)
  • #35793 (Implement BIP 54 (Consensus Cleanup) without mainnet activation by darosior)
  • #35433 (wallet: deprecate replaceable argument from transaction (and psbt) creation (and modification) RPCs by rkrux)
  • #35429 (wallet: avoid global access in external signer SPKM by w0xlt)
  • #35302 (Silent Payments: Sending (take 2) by Eunovo)
  • #35224 (wallet: importdescriptors should output the request on error by kevkevinpal)
  • #33959 (test: deduplicate reorg test code by yuvicc)
  • #33954 (test: add functional test for outbound connection management by mzumsande)
  • #33741 (rpc: Optionally print feerates in sat/vb by polespinasa)
  • #33112 (wallet: relax external_signer flag constraints by Sjors)
  • #32861 (Have createwalletdescriptor auto-detect an unused(KEY) by Sjors)
  • #32857 (wallet: allow skipping script paths by Sjors)
  • #32468 (rpc: generateblock to allow multiple outputs with custom payouts by polespinasa)
  • #31668 (Added rescan option for import descriptors by saikiran57)
  • #27260 (Enhanced error messages for invalid network prefix during address parsing. by portlandhodl)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

LLM Linter (✨ experimental)

Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):

  • test/functional/p2p_disconnect_ban.py: self.nodes[1].setban, "127.27.0.1", "add", 123, True
  • test/functional/mempool_ephemeral_dust.py: self.nodes[0].prioritisetransaction, dusty_tx["txid"], 0, 1
  • test/functional/mining_prioritisetransaction.py: self.nodes[0].prioritisetransaction, txid, 1, 0
  • test/functional/rpc_rawtransaction.py: self.nodes[0].createrawtransaction, [], {}, 0, False, TX_MIN_STANDARD_VERSION - 1
  • test/functional/wallet_send.py: w0.send, {w1.getnewaddress(): 1}, 6, "conservative", 1, {"feeRate": 0.01}

2026-12-03 14:20:16

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36990 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36990.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36990#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. A summary of reviews will appear here. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36979](https://github.com/bitcoin/bitcoin/pull/36979) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36979.svg"></sub> (rpc: fix `getorphantxs` verbosity help and type checking by l0rinc) * [#36976](https://github.com/bitcoin/bitcoin/pull/36976) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36976.svg"></sub> (rpc: Use OBJ_NAMED_PARAMS in estimatesmartfee by maflcko) * [#36877](https://github.com/bitcoin/bitcoin/pull/36877) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36877.svg"></sub> (test: cover scantxoutset scan-object validation errors by Pranav-error) * [#36826](https://github.com/bitcoin/bitcoin/pull/36826) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36826.svg"></sub> (rpc: Return the right RPCErrorCode more consistently by maflcko) * [#36778](https://github.com/bitcoin/bitcoin/pull/36778) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36778.svg"></sub> (AssumeUTXO: replace `loadtxoutset` RPC with a startup arg by l0rinc) * [#36767](https://github.com/bitcoin/bitcoin/pull/36767) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36767.svg"></sub> (wallet: fix crash when external signer wallet creation fails by zerog975) * [#36710](https://github.com/bitcoin/bitcoin/pull/36710) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36710.svg"></sub> (test: Replace hardcoded extended keys with ExtendedKey helpers by nebula-21) * [#36705](https://github.com/bitcoin/bitcoin/pull/36705) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36705.svg"></sub> (test: Replace stale TODO with mempoolminfee test in wallet_send.py by Conradgabe) * [#36648](https://github.com/bitcoin/bitcoin/pull/36648) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36648.svg"></sub> (descriptor, rpc, wallet: do not echo key material in error messages by fametrano) * [#36627](https://github.com/bitcoin/bitcoin/pull/36627) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36627.svg"></sub> (tracing: run USDT tests without BPF privileges by willcl-ark) * [#36603](https://github.com/bitcoin/bitcoin/pull/36603) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36603.svg"></sub> (Improve loadtxoutset performance by ajtowns) * [#36569](https://github.com/bitcoin/bitcoin/pull/36569) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36569.svg"></sub> (psbt: analyzepsbt reports an error when outputs exceed inputs by Ravan002) * [#36547](https://github.com/bitcoin/bitcoin/pull/36547) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36547.svg"></sub> (test: return typed P2PInterface from add_p2p_connection helpers by ViniciusCestarii) * [#36540](https://github.com/bitcoin/bitcoin/pull/36540) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36540.svg"></sub> (mempool: remove time-based transaction expiry by ismaelsadeeq) * [#36482](https://github.com/bitcoin/bitcoin/pull/36482) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36482.svg"></sub> (wallet: Only broadcast resubmitted transactions that were added to the mempool by achow101) * [#36455](https://github.com/bitcoin/bitcoin/pull/36455) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36455.svg"></sub> (Test: Add legacy script edge case spender test by benthecarman) * [#36402](https://github.com/bitcoin/bitcoin/pull/36402) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36402.svg"></sub> (refactor: `wallet_importdescriptors` to separate `run_test()` contents into specific functions by nebula-21) * [#36257](https://github.com/bitcoin/bitcoin/pull/36257) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36257.svg"></sub> (qa: assert_equal -> assert_true/assert_false by hodlinator) * [#36149](https://github.com/bitcoin/bitcoin/pull/36149) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36149.svg"></sub> (validation: Leave some pruned blocks in `m_blocks_unlinked`, fix another `nSequenceId` issue by mzumsande) * [#36114](https://github.com/bitcoin/bitcoin/pull/36114) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36114.svg"></sub> (wallet: harden external signer psbt processing, revamp mock by Sjors) * [#36070](https://github.com/bitcoin/bitcoin/pull/36070) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36070.svg"></sub> (wallet: Add deriveHDKey interface by PraneethGunas) * [#36014](https://github.com/bitcoin/bitcoin/pull/36014) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36014.svg"></sub> (net: ignore repeated `-addnode` startup values by w0xlt) * [#36002](https://github.com/bitcoin/bitcoin/pull/36002) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36002.svg"></sub> (txindex: allow running in pruned mode by andrewtoth) * [#35831](https://github.com/bitcoin/bitcoin/pull/35831) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35831.svg"></sub> (argsman, cli: Allow options after non-option arguments (GNU-style) by pablomartin4btc) * [#35793](https://github.com/bitcoin/bitcoin/pull/35793) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35793.svg"></sub> (Implement BIP 54 (Consensus Cleanup) without mainnet activation by darosior) * [#35433](https://github.com/bitcoin/bitcoin/pull/35433) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35433.svg"></sub> (wallet: deprecate replaceable argument from transaction (and psbt) creation (and modification) RPCs by rkrux) * [#35429](https://github.com/bitcoin/bitcoin/pull/35429) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35429.svg"></sub> (wallet: avoid global access in external signer SPKM by w0xlt) * [#35302](https://github.com/bitcoin/bitcoin/pull/35302) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35302.svg"></sub> (Silent Payments: Sending (take 2) by Eunovo) * [#35224](https://github.com/bitcoin/bitcoin/pull/35224) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35224.svg"></sub> (wallet: importdescriptors should output the request on error by kevkevinpal) * [#33959](https://github.com/bitcoin/bitcoin/pull/33959) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/33959.svg"></sub> (test: deduplicate reorg test code by yuvicc) * [#33954](https://github.com/bitcoin/bitcoin/pull/33954) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/33954.svg"></sub> (test: add functional test for outbound connection management by mzumsande) * [#33741](https://github.com/bitcoin/bitcoin/pull/33741) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/33741.svg"></sub> (rpc: Optionally print feerates in sat/vb by polespinasa) * [#33112](https://github.com/bitcoin/bitcoin/pull/33112) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/33112.svg"></sub> (wallet: relax external_signer flag constraints by Sjors) * [#32861](https://github.com/bitcoin/bitcoin/pull/32861) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/32861.svg"></sub> (Have createwalletdescriptor auto-detect an unused(KEY) by Sjors) * [#32857](https://github.com/bitcoin/bitcoin/pull/32857) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/32857.svg"></sub> (wallet: allow skipping script paths by Sjors) * [#32468](https://github.com/bitcoin/bitcoin/pull/32468) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/32468.svg"></sub> (rpc: generateblock to allow multiple outputs with custom payouts by polespinasa) * [#31668](https://github.com/bitcoin/bitcoin/pull/31668) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/31668.svg"></sub> (Added rescan option for import descriptors by saikiran57) * [#27260](https://github.com/bitcoin/bitcoin/pull/27260) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/27260.svg"></sub> (Enhanced error messages for invalid network prefix during address parsing. by portlandhodl) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3--> ### LLM Linter (✨ experimental) Possible places where named args for integral literals may be used (e.g. `func(x, /*named_arg=*/0)` in C++, and `func(x, named_arg=0)` in Python): - `test/functional/p2p_disconnect_ban.py`: `self.nodes[1].setban, "127.27.0.1", "add", 123, True` - `test/functional/mempool_ephemeral_dust.py`: `self.nodes[0].prioritisetransaction, dusty_tx["txid"], 0, 1` - `test/functional/mining_prioritisetransaction.py`: `self.nodes[0].prioritisetransaction, txid, 1, 0` - `test/functional/rpc_rawtransaction.py`: `self.nodes[0].createrawtransaction, [], {}, 0, False, TX_MIN_STANDARD_VERSION - 1` - `test/functional/wallet_send.py`: `w0.send, {w1.getnewaddress(): 1}, 6, "conservative", 1, {"feeRate": 0.01}` <sup>2026-12-03 14:20:16</sup>
First-time contributor

Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive linked from the Review report for their assessments.

🔵 Suggestion · The Python RPC-code mirror has no consistency check

The new rpc_error_codes.py table matches RPCErrorCode today, but its completeness and unused alias relationships are not checked automatically.

Location: test/functional/test_framework/rpc_error_codes.py:5 (head).

Review coverage was incomplete.


Reviewed: ec534b0f8034 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:e1a29e5e677c47d383756f0fcf8f3760725c91d1104dd3ccb2f333b6217eba26:47880f5569fd2047d249266f337c4f2a509adf7d96c3ccb1c7644c2c2a650bff --> <!-- ralph-base:2c0b8c4efc56ed530d5b69fc6d0f23cf79eaf77c --> <!-- ralph-head:ec534b0f80340e480d2344dfb60a5c9d28a0d38a --> <!-- ralph-case:c46bac86bf8873b5a97bf2a2f10c8d982fca73cc7218c7c4a467d83de8f99eb4 --> Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive linked from the Review report for their assessments. **🔵 Suggestion · The Python RPC-code mirror has no consistency check** The new `rpc_error_codes.py` table matches `RPCErrorCode` today, but its completeness and unused alias relationships are not checked automatically. Location: [`test/functional/test_framework/rpc_error_codes.py:5`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/ec534b0f80340e480d2344dfb60a5c9d28a0d38a/test/functional/test_framework/rpc_error_codes.py#L5>) (head). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`ec534b0f8034`](<https://git.fish.foo/bitcoin/bitcoin/commit/ec534b0f80340e480d2344dfb60a5c9d28a0d38a>) · [Review report](<https://review.fish.foo/report/36990-ec534b0f80340e480d2344dfb60a5c9d28a0d38a-3485-3.html>) · [Previous reports](<https://review.fish.foo/traces/36990/>) [permalink](<https://review.fish.foo/report/36990-ec534b0f80340e480d2344dfb60a5c9d28a0d38a-3485-3.html>)
DrahtBot commented 2026-12-03 13:14:54 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36990
No description provided.