diff options
| author | MarcoFalke <[email protected]> | 2019-12-27 09:38:56 -0800 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-02-09 05:12:43 -0800 |
| commit | fad027fb0ce019f31b20861c37e802d4e29e6931 (patch) | |
| tree | e3902c7e91ae84ae187a454a14fdba0b6929fe3f /src/httpserver.cpp | |
| parent | Merge #18032: rpc: Output a descriptor in createmultisig and addmultisigaddress (diff) | |
| download | discoin-fad027fb0ce019f31b20861c37e802d4e29e6931.tar.xz discoin-fad027fb0ce019f31b20861c37e802d4e29e6931.zip | |
scripted-diff: Add missing spaces in RPCResult, Fix type names
This makes the rendered diff smaller when the RPCResult is machine
generated later on
-BEGIN VERIFY SCRIPT-
# Add space after dictionary key and before colon
sed -i --regexp-extended -e 's/(^ +" +\\"[a-zA-Z_]+\\"): ?/\1 : /g' $(git grep -l '\\":')
# Rename (array) to (json array)
sed -i -e 's/ (array) / (json array) /g' $(git grep -l '(array)' ./src)
# Rename (object) to (json object)
sed -i -e 's/ (object) / (json object) /g' $(git grep -l '(object)' ./src)
# Rename (bool) to (boolean)
sed -i -e 's/ (bool) / (boolean) /g' $(git grep -l '(bool)' ./src)
# Rename (int) to (numeric)
sed -i -e 's/ (int) / (numeric) /g' $(git grep -l '(int)' ./src)
-END VERIFY SCRIPT-
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions