opnet 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/browser/_version.d.ts +1 -1
  2. package/browser/contracts/ContractData.d.ts +5 -3
  3. package/browser/contracts/interfaces/IRawContract.d.ts +5 -3
  4. package/browser/index.js +1 -1
  5. package/browser/index.js.LICENSE.txt +2 -0
  6. package/browser/interfaces/opnet/OPNetTransactionTypes.d.ts +4 -1
  7. package/browser/opnet.d.ts +11 -6
  8. package/browser/providers/AbstractRpcProvider.d.ts +1 -1
  9. package/browser/scripts/testMethodsReg.d.ts +1 -0
  10. package/browser/transactions/Transaction.d.ts +4 -3
  11. package/browser/transactions/decoders/DeploymentTransaction.d.ts +17 -0
  12. package/browser/transactions/decoders/GenericTransaction.d.ts +6 -0
  13. package/browser/transactions/decoders/InteractionTransaction.d.ts +15 -0
  14. package/browser/transactions/decoders/WrapTransaction.d.ts +15 -0
  15. package/browser/transactions/interfaces/ITransaction.d.ts +8 -27
  16. package/browser/transactions/interfaces/transactions/ICommonTransaction.d.ts +7 -0
  17. package/browser/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +13 -0
  18. package/browser/transactions/interfaces/transactions/IInteractionTransaction.d.ts +14 -0
  19. package/browser/transactions/interfaces/transactions/IWrapTransaction.d.ts +10 -0
  20. package/browser/transactions/metadata/TransactionInput.d.ts +16 -0
  21. package/browser/transactions/metadata/TransactionOutput.d.ts +19 -0
  22. package/browser/transactions/metadata/TransactionReceipt.d.ts +11 -0
  23. package/build/_version.d.ts +1 -1
  24. package/build/_version.js +1 -1
  25. package/build/contracts/ContractData.d.ts +5 -3
  26. package/build/contracts/ContractData.js +2 -0
  27. package/build/contracts/interfaces/IRawContract.d.ts +5 -3
  28. package/build/interfaces/opnet/OPNetTransactionTypes.d.ts +4 -1
  29. package/build/interfaces/opnet/OPNetTransactionTypes.js +2 -0
  30. package/build/opnet.d.ts +11 -6
  31. package/build/opnet.js +11 -6
  32. package/build/providers/AbstractRpcProvider.d.ts +1 -1
  33. package/build/providers/AbstractRpcProvider.js +1 -1
  34. package/build/scripts/testMethods.js +1 -1
  35. package/build/scripts/testMethodsReg.d.ts +1 -0
  36. package/build/scripts/testMethodsReg.js +10 -0
  37. package/build/transactions/Transaction.d.ts +4 -3
  38. package/build/transactions/Transaction.js +5 -3
  39. package/build/transactions/TransactionParser.js +8 -4
  40. package/build/transactions/decoders/DeploymentTransaction.d.ts +17 -0
  41. package/build/transactions/decoders/DeploymentTransaction.js +26 -0
  42. package/build/transactions/decoders/GenericTransaction.d.ts +6 -0
  43. package/build/transactions/decoders/GenericTransaction.js +6 -0
  44. package/build/transactions/decoders/InteractionTransaction.d.ts +15 -0
  45. package/build/transactions/decoders/InteractionTransaction.js +21 -0
  46. package/build/transactions/decoders/WrapInteractionTransaction.d.ts +15 -0
  47. package/build/transactions/decoders/WrapInteractionTransaction.js +21 -0
  48. package/build/transactions/decoders/WrapTransaction.d.ts +15 -0
  49. package/build/transactions/decoders/WrapTransaction.js +30 -0
  50. package/build/transactions/interfaces/ITransaction.d.ts +8 -27
  51. package/build/transactions/interfaces/IWrapTransaction.d.ts +3 -0
  52. package/build/transactions/interfaces/IWrapTransaction.js +1 -0
  53. package/build/transactions/interfaces/transactions/ICommonTransaction.d.ts +7 -0
  54. package/build/transactions/interfaces/transactions/ICommonTransaction.js +1 -0
  55. package/build/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +13 -0
  56. package/build/transactions/interfaces/transactions/IDeploymentTransaction.js +1 -0
  57. package/build/transactions/interfaces/transactions/IInteractionTransaction.d.ts +14 -0
  58. package/build/transactions/interfaces/transactions/IInteractionTransaction.js +1 -0
  59. package/build/transactions/interfaces/transactions/IWrapTransaction.d.ts +10 -0
  60. package/build/transactions/interfaces/transactions/IWrapTransaction.js +1 -0
  61. package/build/transactions/metadata/TransactionInput.d.ts +16 -0
  62. package/build/transactions/metadata/TransactionInput.js +14 -0
  63. package/build/transactions/metadata/TransactionOutput.d.ts +19 -0
  64. package/build/transactions/metadata/TransactionOutput.js +16 -0
  65. package/build/transactions/metadata/TransactionReceipt.d.ts +11 -0
  66. package/build/transactions/metadata/TransactionReceipt.js +53 -0
  67. package/build/transactions/types/DeploymentTransaction.d.ts +16 -0
  68. package/build/transactions/types/DeploymentTransaction.js +24 -0
  69. package/build/transactions/types/GenericTransaction.d.ts +6 -0
  70. package/build/transactions/types/GenericTransaction.js +6 -0
  71. package/build/transactions/types/InteractionTransaction.d.ts +15 -0
  72. package/build/transactions/types/InteractionTransaction.js +21 -0
  73. package/cjs/_version.d.ts +1 -1
  74. package/cjs/_version.js +1 -1
  75. package/cjs/block/interfaces/BlockWitness.d.ts +11 -0
  76. package/cjs/block/interfaces/BlockWitness.js +2 -0
  77. package/cjs/contracts/Contract.d.ts +3 -1
  78. package/cjs/contracts/Contract.js +18 -12
  79. package/cjs/contracts/interfaces/IContract.d.ts +3 -1
  80. package/cjs/generator/WrappedGenerationParameters.d.ts +9 -0
  81. package/cjs/generator/WrappedGenerationParameters.js +18 -0
  82. package/cjs/opnet.d.ts +6 -1
  83. package/cjs/opnet.js +6 -1
  84. package/cjs/providers/AbstractRpcProvider.d.ts +8 -0
  85. package/cjs/providers/AbstractRpcProvider.js +63 -0
  86. package/cjs/providers/interfaces/Generate.d.ts +19 -0
  87. package/cjs/providers/interfaces/Generate.js +7 -0
  88. package/cjs/providers/interfaces/ReorgInformation.d.ts +5 -0
  89. package/cjs/providers/interfaces/ReorgInformation.js +2 -0
  90. package/cjs/scripts/ITestContract.d.ts +2 -2
  91. package/cjs/scripts/ITestContract.js +2 -2
  92. package/cjs/scripts/testContract.js +1 -1
  93. package/cjs/scripts/testMethods.js +8 -15
  94. package/cjs/transactions/TransactionReceipt.d.ts +3 -3
  95. package/cjs/transactions/TransactionReceipt.js +35 -16
  96. package/cjs/transactions/interfaces/BroadcastedTransaction.d.ts +7 -0
  97. package/cjs/transactions/interfaces/BroadcastedTransaction.js +2 -0
  98. package/cjs/transactions/interfaces/ITransaction.d.ts +2 -3
  99. package/cjs/transactions/interfaces/ITransactionReceipt.d.ts +9 -1
  100. package/docs/assets/navigation.js +1 -1
  101. package/docs/assets/search.js +1 -1
  102. package/docs/classes/AbstractRpcProvider.html +18 -18
  103. package/docs/classes/BaseContract.html +7 -7
  104. package/docs/classes/BitcoinAddress.html +2 -2
  105. package/docs/classes/BitcoinInterface.html +2 -2
  106. package/docs/classes/BitcoinUtils.html +2 -2
  107. package/docs/classes/Block.html +3 -3
  108. package/docs/classes/CallResult.html +2 -2
  109. package/docs/classes/ContractData.html +3 -2
  110. package/docs/classes/DeploymentTransaction.html +26 -22
  111. package/docs/classes/GenericTransaction.html +15 -13
  112. package/docs/classes/IBaseContract.html +7 -7
  113. package/docs/classes/InteractionTransaction.html +22 -20
  114. package/docs/classes/JSONRpcProvider.html +17 -17
  115. package/docs/classes/OPNetEvent.html +2 -2
  116. package/docs/classes/StoredValue.html +2 -2
  117. package/docs/classes/TransactionBase.html +15 -13
  118. package/docs/classes/TransactionInput.html +2 -2
  119. package/docs/classes/TransactionOutput.html +2 -2
  120. package/docs/classes/TransactionParser.html +2 -2
  121. package/docs/classes/TransactionReceipt.html +7 -7
  122. package/docs/classes/UTXO.html +2 -2
  123. package/docs/classes/WebSocketRpcProvider.html +17 -17
  124. package/docs/classes/WrapTransaction.html +229 -0
  125. package/docs/classes/WrappedGeneration.html +7 -7
  126. package/docs/enums/BitcoinAbiTypes.html +2 -2
  127. package/docs/enums/GenerateTarget.html +2 -2
  128. package/docs/enums/OPNetTransactionTypes.html +4 -2
  129. package/docs/functions/getContract.html +1 -1
  130. package/docs/hierarchy.html +1 -1
  131. package/docs/interfaces/BaseContractProperties.html +2 -2
  132. package/docs/interfaces/BitcoinAbiValue.html +3 -3
  133. package/docs/interfaces/BitcoinInterfaceAbiBase.html +2 -2
  134. package/docs/interfaces/BroadcastedTransaction.html +6 -6
  135. package/docs/interfaces/ContractEvents.html +1 -1
  136. package/docs/interfaces/EventBaseData.html +2 -2
  137. package/docs/interfaces/FunctionBaseData.html +2 -2
  138. package/docs/interfaces/GenerationConstraints.html +7 -7
  139. package/docs/interfaces/IAccessList.html +1 -1
  140. package/docs/interfaces/IAccessListItem.html +1 -1
  141. package/docs/interfaces/IBlock.html +3 -3
  142. package/docs/interfaces/IBlockCommon.html +3 -3
  143. package/docs/interfaces/IBlockWitness.html +2 -2
  144. package/docs/interfaces/IBlockWitnessAPI.html +2 -2
  145. package/docs/interfaces/ICallRequestError.html +2 -2
  146. package/docs/interfaces/ICallResultData.html +2 -2
  147. package/docs/interfaces/ICommonTransaction.html +17 -15
  148. package/docs/interfaces/IContract.html +2 -2
  149. package/docs/interfaces/IDecodedEvent.html +2 -2
  150. package/docs/interfaces/IDeploymentTransaction.html +26 -22
  151. package/docs/interfaces/IGenericTransaction.html +14 -12
  152. package/docs/interfaces/IInteractionTransaction.html +22 -20
  153. package/docs/interfaces/IRawContract.html +3 -2
  154. package/docs/interfaces/IRawContractEvents.html +1 -1
  155. package/docs/interfaces/IStorageValue.html +2 -2
  156. package/docs/interfaces/ITransactionBase.html +14 -12
  157. package/docs/interfaces/ITransactionInput.html +2 -2
  158. package/docs/interfaces/ITransactionOutput.html +2 -2
  159. package/docs/interfaces/ITransactionReceipt.html +5 -5
  160. package/docs/interfaces/IUTXO.html +2 -2
  161. package/docs/interfaces/IWrapTransaction.html +228 -0
  162. package/docs/interfaces/NetEventDocument.html +5 -5
  163. package/docs/interfaces/ReorgInformation.html +2 -2
  164. package/docs/interfaces/WrappedGenerationParameters.html +6 -6
  165. package/docs/modules.html +3 -0
  166. package/docs/types/BaseContractProperty.html +1 -1
  167. package/docs/types/BitcoinAddressLike.html +1 -1
  168. package/docs/types/BitcoinInterfaceAbi.html +1 -1
  169. package/docs/types/BlockHeaderChecksumProof.html +1 -1
  170. package/docs/types/BlockWitnesses.html +1 -1
  171. package/docs/types/ContractDecodedObjectResult.html +1 -1
  172. package/docs/types/DecodedCallResult.html +1 -1
  173. package/docs/types/DecodedOutput.html +1 -1
  174. package/docs/types/GenerationParameters.html +1 -1
  175. package/docs/types/ICallResult.html +1 -1
  176. package/docs/types/ITransaction.html +2 -2
  177. package/docs/types/InteractionType.html +174 -0
  178. package/docs/types/PointerLike.html +1 -1
  179. package/docs/types/RawContractEvents.html +1 -1
  180. package/docs/types/UTXOs.html +1 -1
  181. package/docs/variables/version.html +1 -1
  182. package/package.json +6 -5
  183. package/src/_version.ts +1 -1
  184. package/src/contracts/ContractData.ts +11 -3
  185. package/src/contracts/interfaces/IRawContract.ts +7 -3
  186. package/src/interfaces/opnet/OPNetTransactionTypes.ts +7 -0
  187. package/src/opnet.ts +13 -6
  188. package/src/providers/AbstractRpcProvider.ts +1 -1
  189. package/src/scripts/testMethods.ts +54 -54
  190. package/src/scripts/testMethodsReg.ts +20 -0
  191. package/src/transactions/Transaction.ts +10 -3
  192. package/src/transactions/TransactionParser.ts +13 -10
  193. package/src/transactions/{DeploymentTransaction.ts → decoders/DeploymentTransaction.ts} +6 -3
  194. package/src/transactions/{GenericTransaction.ts → decoders/GenericTransaction.ts} +3 -3
  195. package/src/transactions/{InteractionTransaction.ts → decoders/InteractionTransaction.ts} +4 -4
  196. package/src/transactions/decoders/WrapTransaction.ts +69 -0
  197. package/src/transactions/interfaces/ITransaction.ts +16 -107
  198. package/src/transactions/interfaces/transactions/ICommonTransaction.ts +19 -0
  199. package/src/transactions/interfaces/transactions/IDeploymentTransaction.ts +50 -0
  200. package/src/transactions/interfaces/transactions/IInteractionTransaction.ts +50 -0
  201. package/src/transactions/interfaces/transactions/IWrapTransaction.ts +43 -0
  202. package/src/transactions/{TransactionReceipt.ts → metadata/TransactionReceipt.ts} +1 -1
  203. package/tsconfig.webpack.json +8 -0
  204. /package/src/transactions/{TransactionInput.ts → metadata/TransactionInput.ts} +0 -0
  205. /package/src/transactions/{TransactionOutput.ts → metadata/TransactionOutput.ts} +0 -0
