autogenerate-rpc-examples.py: added 17 new RPC to ignore list
What changed, and why it matters
This commit only updates a test script's list of RPC commands that should be skipped when automatically generating documentation examples. It adds 17 more RPC names to an existing ignore list. There is no change to production code, network behavior, or security-sensitive logic.
No security action needed. Treat as routine test-maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies tests/autogenerate-rpc-examples.py, expanding IGNORE_RPCS_LIST from 3 entries to 20. The new entries are RPC method names whose examples should not be auto-generated. This is a test/infrastructure change with no functional impact on the lightning daemon or its APIs.
Changed components
tests/autogenerate-rpc-examples.pyInspect captured patch +1 / −1
diff --git a/tests/autogenerate-rpc-examples.py b/tests/autogenerate-rpc-examples.py
index e03a0202..4cad61fb 100644
--- a/tests/autogenerate-rpc-examples.py
+++ b/tests/autogenerate-rpc-examples.py
@@ -32,7 +32,7 @@ REGENERATING_RPCS = []
ALL_RPC_EXAMPLES = {}
EXAMPLES_JSON = {}
LOG_FILE = './tests/autogenerate-examples-status.log'
-IGNORE_RPCS_LIST = ['dev-splice', 'reckless', 'sql-template']
+IGNORE_RPCS_LIST = ['dev-splice', 'reckless', 'sql-template', 'currencyconvert', 'splicein', 'createproof', 'clnrest-register-path', 'sendamount', 'graceful', 'askrene-remove-channel-update', 'currencyrate', 'spliceout', 'askrene-bias-node', 'bkpr-report', 'xkeysend', 'listcurrencyrates', 'delnetworkevent', 'cancelrecurringinvoice', 'listnetworkevents', 'injectonionmessage']
if os.path.exists(LOG_FILE):
open(LOG_FILE, 'w').close()
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.