bitcoin/src/script
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
..
bitcoinconsensus.cpp Make all SignatureChecker explicit about missing data 2021-03-15 17:29:39 -07:00
bitcoinconsensus.h build: test for __declspec(dllexport) in configure 2021-02-12 09:04:16 +08:00
descriptor.cpp Consolidate XOnlyPubKey lookup hack 2021-08-23 21:38:34 -04:00
descriptor.h Pass in DescriptorCache to ToNormalizedString 2021-06-24 14:08:45 -04:00
interpreter.cpp Avoid temporary vectors/uint256s in VerifyTaprootCommitment 2021-08-20 14:30:59 -04:00
interpreter.h Improve comments in taproot signing logic 2021-08-20 14:29:23 -04:00
keyorigin.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
script.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
script.h Add LIFETIMEBOUND to CScript where needed 2021-09-03 13:42:03 +02:00
script_error.cpp Implement Tapscript script validation rules (BIP 342) 2020-10-12 17:18:24 -07:00
script_error.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
sigcache.cpp scripted-diff: Rename overloaded int GetArg to GetIntArg 2021-09-27 06:57:20 -04:00
sigcache.h Make all SignatureChecker explicit about missing data 2021-03-15 17:29:39 -07:00
sign.cpp Consolidate XOnlyPubKey lookup hack 2021-08-23 21:38:34 -04:00
sign.h Remove default nHashTypeIn arguments to MutableTransactionSignatureCreator 2021-08-20 14:29:23 -04:00
signingprovider.cpp Add TaprootSpendData data structure, equivalent to script map for P2[W]SH 2021-06-12 12:25:28 -07:00
signingprovider.h Consolidate XOnlyPubKey lookup hack 2021-08-23 21:38:34 -04:00
standard.cpp Assert that IsComplete() in GetSpendData() 2021-08-20 14:29:23 -04:00
standard.h Improve comments in taproot signing logic 2021-08-20 14:29:23 -04:00