HomePhabricator

[LINTER] Integrate check-rpc-mappings to arcanist

Description

[LINTER] Integrate check-rpc-mappings to arcanist

Summary:
Make the check-rpc-mappings.py linter run with arc lint. This is a
global linter so it will run only once.

Test Plan:
Should return no error:

arc lint --everything

Remove the line {"getblock", 1, "verbosity"}, from the table
vRPCConvertParams[] in src/rpc/client.cpp then run

arc lint

Check the linter returns both an error and a warning message.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
FabienAuthored on Jul 22 2019, 11:34
FabienPushed on Jul 27 2019, 15:24
Reviewer
Restricted Project
Differential Revision
D3752: [LINTER] Integrate check-rpc-mappings to arcanist
Parents
rABCf2155c414fc3: Fix nits in blockchain.cpp RPC table
Branches
Unknown
Tags
Unknown