bitcoin/src/zmq
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
..
zmqabstractnotifier.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
zmqabstractnotifier.h scripted-diff: remove MakeUnique<T>() 2021-03-11 13:45:14 +08:00
zmqnotificationinterface.cpp scripted-diff: Rename overloaded int GetArg to GetIntArg 2021-09-27 06:57:20 -04:00
zmqnotificationinterface.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
zmqpublishnotifier.cpp zmq: Enable IPv6 on listening socket 2021-06-20 16:56:07 +02:00
zmqpublishnotifier.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
zmqrpc.cpp rpc: Remove duplicate name and argNames from CRPCCommand 2021-01-28 08:19:52 +01:00
zmqrpc.h RPC: Add new getzmqnotifications method. 2018-07-05 08:02:22 +02:00
zmqutil.cpp zmq: use msg: prefix over errno= in zmqError 2021-06-09 19:25:13 +08:00
zmqutil.h zmq: use std::string in zmqError() 2021-06-09 19:25:07 +08:00