HomePhabricator

Add src/rpc/abc.cpp to the files checked by check-rpc-mappings

Description

Add src/rpc/abc.cpp to the files checked by check-rpc-mappings

Summary: Add the Bitcoin-ABC specific RPCs to the check script.

Test Plan:
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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D3751

Details

Provenance
FabienAuthored on Jul 26 2019, 09:48
FabienPushed on Jul 29 2019, 12:47
Reviewer
Restricted Project
Differential Revision
D3751: Add src/rpc/abc.cpp to the files checked by check-rpc-mappings
Parents
rABC3759162424c5: [LINTER] Integrate check-rpc-mappings to arcanist
Branches
Unknown
Tags
Unknown