@@ -158,7 +158,7 @@
158
158
  }
159
159
  </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="IAccessListItem.html">IAccessListItem</a></li></ul><h1>Interface IAccessListItem</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><h4>Description</h4><p>This interface represents an access list item.
160
160
  IAccessListItem</p>
161
- </div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">IAccessListItem</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel"><h4 class="tsd-before-signature">Indexable</h4><div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/contracts/interfaces/IAccessList.ts#L6">src/contracts/interfaces/IAccessList.ts:6</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
161
+ </div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">IAccessListItem</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel"><h4 class="tsd-before-signature">Indexable</h4><div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/contracts/interfaces/IAccessList.ts#L6">src/contracts/interfaces/IAccessList.ts:6</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
162
162
  try {
163
163
  const generateLinkElement = document.querySelector(".tsd-generator a");
164
164
  const link = document.createElement("a");
@@ -158,7 +158,7 @@
158
158
  }
159
159
  </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="IBlock.html">IBlock</a></li></ul><h1>Interface IBlock</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><h4>Description</h4><p>This interface is used to define the properties of a block.</p>
160
160
  <h4>Cathegory</h4><p>Raw</p>
161
- </div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">IBlock</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#bits">bits</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#checksumProofs">checksumProofs</a><span class="tsd-signature-symbol">: </span><a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#checksumRoot">checksumRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#hash">hash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#height">height</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BigNumberish</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#medianTime">medianTime</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#merkleRoot">merkleRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#nonce">nonce</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#previousBlockChecksum">previousBlockChecksum</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#previousBlockHash">previousBlockHash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#receiptRoot">receiptRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#size">size</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#storageRoot">storageRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#strippedSize">strippedSize</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#time">time</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#transactions">transactions</a><span class="tsd-signature-symbol">?: </span><a href="../types/ITransaction.html" class="tsd-signature-type tsd-kind-type-alias">ITransaction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><a href="../classes/TransactionBase.html" class="tsd-signature-type tsd-kind-class">TransactionBase</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/OPNetTransactionTypes.html" class="tsd-signature-type tsd-kind-enum">OPNetTransactionTypes</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#txCount">txCount</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#version">version</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#weight">weight</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#IBlock">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="IBlockCommon.html" class="tsd-signature-type tsd-kind-interface">IBlockCommon</a><ul class="tsd-hierarchy"><li><span class="target">IBlock</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implemented by</h4><ul class="tsd-hierarchy"><li><a href="../classes/Block.html" class="tsd-signature-type tsd-kind-class">Block</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L44">src/block/interfaces/IBlock.ts:44</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="IBlock.html#bits" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a>
161
+ </div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">IBlock</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#bits">bits</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#checksumProofs">checksumProofs</a><span class="tsd-signature-symbol">: </span><a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#checksumRoot">checksumRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#hash">hash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#height">height</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BigNumberish</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#medianTime">medianTime</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#merkleRoot">merkleRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#nonce">nonce</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#previousBlockChecksum">previousBlockChecksum</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#previousBlockHash">previousBlockHash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#receiptRoot">receiptRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#size">size</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#storageRoot">storageRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#strippedSize">strippedSize</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#time">time</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#transactions">transactions</a><span class="tsd-signature-symbol">?: </span><a href="../types/ITransaction.html" class="tsd-signature-type tsd-kind-type-alias">ITransaction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><a href="../classes/TransactionBase.html" class="tsd-signature-type tsd-kind-class">TransactionBase</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/OPNetTransactionTypes.html" class="tsd-signature-type tsd-kind-enum">OPNetTransactionTypes</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#txCount">txCount</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#version">version</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlock.html#weight">weight</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#IBlock">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="IBlockCommon.html" class="tsd-signature-type tsd-kind-interface">IBlockCommon</a><ul class="tsd-hierarchy"><li><span class="target">IBlock</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implemented by</h4><ul class="tsd-hierarchy"><li><a href="../classes/Block.html" class="tsd-signature-type tsd-kind-class">Block</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L44">src/block/interfaces/IBlock.ts:44</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="IBlock.html#bits" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a>
162
162
  <a href="IBlock.html#checksumProofs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Proofs</span></a>
