generate for 4.6.0

This commit is contained in:
Charlie O'Keefe 2022-01-03 21:54:19 +00:00
parent 087e143755
commit 026b0b829b
5 changed files with 17 additions and 6 deletions

View File

@ -44,6 +44,11 @@ To obtain information about founder's reward or funding stream
amounts, use 'getblocksubsidy HEIGHT' passing in the height returned
by this API.
The roots returned in 'defaultroots' are only valid if the block template is
used unmodified. If any part of the block template marked as 'mutable' in the
output is mutated, these roots may need to be recomputed. For more information
on the derivation process, see ZIP 244.
Arguments:
1. "jsonrequestobject" (string, optional) A json object in the following spec
{
@ -60,9 +65,15 @@ Result:
{
"version" : n, (numeric) The block version
"previousblockhash" : "xxxx", (string) The hash of current highest block
"blockcommitmentshash" : "xxxx", (string) The hash of the block commitments field in the block header
"blockcommitmentshash" : "xxxx", (string) (DEPRECATED) The hash of the block commitments field in the block header
"lightclientroothash" : "xxxx", (string) (DEPRECATED) The hash of the light client root field in the block header
"finalsaplingroothash" : "xxxx", (string) (DEPRECATED) The hash of the light client root field in the block header
"defaultroots" : { (json object) root hashes that need to be recomputed if the transaction set is modified
"merkleroot" : "xxxx" (string) The hash of the transactions in the block header
"authdataroot" : "xxxx" (string) The hash of the authorizing data merkel tree
"chainhistoryroot" : "xxxx" (string) The hash of the chain history
"blockcommitmentshash" : "xxxx" (string) The hash of the block commitments field in the block header
}
"transactions" : [ (array) contents of non-coinbase transactions that should be included in the next block
{
"data" : "xxxx", (string) transaction data encoded in hexadecimal (byte-for-byte)

View File

@ -40,8 +40,8 @@ Returns a json object containing mining-related information.
Result:
{
"blocks": nnn, (numeric) The current block
"currentblocksize": nnn, (numeric) The last block size
"currentblocktx": nnn, (numeric) The last block transaction
"currentblocksize": nnn, (numeric, optional) The block size of the last assembled block (only present if a block was ever assembled)
"currentblocktx": nnn, (numeric, optional) The number of block non-coinbase transactions of the last assembled block (only present if a block was ever assembled)
"difficulty": xxx.xxxxx (numeric) The current difficulty
"errors": "..." (string) Current errors
"generate": true|false (boolean) If the generation is on or off (see getgenerate or setgenerate calls)

View File

@ -25,7 +25,7 @@
<nav class="navbar navbar-dark bg-dark ">
<a class="navbar-brand" href="/">Zcash 4.5.1-1 RPC docs</a>
<a class="navbar-brand" href="/">Zcash 4.4.0 RPC docs</a>
</nav>
<main role="main" class="container-fluid" style="margin-top: 1pc;">

View File

@ -64,7 +64,7 @@ Result
&#34;spendable&#34; : true|false, (boolean) true if note can be spent by wallet, false if address is watchonly
&#34;address&#34; : &#34;address&#34;, (string) the shielded address
&#34;amount&#34;: xxxxx, (numeric) the amount of value in the note
&#34;memo&#34;: xxxxx, (string) hexademical string representation of memo field
&#34;memo&#34;: xxxxx, (string) hexadecimal string representation of memo field
&#34;change&#34;: true|false, (boolean) true if the address that received the note is also one of the sending addresses
}
,...

View File

@ -70,7 +70,7 @@ Result:
&#34;outgoing&#34; : true|false (boolean, sapling) True if the output is not for an address in the wallet
&#34;value&#34; : x.xxx (numeric) The amount in ZEC
&#34;valueZat&#34; : xxxx (numeric) The amount in zatoshis
&#34;memo&#34; : &#34;hexmemo&#34;, (string) Hexademical string representation of the memo field
&#34;memo&#34; : &#34;hexmemo&#34;, (string) hexadecimal string representation of the memo field
&#34;memoStr&#34; : &#34;memo&#34;, (string) Only returned if memo contains valid UTF-8 text.
}
,...