Skip to content

Commit 84ec761

Browse files
committed
Add src/rpc/names.cpp to check-rpc-mappings.py source list.
The script contrib/devtools/check-rpc-mappings.py verifies consistency between RPC dispatch tables and the argument conversions listedn in src/rpc/client.cpp. For this, it needs a list of sources that contain dispatch tables. src/rpc/names.cpp was missing from this list, leading to errors as in: namecoin/namecoin-core#203 This commit adds the missing source file, which makes the script run successfully. Note that src/wallet/rpcnames.cpp, which also contains Namecoin RPCs, need not be listed; the dispatch table for those RPCs is included in src/wallet/rpcwallet.cpp.
1 parent 4cd859c commit 84ec761

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/devtools/check-rpc-mappings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"src/rpc/blockchain.cpp",
1616
"src/rpc/mining.cpp",
1717
"src/rpc/misc.cpp",
18+
"src/rpc/names.cpp",
1819
"src/rpc/net.cpp",
1920
"src/rpc/rawtransaction.cpp",
2021
"src/wallet/rpcwallet.cpp",

0 commit comments

Comments
 (0)