Skip to content

Commit

Permalink
generate for 4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
charlieok committed Jan 3, 2022
1 parent 087e143 commit 026b0b8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
13 changes: 12 additions & 1 deletion getblocktemplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ <h1>getblocktemplate - Zcash 4.5.1-1 RPC</h1>
amounts, use &#39;getblocksubsidy HEIGHT&#39; passing in the height returned
by this API.

The roots returned in &#39;defaultroots&#39; are only valid if the block template is
used unmodified. If any part of the block template marked as &#39;mutable&#39; in the
output is mutated, these roots may need to be recomputed. For more information
on the derivation process, see ZIP 244.

Arguments:
1. &#34;jsonrequestobject&#34; (string, optional) A json object in the following spec
{
Expand All @@ -60,9 +65,15 @@ <h1>getblocktemplate - Zcash 4.5.1-1 RPC</h1>
{
&#34;version&#34; : n, (numeric) The block version
&#34;previousblockhash&#34; : &#34;xxxx&#34;, (string) The hash of current highest block
&#34;blockcommitmentshash&#34; : &#34;xxxx&#34;, (string) The hash of the block commitments field in the block header
&#34;blockcommitmentshash&#34; : &#34;xxxx&#34;, (string) (DEPRECATED) The hash of the block commitments field in the block header
&#34;lightclientroothash&#34; : &#34;xxxx&#34;, (string) (DEPRECATED) The hash of the light client root field in the block header
&#34;finalsaplingroothash&#34; : &#34;xxxx&#34;, (string) (DEPRECATED) The hash of the light client root field in the block header
&#34;defaultroots&#34; : { (json object) root hashes that need to be recomputed if the transaction set is modified
&#34;merkleroot&#34; : &#34;xxxx&#34; (string) The hash of the transactions in the block header
&#34;authdataroot&#34; : &#34;xxxx&#34; (string) The hash of the authorizing data merkel tree
&#34;chainhistoryroot&#34; : &#34;xxxx&#34; (string) The hash of the chain history
&#34;blockcommitmentshash&#34; : &#34;xxxx&#34; (string) The hash of the block commitments field in the block header
}
&#34;transactions&#34; : [ (array) contents of non-coinbase transactions that should be included in the next block
{
&#34;data&#34; : &#34;xxxx&#34;, (string) transaction data encoded in hexadecimal (byte-for-byte)
Expand Down
4 changes: 2 additions & 2 deletions getmininginfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ <h1>getmininginfo - Zcash 4.5.1-1 RPC</h1>
Result:
{
&#34;blocks&#34;: nnn, (numeric) The current block
&#34;currentblocksize&#34;: nnn, (numeric) The last block size
&#34;currentblocktx&#34;: nnn, (numeric) The last block transaction
&#34;currentblocksize&#34;: nnn, (numeric, optional) The block size of the last assembled block (only present if a block was ever assembled)
&#34;currentblocktx&#34;: nnn, (numeric, optional) The number of block non-coinbase transactions of the last assembled block (only present if a block was ever assembled)
&#34;difficulty&#34;: xxx.xxxxx (numeric) The current difficulty
&#34;errors&#34;: &#34;...&#34; (string) Current errors
&#34;generate&#34;: true|false (boolean) If the generation is on or off (see getgenerate or setgenerate calls)
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;">
Expand Down
2 changes: 1 addition & 1 deletion z_listunspent.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1>z_listunspent - Zcash 4.5.1-1 RPC</h1>
&#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
}
,...
Expand Down
2 changes: 1 addition & 1 deletion z_viewtransaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h1>z_viewtransaction - Zcash 4.5.1-1 RPC</h1>
&#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.
}
,...
Expand Down

0 comments on commit 026b0b8

Please sign in to comment.