diff options
author | Yigit Sever | 2021-04-16 15:30:59 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-16 15:30:59 +0300 |
commit | 20609a19fdb7fb1a81db77233858cf229b57465c (patch) | |
tree | 7a02e1109f83bad6ad1c400c27b4dd682b884d81 /site/public/block-docs/index.html | |
parent | d7296597158f46fcaff0094f2b28e8bad9752909 (diff) | |
download | gradecoin-20609a19fdb7fb1a81db77233858cf229b57465c.tar.gz gradecoin-20609a19fdb7fb1a81db77233858cf229b57465c.tar.bz2 gradecoin-20609a19fdb7fb1a81db77233858cf229b57465c.zip |
Improve register documentation
Diffstat (limited to 'site/public/block-docs/index.html')
-rw-r--r-- | site/public/block-docs/index.html | 9 |
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://gradecoin.xyz/juice.css"> | 27 | <link rel="stylesheet" href="https://gradecoin.xyz/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> | |||
114 | nonce: unsigned 32-bit integer | 120 | nonce: unsigned 32-bit integer |
115 | timestamp: ISO 8601 <date>T<time> | 121 | timestamp: ISO 8601 <date>T<time> |
116 | hash: String | 122 | hash: 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 "The Hash", 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 | ||