163
163
  <a href="IBlock.html#checksumRoot" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Root</span></a>
164
164
  <a href="IBlock.html#hash" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a>
@@ -177,8 +177,8 @@
177
177
  <a href="IBlock.html#txCount" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tx<wbr/>Count</span></a>
178
178
  <a href="IBlock.html#version" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a>
179
179
  <a href="IBlock.html#weight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>weight</span></a>
180
- </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="bits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bits</span><a href="#bits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bits</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#bits">bits</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L19">src/block/interfaces/IBlock.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="checksumProofs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Proofs</span><a href="#checksumProofs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Proofs</span><span class="tsd-signature-symbol">:</span> <a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#checksumProofs">checksumProofs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L37">src/block/interfaces/IBlock.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="checksumRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Root</span><a href="#checksumRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Allows us to verify that the block is correct and not regenerated.</p>
181
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#checksumRoot">checksumRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L32">src/block/interfaces/IBlock.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hash</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#hash">hash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L14">src/block/interfaces/IBlock.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="height" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigNumberish</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#height">height</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L13">src/block/interfaces/IBlock.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="medianTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>median<wbr/>Time</span><a href="#medianTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">median<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#medianTime">medianTime</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L29">src/block/interfaces/IBlock.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="merkleRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>merkle<wbr/>Root</span><a href="#merkleRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">merkle<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#merkleRoot">merkleRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L33">src/block/interfaces/IBlock.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="nonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>nonce</span><a href="#nonce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">nonce</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#nonce">nonce</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L20">src/block/interfaces/IBlock.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="previousBlockChecksum" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Checksum</span><a href="#previousBlockChecksum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Checksum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#previousBlockChecksum">previousBlockChecksum</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L17">src/block/interfaces/IBlock.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="previousBlockHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Hash</span><a href="#previousBlockHash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Hash</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#previousBlockHash">previousBlockHash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L16">src/block/interfaces/IBlock.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="receiptRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>receipt<wbr/>Root</span><a href="#receiptRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">receipt<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#receiptRoot">receiptRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L35">src/block/interfaces/IBlock.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#size">size</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L22">src/block/interfaces/IBlock.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="storageRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>storage<wbr/>Root</span><a href="#storageRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">storage<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#storageRoot">storageRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L34">src/block/interfaces/IBlock.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="strippedSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stripped<wbr/>Size</span><a href="#strippedSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stripped<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#strippedSize">strippedSize</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L26">src/block/interfaces/IBlock.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="time" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>time</span><a href="#time" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#time">time</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L28">src/block/interfaces/IBlock.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="transactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>transactions</span><a href="#transactions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">transactions</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ITransaction.html" class="tsd-signature-type tsd-kind-type-alias">ITransaction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><a href="../classes/TransactionBase.html" class="tsd-signature-type tsd-kind-class">TransactionBase</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/OPNetTransactionTypes.html" class="tsd-signature-type tsd-kind-enum">OPNetTransactionTypes</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L45">src/block/interfaces/IBlock.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="txCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tx<wbr/>Count</span><a href="#txCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tx<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#txCount">txCount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L23">src/block/interfaces/IBlock.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#version">version</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L21">src/block/interfaces/IBlock.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="weight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">weight</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#weight">weight</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L25">src/block/interfaces/IBlock.ts:25</a></li></ul></aside></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#bits" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a><a href="#checksumProofs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Proofs</span></a><a href="#checksumRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Root</span></a><a href="#hash" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a><a href="#height" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a><a href="#medianTime" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>median<wbr/>Time</span></a><a href="#merkleRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>merkle<wbr/>Root</span></a><a href="#nonce" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nonce</span></a><a href="#previousBlockChecksum" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Checksum</span></a><a href="#previousBlockHash" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Hash</span></a><a href="#receiptRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt<wbr/>Root</span></a><a href="#size" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>size</span></a><a href="#storageRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>storage<wbr/>Root</span></a><a href="#strippedSize" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stripped<wbr/>Size</span></a><a href="#time" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time</span></a><a href="#transactions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transactions</span></a><a href="#txCount" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tx<wbr/>Count</span></a><a href="#version" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a><a href="#weight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>weight</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
180
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="bits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bits</span><a href="#bits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bits</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#bits">bits</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L19">src/block/interfaces/IBlock.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="checksumProofs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Proofs</span><a href="#checksumProofs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Proofs</span><span class="tsd-signature-symbol">:</span> <a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#checksumProofs">checksumProofs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L37">src/block/interfaces/IBlock.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="checksumRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Root</span><a href="#checksumRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Allows us to verify that the block is correct and not regenerated.</p>
181
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#checksumRoot">checksumRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L32">src/block/interfaces/IBlock.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hash</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#hash">hash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L14">src/block/interfaces/IBlock.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="height" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigNumberish</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#height">height</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L13">src/block/interfaces/IBlock.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="medianTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>median<wbr/>Time</span><a href="#medianTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">median<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#medianTime">medianTime</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L29">src/block/interfaces/IBlock.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="merkleRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>merkle<wbr/>Root</span><a href="#merkleRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">merkle<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#merkleRoot">merkleRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L33">src/block/interfaces/IBlock.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="nonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>nonce</span><a href="#nonce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">nonce</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#nonce">nonce</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L20">src/block/interfaces/IBlock.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="previousBlockChecksum" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Checksum</span><a href="#previousBlockChecksum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Checksum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#previousBlockChecksum">previousBlockChecksum</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L17">src/block/interfaces/IBlock.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="previousBlockHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Hash</span><a href="#previousBlockHash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Hash</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#previousBlockHash">previousBlockHash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L16">src/block/interfaces/IBlock.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="receiptRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>receipt<wbr/>Root</span><a href="#receiptRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">receipt<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#receiptRoot">receiptRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L35">src/block/interfaces/IBlock.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#size">size</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L22">src/block/interfaces/IBlock.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="storageRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>storage<wbr/>Root</span><a href="#storageRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">storage<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#storageRoot">storageRoot</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L34">src/block/interfaces/IBlock.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="strippedSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stripped<wbr/>Size</span><a href="#strippedSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stripped<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#strippedSize">strippedSize</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L26">src/block/interfaces/IBlock.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="time" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>time</span><a href="#time" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#time">time</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L28">src/block/interfaces/IBlock.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="transactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>transactions</span><a href="#transactions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">transactions</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ITransaction.html" class="tsd-signature-type tsd-kind-type-alias">ITransaction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><a href="../classes/TransactionBase.html" class="tsd-signature-type tsd-kind-class">TransactionBase</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/OPNetTransactionTypes.html" class="tsd-signature-type tsd-kind-enum">OPNetTransactionTypes</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L45">src/block/interfaces/IBlock.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="txCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tx<wbr/>Count</span><a href="#txCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tx<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#txCount">txCount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L23">src/block/interfaces/IBlock.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#version">version</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L21">src/block/interfaces/IBlock.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="weight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">weight</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="IBlockCommon.html">IBlockCommon</a>.<a href="IBlockCommon.html#weight">weight</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L25">src/block/interfaces/IBlock.ts:25</a></li></ul></aside></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#bits" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a><a href="#checksumProofs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Proofs</span></a><a href="#checksumRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Root</span></a><a href="#hash" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a><a href="#height" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a><a href="#medianTime" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>median<wbr/>Time</span></a><a href="#merkleRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>merkle<wbr/>Root</span></a><a href="#nonce" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nonce</span></a><a href="#previousBlockChecksum" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Checksum</span></a><a href="#previousBlockHash" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Hash</span></a><a href="#receiptRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt<wbr/>Root</span></a><a href="#size" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>size</span></a><a href="#storageRoot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>storage<wbr/>Root</span></a><a href="#strippedSize" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stripped<wbr/>Size</span></a><a href="#time" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time</span></a><a href="#transactions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transactions</span></a><a href="#txCount" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tx<wbr/>Count</span></a><a href="#version" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a><a href="#weight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>weight</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
182
182
  try {
183
183
  const generateLinkElement = document.querySelector(".tsd-generator a");
184
184
  const link = document.createElement("a");
@@ -158,7 +158,7 @@
158
158
  }
