diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/validateaddress.md b/_includes/devdoc/dash-core/rpcs/rpcs/validateaddress.md
index 69ec5e02..35b8ce6d 100644
--- a/_includes/devdoc/dash-core/rpcs/rpcs/validateaddress.md
+++ b/_includes/devdoc/dash-core/rpcs/rpcs/validateaddress.md
@@ -6,8 +6,8 @@ http://opensource.org/licenses/MIT.
##### ValidateAddress
{% include helpers/subhead-links.md %}
-
-{% assign summary_validateAddress="returns information about the given Bitcoin address." %}
+
+{% assign summary_validateAddress="returns information about the given Dash address." %}
{% autocrossref %}
@@ -39,13 +39,13 @@ The `validateaddress` RPC {{summary_validateAddress}}
- n: "→
`address`"
t: "string (base58)"
p: "Optional
(0 or 1)"
- d: "The bitcoin address given as parameter"
+ d: "The Dash address given as parameter"
- n: "→
`scriptPubKey`"
t: "string (hex)"
p: "Optional
(0 or 1)"
d: "The hex encoded scriptPubKey generated by the address"
-
+
- n: "→
`ismine`"
t: "bool"
p: "Optional
(0 or 1)"
@@ -81,7 +81,7 @@ The `validateaddress` RPC {{summary_validateAddress}}
p: "Optional
(0 or more)"
d: "A P2PKH address"
-- n: "→
`sigrequired`"
+- n: "→
`sigsrequired`"
t: "number (int)"
p: "Optional
(0 or 1)"
d: "Only returned for multisig P2SH addresses belonging to the wallet. The number of signatures required by this script"
@@ -105,62 +105,63 @@ The `validateaddress` RPC {{summary_validateAddress}}
t: "string"
p: "Optional
(0 or 1)"
d: "*Added in Bitcoin Core 0.13.0*
The HD keypath if the key is HD and available"
-
+
- n: "→
`hdmasterkeyid`"
t: "string (hash160)"
p: "Optional
(0 or 1)"
d: "*Added in Bitcoin Core 0.13.0*
The Hash160 of the HD master public key"
-
+
{% enditemplate %}
-*Example from Bitcoin Core 0.13.1*
+*Example from Dash Core 0.12.2*
Validate the following P2PKH address from the wallet:
{% highlight bash %}
-bitcoin-cli validateaddress 17fshh33qUze2yifiJ2sXgijSMzJ2KNEwu
+dash-cli validateaddress yNpezfFDfoikDuT1f4iK75AiLp2YLPsGAb
{% endhighlight %}
Result:
{% highlight json %}
{
- "isvalid": true,
- "address": "17fshh33qUze2yifiJ2sXgijSMzJ2KNEwu",
- "scriptPubKey": "76a914492ae280d70af33acf0ae7cd329b961e65e9cbd888ac",
- "ismine": true,
- "iswatchonly": false,
- "isscript": false,
- "pubkey": "0312eeb9ae5f14c3cf43cece11134af860c2ef7d775060e3a578ceec888acada31",
- "iscompressed": true,
- "account": "Test"
+ "isvalid": true,
+ "address": "yNpezfFDfoikDuT1f4iK75AiLp2YLPsGAb",
+ "scriptPubKey": "76a9141b767409bd8717b56cfcb00747811432ab1aa8a788ac",
+ "ismine": true,
+ "iswatchonly": false,
+ "isscript": false,
+ "pubkey": "02eacba539d92eb88d4e73bb32749d79f53f6e8d7947ac40a71bd4b26c13b6ec29",
+ "iscompressed": true,
+ "account": "Test"
}
{% endhighlight %}
Validate the following P2SH multisig address from the wallet:
{% highlight bash %}
-bitcoin-cli -testnet validateaddress 2MyVxxgNBk5zHRPRY2iVjGRJHYZEp1pMCSq
+dash-cli -testnet validateaddress 8uJLxDxk2gEMbidF5vT8XLS2UCgQmVcroW
{% endhighlight %}
Result:
{% highlight json %}
{
- "isvalid" : true,
- "address" : "2MyVxxgNBk5zHRPRY2iVjGRJHYZEp1pMCSq",
- "ismine" : true,
- "iswatchonly" : false,
- "isscript" : true,
- "script" : "multisig",
- "hex" : "522103ede722780d27b05f0b1169efc90fa15a601a32fc6c3295114500c586831b6aaf2102ecd2d250a76d204011de6bc365a56033b9b3a149f679bc17205555d3c2b2854f21022d609d2f0d359e5bc0e5d0ea20ff9f5d3396cb5b1906aa9c56a0e7b5edc0c5d553ae",
- "addresses" : [
- "mjbLRSidW1MY8oubvs4SMEnHNFXxCcoehQ",
- "mo1vzGwCzWqteip29vGWWW6MsEBREuzW94",
- "mt17cV37fBqZsnMmrHnGCm9pM28R1kQdMG"
- ],
- "sigsrequired" : 2,
- "account" : "test account"
+ "isvalid": true,
+ "address": "8uJLxDxk2gEMbidF5vT8XLS2UCgQmVcroW",
+ "scriptPubKey": "a914a33155e490d146e656a9bac2cbee9c625ef42f0a87",
+ "ismine": true,
+ "iswatchonly": false,
+ "isscript": true,
+ "script": "multisig",
+ "hex": "522102eacba539d92eb88d4e73bb32749d79f53f6e8d7947ac40a71bd4b26c13b6ec29210311f97539724e0de38fb1ff79f5148e5202459d06ed07193ab18c730274fd0d882103251f25a5c0291446d801ba6df122f67a7dd06c60a9b332b7b29cc94f3b8f57d053ae",
+ "addresses": [
+ "yNpezfFDfoikDuT1f4iK75AiLp2YLPsGAb",
+ "yWAk1cDVvsRdPYjnzcFkySJux75yaCE7xz",
+ "yVJj7TB3ZhMcSP2wo65ZFNqy23BQH9tT87"
+ ],
+ "sigsrequired": 2,
+ "account": "test account"
}
{% endhighlight %}
diff --git a/_includes/helpers/summaries.md b/_includes/helpers/summaries.md
index fb1b5e49..c5f202c5 100644
--- a/_includes/helpers/summaries.md
+++ b/_includes/helpers/summaries.md
@@ -128,7 +128,7 @@ This file is licensed under the terms of its source texts{%endcomment%}
{% assign summary_spork-rpc="reads or updates spork settings on the network." %}
{% assign summary_stop="safely shuts down the Dash Core server." %}
{% assign summary_submitBlock="accepts a block, verifies it is a valid addition to the block chain, and broadcasts it to the network. Extra parameters are ignored by Dash Core but may be used by mining pools or other programs." %}
-{% assign summary_validateAddress="returns information about the given Bitcoin address." %}
+{% assign summary_validateAddress="returns information about the given Dash address." %}
{% assign summary_verifyChain="verifies each entry in the local block chain database." %}
{% assign summary_verifyMessage="verifies a signed message." %}
{% assign summary_verifyTxOutProof="verifies that a proof points to one or more transactions in a block, returning the transactions the proof commits to and throwing an RPC error if the block is not in our best block chain." %}