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
..
2021-09-27 06:57:20 -04:00
2021-09-10 11:18:58 +08:00
2021-08-02 23:48:32 +10:00
2021-06-23 09:46:38 -07:00
2021-08-20 16:59:41 +02:00
2021-08-17 03:05:15 -05:00
2021-09-25 23:50:06 +12:00
2021-06-10 09:58:45 -05:00
2021-09-07 19:19:31 +02:00
2021-09-27 06:57:20 -04:00
2021-09-20 13:34:48 +01:00
2021-09-27 06:57:20 -04:00
2021-09-27 06:57:20 -04:00
2021-09-27 06:57:20 -04:00
2021-07-14 14:43:45 -07:00
2021-09-27 06:57:20 -04:00
2021-09-27 06:57:20 -04:00
2021-09-27 06:57:20 -04:00
2021-09-27 06:57:20 -04:00
2021-09-07 09:11:10 +02:00
2021-09-27 06:57:20 -04:00
2021-09-09 09:20:43 +02:00
2021-09-21 10:09:45 +02:00
2021-09-21 10:07:48 +02:00
2021-07-30 11:21:51 +02:00
2021-07-30 11:21:51 +02:00
2021-08-17 16:54:47 +08:00
2021-09-27 06:57:20 -04:00
2021-08-17 16:54:47 +08:00
2021-09-02 13:19:42 +08:00
2021-08-17 16:54:47 +08:00
2021-06-18 20:10:07 +02:00
2021-08-17 16:54:47 +08:00
2021-06-18 20:09:23 +02:00
2021-08-17 16:54:47 +08:00
2021-06-10 09:58:45 -05:00
2021-09-15 15:46:44 -04:00
2021-09-16 18:53:04 +02:00
2021-07-09 11:19:36 +02:00
2021-09-16 18:53:04 +02:00
2021-07-30 11:03:44 +02:00
2021-08-16 16:04:47 +08:00
2021-08-16 16:04:47 +08:00
2021-06-17 09:47:08 -04:00
2021-06-17 09:47:08 -04:00
2021-05-04 06:53:32 +02:00
2021-06-12 12:38:17 -07:00
2021-05-04 06:53:37 +02:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00
2021-08-02 23:48:32 +10:00
2021-07-01 20:20:52 +02:00
2021-09-16 08:47:38 +08:00
2021-06-16 10:48:58 +02:00
2021-06-16 10:48:58 +02:00
2021-08-27 08:31:45 +02:00
2021-07-05 08:59:38 +03:00
2021-04-23 11:35:15 -07:00
2021-09-02 13:17:46 +08:00
2021-09-27 06:57:20 -04:00
2021-07-09 11:19:37 +02:00
2021-09-27 06:57:20 -04:00
2021-07-12 21:46:59 +08:00
2021-05-24 12:14:16 -07:00
2021-08-30 12:02:04 -04:00
2021-09-16 21:16:39 +09:00
2021-08-18 19:57:15 +02:00
2021-08-18 19:57:15 +02:00
2021-09-10 11:18:58 +08:00
2021-07-08 12:28:23 +02:00
2021-07-05 08:59:38 +03:00
2021-08-17 03:05:15 -05:00
2021-08-17 03:05:15 -05:00
2021-09-15 15:46:48 -04:00
2021-09-21 10:09:56 +02:00
2021-04-29 18:39:01 +03:00
2021-09-27 06:57:20 -04:00
2021-05-27 13:50:11 -04:00
2021-05-19 19:41:05 +02:00
2021-07-15 12:52:38 -07:00
2021-09-27 06:57:20 -04:00
2021-08-04 16:37:12 +02:00
2021-09-03 05:21:58 -04:00
2021-09-03 05:21:58 -04:00
2021-09-27 06:57:20 -04:00
2021-09-10 14:04:16 +08:00
2021-09-07 13:31:10 +01:00
2021-09-07 13:31:10 +01:00
2021-09-11 10:47:02 +03:00
2021-08-04 19:20:32 +08:00
2021-08-04 19:20:32 +08:00
2021-05-13 12:42:21 +01:00
2021-08-23 18:53:34 +02:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-09-02 10:41:16 +08:00
2021-08-23 21:38:34 -04:00
2021-05-04 06:55:31 +02:00
2021-07-05 08:59:38 +03:00
2021-05-14 12:49:16 +02:00
2021-05-31 14:56:17 +02:00
2021-09-07 09:11:10 +02:00
2021-05-05 20:19:03 +02:00
2021-09-06 23:43:51 +02:00
2021-09-06 23:43:51 +02:00
2021-09-27 06:57:20 -04:00
2021-07-05 08:59:38 +03:00
2021-06-27 19:27:25 +02:00
2021-09-27 06:57:20 -04:00
2021-08-20 16:59:41 +02:00
2021-09-21 16:04:27 +02:00
2021-09-21 16:04:27 +02:00
2021-07-20 13:12:42 +01:00
2021-05-24 12:14:16 -07:00
2021-09-27 06:57:20 -04:00
2021-09-23 22:22:07 +02:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00