159
159
  </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="IBlockCommon.html">IBlockCommon</a></li></ul><h1>Interface IBlockCommon</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><h4>Description</h4><p>This interface is used to define the common properties of a block.</p>
160
160
  <h4>Cathegory</h4><p>Raw</p>
161
- </div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">IBlockCommon</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#bits">bits</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#checksumProofs">checksumProofs</a><span class="tsd-signature-symbol">: </span><a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#checksumRoot">checksumRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#hash">hash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#height">height</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BigNumberish</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#medianTime">medianTime</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#merkleRoot">merkleRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#nonce">nonce</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#previousBlockChecksum">previousBlockChecksum</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#previousBlockHash">previousBlockHash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#receiptRoot">receiptRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#size">size</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#storageRoot">storageRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#strippedSize">strippedSize</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#time">time</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#txCount">txCount</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#version">version</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#weight">weight</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#IBlockCommon">view full</a>)</h4><ul class="tsd-hierarchy"><li><span class="target">IBlockCommon</span><ul class="tsd-hierarchy"><li><a href="IBlock.html" class="tsd-signature-type tsd-kind-interface">IBlock</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L12">src/block/interfaces/IBlock.ts:12</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="IBlockCommon.html#bits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a>
161
+ </div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">IBlockCommon</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#bits">bits</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#checksumProofs">checksumProofs</a><span class="tsd-signature-symbol">: </span><a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#checksumRoot">checksumRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#hash">hash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#height">height</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BigNumberish</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#medianTime">medianTime</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#merkleRoot">merkleRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#nonce">nonce</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#previousBlockChecksum">previousBlockChecksum</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#previousBlockHash">previousBlockHash</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#receiptRoot">receiptRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#size">size</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#storageRoot">storageRoot</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#strippedSize">strippedSize</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#time">time</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#txCount">txCount</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#version">version</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="IBlockCommon.html#weight">weight</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#IBlockCommon">view full</a>)</h4><ul class="tsd-hierarchy"><li><span class="target">IBlockCommon</span><ul class="tsd-hierarchy"><li><a href="IBlock.html" class="tsd-signature-type tsd-kind-interface">IBlock</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L12">src/block/interfaces/IBlock.ts:12</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="IBlockCommon.html#bits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a>
162
162
  <a href="IBlockCommon.html#checksumProofs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Proofs</span></a>
