Add more explanation on HashBlockParams in docs
Thanks @LilleJohs - closes #42
This commit is contained in:
parent
efd115bf7f
commit
94335d93f1
11 changed files with 60 additions and 50 deletions
|
|
@ -1055,7 +1055,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">KNano<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "KNano"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L39">conversion.ts:39</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L39">conversion.ts:39</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1070,7 +1070,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">MNano<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "MNano"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L41">conversion.ts:41</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L41">conversion.ts:41</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1085,7 +1085,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">NANO<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "NANO"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L37">conversion.ts:37</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L37">conversion.ts:37</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1100,7 +1100,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">Nano<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "Nano"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L35">conversion.ts:35</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L35">conversion.ts:35</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1115,7 +1115,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">hex<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "hex"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L27">conversion.ts:27</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L27">conversion.ts:27</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1130,7 +1130,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">knano<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "knano"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L33">conversion.ts:33</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L33">conversion.ts:33</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1145,7 +1145,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">nano<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "nano"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L31">conversion.ts:31</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L31">conversion.ts:31</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1160,7 +1160,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">raw<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "raw"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L29">conversion.ts:29</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L29">conversion.ts:29</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1055,7 +1055,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L94">check.ts:94</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L94">check.ts:94</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1089,7 +1089,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L40">check.ts:40</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L40">check.ts:40</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1122,7 +1122,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L68">check.ts:68</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L68">check.ts:68</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1155,7 +1155,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L81">check.ts:81</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L81">check.ts:81</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1189,7 +1189,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L56">check.ts:56</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L56">check.ts:56</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1222,7 +1222,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L120">check.ts:120</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L120">check.ts:120</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1255,7 +1255,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/check.ts#L108">check.ts:108</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/check.ts#L108">check.ts:108</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1288,7 +1288,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/accelerated.ts#L55">accelerated.ts:55</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/accelerated.ts#L55">accelerated.ts:55</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1327,7 +1327,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L59">conversion.ts:59</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L59">conversion.ts:59</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1365,7 +1365,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/block.ts#L36">block.ts:36</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/block.ts#L36">block.ts:36</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1405,7 +1405,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/keys.ts#L98">keys.ts:98</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/keys.ts#L98">keys.ts:98</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1443,7 +1443,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/keys.ts#L66">keys.ts:66</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/keys.ts#L66">keys.ts:66</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1475,7 +1475,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/keys.ts#L40">keys.ts:40</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/keys.ts#L40">keys.ts:40</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1513,7 +1513,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/keys.ts#L19">keys.ts:19</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/keys.ts#L19">keys.ts:19</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1536,7 +1536,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/hash.ts#L39">hash.ts:39</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/hash.ts#L47">hash.ts:47</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1568,7 +1568,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L26">signature.ts:26</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L26">signature.ts:26</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1600,7 +1600,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/work.ts#L29">work.ts:29</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/work.ts#L29">work.ts:29</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1632,7 +1632,7 @@ img { max-width: 100%; }
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L54">signature.ts:54</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L54">signature.ts:54</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1051,7 +1051,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">balance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/block.ts#L24">block.ts:24</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/block.ts#L24">block.ts:24</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1066,7 +1066,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">link<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/block.ts#L26">block.ts:26</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/block.ts#L26">block.ts:26</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1081,7 +1081,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">previous<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/block.ts#L20">block.ts:20</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/block.ts#L20">block.ts:20</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1096,7 +1096,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">representative<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/block.ts#L22">block.ts:22</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/block.ts#L22">block.ts:22</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1111,7 +1111,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">work<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/block.ts#L18">block.ts:18</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/block.ts#L18">block.ts:18</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1039,7 +1039,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">worker<wbr>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/accelerated.ts#L44">accelerated.ts:44</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/accelerated.ts#L44">accelerated.ts:44</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1054,7 +1054,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">worker<wbr>Index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/accelerated.ts#L42">accelerated.ts:42</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/accelerated.ts#L42">accelerated.ts:42</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1039,7 +1039,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">from<span class="tsd-signature-symbol">:</span> <a href="../enums/unit.html" class="tsd-signature-type">Unit</a></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L47">conversion.ts:47</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L47">conversion.ts:47</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1054,7 +1054,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">to<span class="tsd-signature-symbol">:</span> <a href="../enums/unit.html" class="tsd-signature-type">Unit</a></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/conversion.ts#L49">conversion.ts:49</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/conversion.ts#L49">conversion.ts:49</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1035,7 +1035,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">use<wbr>Nano<wbr>Prefix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/keys.ts#L88">keys.ts:88</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/keys.ts#L88">keys.ts:88</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1051,7 +1051,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">account<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/hash.ts#L22">hash.ts:22</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/hash.ts#L22">hash.ts:22</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1066,7 +1066,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">balance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/hash.ts#L28">hash.ts:28</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/hash.ts#L32">hash.ts:32</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1081,13 +1081,14 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">link<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/hash.ts#L30">hash.ts:30</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/hash.ts#L38">hash.ts:38</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>The account or block hash meant as a link, in address or hexadecimal format</p>
|
||||
</div>
|
||||
<p>Read more on the <a href="https://github.com/nanocurrency/raiblocks/wiki/Universal-Blocks-Specification">Official Nano Wiki</a></p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
|
||||
|
|
@ -1096,13 +1097,14 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">previous<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/hash.ts#L24">hash.ts:24</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/hash.ts#L28">hash.ts:28</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>The hash of the previous block on the account chain, in hexadecimal format</p>
|
||||
</div>
|
||||
<p><code>0000000000000000000000000000000000000000000000000000000000000000</code> if <code>open</code> block.</p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
|
||||
|
|
@ -1111,7 +1113,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">representative<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/hash.ts#L26">hash.ts:26</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/hash.ts#L30">hash.ts:30</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1039,7 +1039,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">hash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L15">signature.ts:15</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L15">signature.ts:15</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1054,7 +1054,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">secret<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L17">signature.ts:17</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L17">signature.ts:17</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1039,7 +1039,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">block<wbr>Hash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/work.ts#L18">work.ts:18</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/work.ts#L18">work.ts:18</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1054,7 +1054,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">work<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/work.ts#L20">work.ts:20</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/work.ts#L20">work.ts:20</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
|
|
@ -1043,7 +1043,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">hash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L41">signature.ts:41</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L41">signature.ts:41</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1058,7 +1058,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">public<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L45">signature.ts:45</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L45">signature.ts:45</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
@ -1073,7 +1073,7 @@ img { max-width: 100%; }
|
|||
<div class="tsd-signature tsd-kind-icon">signature<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/db8ffcd/src/signature.ts#L43">signature.ts:43</a></li>
|
||||
<li>Defined in <a href="https://github.com/marvinroger/nanocurrency-js/blob/efd115b/src/signature.ts#L43">signature.ts:43</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
|
|
|||
12
src/hash.ts
12
src/hash.ts
|
|
@ -20,13 +20,21 @@ STATE_BLOCK_PREAMBLE_BYTES[31] = 6;
|
|||
export interface HashBlockParams {
|
||||
/** The account address */
|
||||
account: string;
|
||||
/** The hash of the previous block on the account chain, in hexadecimal format */
|
||||
/**
|
||||
* The hash of the previous block on the account chain, in hexadecimal format
|
||||
*
|
||||
* `0000000000000000000000000000000000000000000000000000000000000000` if `open` block.
|
||||
*/
|
||||
previous: string;
|
||||
/** The destination address */
|
||||
representative: string;
|
||||
/** The resulting balance, in raw */
|
||||
balance: string;
|
||||
/** The account or block hash meant as a link, in address or hexadecimal format */
|
||||
/**
|
||||
* The account or block hash meant as a link, in address or hexadecimal format
|
||||
*
|
||||
* Read more on the [Official Nano Wiki](https://github.com/nanocurrency/raiblocks/wiki/Universal-Blocks-Specification)
|
||||
*/
|
||||
link: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue