Page MenuHomePhabricator

[LINTER] Integrate check-rpc-mappings to arcanist

Authored by Fabien on Jul 26 2019, 10:27.



Make the 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.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Jul 26 2019, 10:27
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 26 2019, 10:27
deadalnix accepted this revision.Jul 26 2019, 13:32
This revision is now accepted and ready to land.Jul 26 2019, 13:32
This revision was automatically updated to reflect the committed changes.