mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Updates based on bitcoin-dot-org changes
- Blockchain guide typo (bitcoin-dot-org/#1920) - GetTxOut correction (bitcoin-dot-org/#1891) - Tx Guide (bitcoin-dot-org/#1819) - Vars.md (bitcoin-dot-org/#1825) - signrawtransaction typo
This commit is contained in:
parent
dc542202f4
commit
61e478a335
5 changed files with 8 additions and 9 deletions
|
@ -50,7 +50,7 @@ The `gettxout` RPC {{summary_getTxOut}}
|
|||
- n: "`result`"
|
||||
t: "object/null"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Information about the output. If output wasn't found or if an error occurred, this will be JSON `null`"
|
||||
d: "Information about the output. If output wasn't found, if it was spent, or if an error occurred, this will be JSON `null`"
|
||||
|
||||
- n: "→<br>`bestblock`"
|
||||
t: "string (hex)"
|
||||
|
|
|
@ -109,11 +109,10 @@ Sign the hex generated in the example section for the `createrawtransaction`
|
|||
RPC:
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet signrawtransaction signrawtransaction 01000000016b4908\
|
||||
86c0198b028c6c5cb145c4eb3b1055a224a7a105aadeff41b69ec91e060100000000ffff\
|
||||
ffff0200205fa0120000001976a914485485425fa99504ec1638ac4213f3cfc9f32ef388\
|
||||
acc0a8f9be010000001976a914811eacc14db8ebb5b64486dc43400c0226b428a488ac00\
|
||||
000000
|
||||
dash-cli -testnet signrawtransaction 01000000016b490886c0198b028c6c5cb14\
|
||||
5c4eb3b1055a224a7a105aadeff41b69ec91e060100000000ffffffff0200205fa012000\
|
||||
0001976a914485485425fa99504ec1638ac4213f3cfc9f32ef388acc0a8f9be010000001\
|
||||
976a914811eacc14db8ebb5b64486dc43400c0226b428a488ac00000000
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
|
|
@ -179,7 +179,7 @@ Eventually a miner produces another block which attaches to only one of
|
|||
the competing simultaneously-mined blocks. This makes that side of
|
||||
the fork stronger than the other side.
|
||||
Assuming a fork only contains valid
|
||||
blocks, normal peers always follow the the most difficult chain
|
||||
blocks, normal peers always follow the most difficult chain
|
||||
to recreate and throw away [stale blocks][/en/glossary/stale-block]{:#term-stale-block}{:.term} belonging to shorter forks.
|
||||
(Stale blocks are also sometimes called orphans or orphan blocks<!--noref-->, but
|
||||
those terms are also used for true orphan blocks without a known parent block.)
|
||||
|
|
|
@ -47,7 +47,7 @@ invalidating previous transactions.
|
|||

|
||||
|
||||
An output has an implied index number based on its location in the
|
||||
transaction---the first output is output zero. The output also has an
|
||||
transaction---the index of the first output is zero. The output also has an
|
||||
amount in duffs which it pays to a conditional pubkey script. Anyone
|
||||
who can satisfy the conditions of that pubkey script can spend up to the
|
||||
amount of duffs paid to it.
|
||||
|
|
|
@ -88,7 +88,7 @@ http://opensource.org/licenses/MIT.
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "A Unix epoch time when the transaction was added to the wallet"
|
||||
|
||||
- n: "{{DEPTH}}<br>`timerecived`"
|
||||
- n: "{{DEPTH}}<br>`timereceived`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "A Unix epoch time when the transaction was detected by the local node, or the time of the block on the local best block chain that included the transaction"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue