Page MenuHomePhabricator

Prevent setting -blockmaxsize and -excessiveblocksize <= 0
ClosedPublic

Authored by Fabien on Wed, Jul 7, 09:28.

Details

Summary

This makes the init check consistent with the RPC. The GetArg() function returns an int which will then be casted to uint and might give unexpected results.

Test Plan
./test/functional/test_runner.py abc-cmdline

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable