aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2015-07-27 16:35:30 +0100
committerRoss Nicoll <[email protected]>2019-03-25 05:36:11 +0000
commit148a2aca05fe98031bcf857fa186d792c507090c (patch)
tree11c7fd275ea0a61250e747b81f0b2c372c77a3dd /src/rpc/rawtransaction.cpp
parentDrop use of smart fees (diff)
downloaddiscoin-148a2aca05fe98031bcf857fa186d792c507090c.tar.xz
discoin-148a2aca05fe98031bcf857fa186d792c507090c.zip
Introduce basic Dogecoin branding
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r--src/rpc/rawtransaction.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index 994057e20..0c3817729 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -176,7 +176,7 @@ UniValue getrawtransaction(const JSONRPCRequest& request)
" \"reqSigs\" : n, (numeric) The required sigs\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n"
" \"addresses\" : [ (json array of string)\n"
- " \"address\" (string) bitcoin address\n"
+ " \"address\" (string) dogecoin address\n"
" ,...\n"
" ]\n"
" }\n"
@@ -373,7 +373,7 @@ UniValue createrawtransaction(const JSONRPCRequest& request)
" ]\n"
"2. \"outputs\" (object, required) a json object with outputs\n"
" {\n"
- " \"address\": x.xxx, (numeric or string, required) The key is the bitcoin address, the numeric value (can be string) is the " + CURRENCY_UNIT + " amount\n"
+ " \"address\": x.xxx, (numeric or string, required) The key is the dogecoin address, the numeric value (can be string) is the " + CURRENCY_UNIT + " amount\n"
" \"data\": \"hex\" (string, required) The key is \"data\", the value is hex encoded data\n"
" ,...\n"
" }\n"
@@ -446,7 +446,7 @@ UniValue createrawtransaction(const JSONRPCRequest& request)
} else {
CBitcoinAddress address(name_);
if (!address.IsValid())
- throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid Bitcoin address: ")+name_);
+ throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid Dogecoin address: ")+name_);
if (setAddress.count(address))
throw JSONRPCError(RPC_INVALID_PARAMETER, string("Invalid parameter, duplicated address: ")+name_);
@@ -504,7 +504,7 @@ UniValue decoderawtransaction(const JSONRPCRequest& request)
" \"reqSigs\" : n, (numeric) The required sigs\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n"
" \"addresses\" : [ (json array of string)\n"
- " \"12tvKAXCxZjSmdNbao16dKXC8tRWfcF5oc\" (string) bitcoin address\n"
+ " \"D731rRTrFydjJdZCKNzfB5go229p59GUGD\" (string) dogecoin address\n"
" ,...\n"
" ]\n"
" }\n"
@@ -547,7 +547,7 @@ UniValue decodescript(const JSONRPCRequest& request)
" \"type\":\"type\", (string) The output type\n"
" \"reqSigs\": n, (numeric) The required signatures\n"
" \"addresses\": [ (json array of string)\n"
- " \"address\" (string) bitcoin address\n"
+ " \"address\" (string) dogecoin address\n"
" ,...\n"
" ],\n"
" \"p2sh\",\"address\" (string) address of P2SH script wrapping this redeem script (not returned if the script is already a P2SH).\n"