Add the Bitcoin-ABC specific RPCs to the check script.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGf4733c9f324a: Add src/rpc/abc.cpp to the files checked by check-rpc-mappings
rABCf4733c9f324a: Add src/rpc/abc.cpp to the files checked by check-rpc-mappings
Should return no error:
./test/lint/check-rpc-mappings.py .
Add the following line to the vRPCConvertParams[] table in
src/rpc/client.cpp:
{"setexcessiveblock", 1, "dummy"},
Then:
./test/lint/check-rpc-mappings.py .
Should trigger an error:
setexcessiveblock argument 1 (named dummy in vRPCConvertParams) is not defined in dispatch table
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This doesn't look like it's going to be very useful if thins are working this way as we'll keep forgetting to add files in there.