Russell Yanofsky
93b9800fec
scripted-diff: Rename overloaded int GetArg to GetIntArg
...
Improve readability of code, simplify future scripted diff cleanup PRs, and be
more consistent with naming for GetBoolArg.
This will also be useful for replacing runtime settings type checking
with compile time checking.
-BEGIN VERIFY SCRIPT-
git grep -l GetArg | xargs sed -i 's/GetArg(\([^)]*\( [0-9]\+\|-1\|port\|BaseParams().RPCPort()\|Params().GetDefaultPort()\|_TIMEOUT\|Height\|_WORKQUEUE\|_THREADS\|_CONNECTIONS\|LIMIT\|SigOp\|Bytes\|_VERSION\|_AGE\|_CHECKS\|Checks() ? 1 : 0\|_BANTIME\|Cache\|BLOCKS\|LEVEL\|Weight\|Version\|BUFFER\|TARGET\|WEIGHT\|TXN\|TRANSACTIONS\|ADJUSTMENT\|i64\|Size\|nDefault\|_EXPIRY\|HEIGHT\|SIZE\|SNDHWM\|_TIME_MS\)\))/GetIntArg(\1)/g'
-END VERIFY SCRIPT-
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
2021-09-27 06:57:20 -04:00
..
2020-12-10 07:15:42 +01:00
2021-09-21 10:09:56 +02:00
2021-03-16 19:52:37 +01:00
2021-09-07 13:31:10 +01:00
2021-03-15 10:41:30 +08:00
2021-08-21 19:25:33 +02:00
2021-06-18 23:13:07 +00:00
2021-03-15 17:26:35 -07:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-08-20 15:45:15 +02:00
2021-02-22 10:27:22 +01:00
2021-03-15 10:41:30 +08:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-07-20 15:36:23 +02:00
2021-08-27 10:55:41 +01:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-08-21 19:25:33 +02:00
2021-03-03 12:23:41 +02:00
2020-12-31 09:45:41 +01:00
2021-03-11 13:45:14 +08:00
2021-09-06 12:41:36 +02:00
2021-03-11 13:45:14 +08:00
2021-05-18 07:13:25 +02:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-06-07 13:41:14 +02:00
2021-05-21 19:41:43 +00:00
2021-08-21 19:25:33 +02:00
2021-03-09 12:56:44 +01:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-05-24 10:29:58 +02:00
2021-09-07 10:44:48 +02:00
2021-07-04 21:30:50 +02:00
2021-03-11 13:45:14 +08:00
2021-08-04 19:20:32 +08:00
2021-06-13 09:43:54 +02:00
2020-12-10 07:15:42 +01:00
2021-02-22 10:27:22 +01:00
2020-12-10 07:15:42 +01:00
2021-02-22 10:27:22 +01:00
2021-07-27 14:53:24 +03:00
2021-05-12 16:13:30 +02:00
2021-09-07 15:24:14 +01:00
2021-06-04 16:12:04 +02:00
2021-03-16 19:52:31 +01:00
2021-06-14 13:58:05 +02:00
2021-05-25 08:20:43 -07:00
2020-12-31 09:45:41 +01:00
2021-05-09 10:04:01 +02:00
2021-08-04 19:48:24 +08:00
2020-12-31 09:45:41 +01:00
2021-03-11 13:45:14 +08:00
2021-03-03 09:17:37 +01:00
2021-03-03 09:17:37 +01:00
2021-03-24 06:57:55 +01:00
2021-08-21 19:25:33 +02:00
2020-12-10 07:15:42 +01:00
2021-07-19 19:12:54 +02:00
2021-04-22 17:28:39 +03:00
2020-12-10 07:15:42 +01:00
2021-04-09 13:17:37 +02:00
2020-12-10 07:15:42 +01:00
2020-12-15 19:00:36 +01:00
2021-08-21 19:25:33 +02:00
2021-05-11 21:24:49 +02:00
2021-05-04 09:24:17 +02:00
2020-12-10 07:15:42 +01:00
2021-03-17 14:56:20 +08:00
2021-04-25 10:36:00 +02:00
2020-12-10 07:15:42 +01:00
2021-05-12 10:20:59 +02:00
2020-12-15 19:00:36 +01:00
2021-07-01 12:57:53 -04:00
2021-07-04 21:30:50 +02:00
2021-02-22 10:27:22 +01:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-03-30 10:42:45 +02:00
2021-03-03 09:17:37 +01:00
2021-03-16 19:52:37 +01:00
2020-12-10 07:15:42 +01:00
2020-12-31 09:45:41 +01:00
2021-08-04 19:20:32 +08:00
2021-05-09 10:25:21 +02:00
2021-09-27 06:57:20 -04:00
2021-05-11 08:54:24 +02:00
2021-03-04 08:39:27 +01:00
2021-05-20 17:26:24 +02:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-08-21 19:25:33 +02:00
2020-12-10 07:15:42 +01:00
2021-07-14 18:45:53 +05:30
2021-07-14 18:45:53 +05:30
2021-09-20 12:16:20 +02:00
2021-06-10 15:04:39 -04:00
2021-09-07 10:44:43 +02:00