aboutsummaryrefslogtreecommitdiffstats
path: root/site/public/block-docs
diff options
context:
space:
mode:
authorYigit Sever2021-04-16 15:30:59 +0300
committerYigit Sever2021-04-16 15:30:59 +0300
commit0f67c6c79325078ad71f666915c065d15d417814 (patch)
treefc6c453e11cc5a599d98e61abc2fb9abfe078b17 /site/public/block-docs
parenta59cfa83f5a45564548ce553a524c448f818f4e3 (diff)
downloadgradecoin-0f67c6c79325078ad71f666915c065d15d417814.tar.gz
gradecoin-0f67c6c79325078ad71f666915c065d15d417814.tar.bz2
gradecoin-0f67c6c79325078ad71f666915c065d15d417814.zip
Improve register documentation
Diffstat (limited to 'site/public/block-docs')
-rw-r--r--site/public/block-docs/index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/site/public/block-docs/index.html b/site/public/block-docs/index.html
index de4d4e2..3c5ed1d 100644
--- a/site/public/block-docs/index.html
+++ b/site/public/block-docs/index.html
@@ -27,6 +27,7 @@
27 <link rel="stylesheet" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;juice.css"> 27 <link rel="stylesheet" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;juice.css">
28 28
29<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" /> 29<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
30<link rel="stylesheet" href="/site.css" />
30 31
31</head> 32</head>
32 33
@@ -91,6 +92,11 @@
91 </div> 92 </div>
92 93
93 94
95 <div class="toc-item">
96 <a class="subtext" href="https://gradecoin.xyz/block-docs/#hash">Hash</a>
97 </div>
98
99
94 </div> 100 </div>
95 </div> 101 </div>
96 102
@@ -114,7 +120,8 @@ hash (24 bytes).</p>
114nonce: unsigned 32-bit integer 120nonce: unsigned 32-bit integer
115timestamp: ISO 8601 &lt;date&gt;T&lt;time&gt; 121timestamp: ISO 8601 &lt;date&gt;T&lt;time&gt;
116hash: String 122hash: String
117</span></code></pre> 123</span></code></pre><h1 id="hash">Hash</h1>
124<p><code>tha</code> field in <a href="/jwt">jwt documentation</a> in fact stands for &quot;The Hash&quot;, in the case of a post request for a block, you need to use hash field of the block. </p>
118<p><a href="https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations">ISO 8601 Reference</a></p> 125<p><a href="https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations">ISO 8601 Reference</a></p>
119 126
120 127