163
163
  <a href="IBlockCommon.html#checksumRoot" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Root</span></a>
164
164
  <a href="IBlockCommon.html#hash" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a>
@@ -176,8 +176,8 @@
176
176
  <a href="IBlockCommon.html#txCount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tx<wbr/>Count</span></a>
177
177
  <a href="IBlockCommon.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a>
178
178
  <a href="IBlockCommon.html#weight" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>weight</span></a>
179
- </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="bits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bits</span><a href="#bits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bits</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L19">src/block/interfaces/IBlock.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="checksumProofs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Proofs</span><a href="#checksumProofs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Proofs</span><span class="tsd-signature-symbol">:</span> <a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L37">src/block/interfaces/IBlock.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="checksumRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Root</span><a href="#checksumRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Allows us to verify that the block is correct and not regenerated.</p>
180
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L32">src/block/interfaces/IBlock.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hash</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L14">src/block/interfaces/IBlock.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="height" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigNumberish</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L13">src/block/interfaces/IBlock.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="medianTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>median<wbr/>Time</span><a href="#medianTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">median<wbr/>Time</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L29">src/block/interfaces/IBlock.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="merkleRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>merkle<wbr/>Root</span><a href="#merkleRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">merkle<wbr/>Root</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L33">src/block/interfaces/IBlock.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="nonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>nonce</span><a href="#nonce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">nonce</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L20">src/block/interfaces/IBlock.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="previousBlockChecksum" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Checksum</span><a href="#previousBlockChecksum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Checksum</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L17">src/block/interfaces/IBlock.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="previousBlockHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Hash</span><a href="#previousBlockHash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Hash</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L16">src/block/interfaces/IBlock.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="receiptRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>receipt<wbr/>Root</span><a href="#receiptRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">receipt<wbr/>Root</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L35">src/block/interfaces/IBlock.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">size</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L22">src/block/interfaces/IBlock.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="storageRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>storage<wbr/>Root</span><a href="#storageRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">storage<wbr/>Root</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L34">src/block/interfaces/IBlock.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="strippedSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stripped<wbr/>Size</span><a href="#strippedSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stripped<wbr/>Size</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L26">src/block/interfaces/IBlock.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="time" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>time</span><a href="#time" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L28">src/block/interfaces/IBlock.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="txCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tx<wbr/>Count</span><a href="#txCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tx<wbr/>Count</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L23">src/block/interfaces/IBlock.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">version</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L21">src/block/interfaces/IBlock.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="weight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">weight</span><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/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/block/interfaces/IBlock.ts#L25">src/block/interfaces/IBlock.ts:25</a></li></ul></aside></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#bits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a><a href="#checksumProofs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Proofs</span></a><a href="#checksumRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Root</span></a><a href="#hash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a><a href="#height" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a><a href="#medianTime" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>median<wbr/>Time</span></a><a href="#merkleRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>merkle<wbr/>Root</span></a><a href="#nonce" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nonce</span></a><a href="#previousBlockChecksum" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Checksum</span></a><a href="#previousBlockHash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Hash</span></a><a href="#receiptRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt<wbr/>Root</span></a><a href="#size" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>size</span></a><a href="#storageRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>storage<wbr/>Root</span></a><a href="#strippedSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stripped<wbr/>Size</span></a><a href="#time" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time</span></a><a href="#txCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tx<wbr/>Count</span></a><a href="#version" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a><a href="#weight" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>weight</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
179
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="bits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bits</span><a href="#bits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bits</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L19">src/block/interfaces/IBlock.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="checksumProofs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Proofs</span><a href="#checksumProofs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Proofs</span><span class="tsd-signature-symbol">:</span> <a href="../types/BlockHeaderChecksumProof.html" class="tsd-signature-type tsd-kind-type-alias">BlockHeaderChecksumProof</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L37">src/block/interfaces/IBlock.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="checksumRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>checksum<wbr/>Root</span><a href="#checksumRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">checksum<wbr/>Root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Allows us to verify that the block is correct and not regenerated.</p>
180
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L32">src/block/interfaces/IBlock.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hash</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L14">src/block/interfaces/IBlock.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="height" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigNumberish</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L13">src/block/interfaces/IBlock.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="medianTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>median<wbr/>Time</span><a href="#medianTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">median<wbr/>Time</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L29">src/block/interfaces/IBlock.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="merkleRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>merkle<wbr/>Root</span><a href="#merkleRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">merkle<wbr/>Root</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L33">src/block/interfaces/IBlock.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="nonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>nonce</span><a href="#nonce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">nonce</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L20">src/block/interfaces/IBlock.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="previousBlockChecksum" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Checksum</span><a href="#previousBlockChecksum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Checksum</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L17">src/block/interfaces/IBlock.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="previousBlockHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>previous<wbr/>Block<wbr/>Hash</span><a href="#previousBlockHash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous<wbr/>Block<wbr/>Hash</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L16">src/block/interfaces/IBlock.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="receiptRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>receipt<wbr/>Root</span><a href="#receiptRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">receipt<wbr/>Root</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L35">src/block/interfaces/IBlock.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">size</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L22">src/block/interfaces/IBlock.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="storageRoot" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>storage<wbr/>Root</span><a href="#storageRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">storage<wbr/>Root</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L34">src/block/interfaces/IBlock.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="strippedSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stripped<wbr/>Size</span><a href="#strippedSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stripped<wbr/>Size</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L26">src/block/interfaces/IBlock.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="time" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>time</span><a href="#time" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L28">src/block/interfaces/IBlock.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="txCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tx<wbr/>Count</span><a href="#txCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tx<wbr/>Count</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L23">src/block/interfaces/IBlock.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">version</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L21">src/block/interfaces/IBlock.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="weight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">weight</span><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/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/block/interfaces/IBlock.ts#L25">src/block/interfaces/IBlock.ts:25</a></li></ul></aside></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#bits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a><a href="#checksumProofs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Proofs</span></a><a href="#checksumRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>checksum<wbr/>Root</span></a><a href="#hash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a><a href="#height" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a><a href="#medianTime" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>median<wbr/>Time</span></a><a href="#merkleRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>merkle<wbr/>Root</span></a><a href="#nonce" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nonce</span></a><a href="#previousBlockChecksum" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Checksum</span></a><a href="#previousBlockHash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous<wbr/>Block<wbr/>Hash</span></a><a href="#receiptRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt<wbr/>Root</span></a><a href="#size" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>size</span></a><a href="#storageRoot" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>storage<wbr/>Root</span></a><a href="#strippedSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stripped<wbr/>Size</span></a><a href="#time" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time</span></a><a href="#txCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tx<wbr/>Count</span></a><a href="#version" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a><a href="#weight" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>weight</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
181
181
  try {
182
182
  const generateLinkElement = document.querySelector(".tsd-generator a");
183
183
  const link = document.createElement("a");