Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

464 lines
28KB

  1. <!DOCTYPE html>
  2. <html class="writer-html5" lang="en" >
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>AstroBWT &mdash; DERO Documentation documentation</title>
  7. <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  8. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  9. <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  10. <!--[if lt IE 9]>
  11. <script src="../_static/js/html5shiv.min.js"></script>
  12. <![endif]-->
  13. <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
  14. <script src="../_static/jquery.js"></script>
  15. <script src="../_static/underscore.js"></script>
  16. <script src="../_static/doctools.js"></script>
  17. <script type="text/javascript" src="../_static/js/theme.js"></script>
  18. <link rel="index" title="Index" href="../genindex.html" />
  19. <link rel="search" title="Search" href="../search.html" />
  20. <link rel="next" title="DHEBP (DERO Homomorphic Encryption Blockchain Protocol)" href="dev_DHEBP.html" />
  21. <link rel="prev" title="DERO Virtual Machine" href="stargate_dvm.html" />
  22. </head>
  23. <body class="wy-body-for-nav">
  24. <div class="wy-grid-for-nav">
  25. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  26. <div class="wy-side-scroll">
  27. <div class="wy-side-nav-search" >
  28. <a href="../index.html">
  29. <img src="../_static/docs_logo.png" class="logo" alt="Logo"/>
  30. </a>
  31. <div role="search">
  32. <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
  33. <input type="text" name="q" placeholder="Search docs" />
  34. <input type="hidden" name="check_keywords" value="yes" />
  35. <input type="hidden" name="area" value="default" />
  36. </form>
  37. </div>
  38. </div>
  39. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  40. <p class="caption"><span class="caption-text">Basic's</span></p>
  41. <ul>
  42. <li class="toctree-l1"><a class="reference internal" href="basic_desktopwallet.html">Desktop Wallet User Guide</a><ul>
  43. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#downloading-binaries">Downloading Binaries</a></li>
  44. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#installing-the-desktop-app">Installing the desktop app</a></li>
  45. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#windows-installation">Windows Installation</a></li>
  46. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#mac-installation">MAC Installation</a></li>
  47. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#linux-installation">Linux Installation</a></li>
  48. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#where-are-the-dero-wallet-files-located">Where are the DERO Wallet files located?</a></li>
  49. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#create-a-new-wallet">Create a new wallet</a></li>
  50. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#opening-a-dero-wallet">Opening a DERO wallet</a></li>
  51. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#synchronizing-the-dero-cmd-wallet">Synchronizing the DERO CMD Wallet</a></li>
  52. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#rescan-blockchain">Rescan Blockchain</a></li>
  53. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#upgrading-from-a-previous-version">Upgrading from a previous version</a></li>
  54. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#main-wallet-screen">Main wallet screen</a></li>
  55. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#wallet-status">Wallet status</a></li>
  56. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#offline-mode">Offline mode</a></li>
  57. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#sending-dero">Sending DERO</a></li>
  58. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#restoring-dero-funds">Restoring DERO Funds</a></li>
  59. </ul>
  60. </li>
  61. <li class="toctree-l1"><a class="reference internal" href="basic_webwallet.html">Browser Wallet User Guide</a><ul>
  62. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#using-the-browser-wallet">Using the Browser Wallet</a></li>
  63. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#create-a-wallet">Create a wallet</a></li>
  64. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#restore-a-wallet">Restore a wallet</a></li>
  65. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#rescan-blockchain">Rescan Blockchain</a></li>
  66. </ul>
  67. </li>
  68. <li class="toctree-l1"><a class="reference internal" href="basic_cmd.html">Command Line Wallet User Guide</a><ul>
  69. <li class="toctree-l2"><a class="reference internal" href="basic_cmd.html#rescan-blockchain">Rescan Blockchain</a></li>
  70. </ul>
  71. </li>
  72. <li class="toctree-l1"><a class="reference internal" href="basic_coldwallet.html">Cold Wallet</a><ul>
  73. <li class="toctree-l2"><a class="reference internal" href="basic_coldwallet.html#creating-a-cold-storage-dero-wallet">Creating a cold storage DERO wallet</a></li>
  74. <li class="toctree-l2"><a class="reference internal" href="basic_coldwallet.html#creating-transactions-using-cold-wallet">Creating transactions using cold wallet</a></li>
  75. </ul>
  76. </li>
  77. <li class="toctree-l1"><a class="reference internal" href="basic_downloads.html">Downloads</a></li>
  78. <li class="toctree-l1"><a class="reference internal" href="basic_whitepaper.html">Whitepaper</a></li>
  79. <li class="toctree-l1"><a class="reference internal" href="basic_quickstart.html">Quickstart</a></li>
  80. <li class="toctree-l1"><a class="reference internal" href="basic_createrestorewallet.html">Create/Restore Wallet</a></li>
  81. <li class="toctree-l1"><a class="reference internal" href="basic_mining.html">Mining DERO</a><ul>
  82. <li class="toctree-l2"><a class="reference internal" href="basic_mining.html#mining-dero-with-windows">Mining DERO with Windows</a></li>
  83. <li class="toctree-l2"><a class="reference internal" href="basic_mining.html#mining-dero-with-linux">Mining DERO with Linux</a></li>
  84. </ul>
  85. </li>
  86. <li class="toctree-l1"><a class="reference internal" href="basic_runderofullnode.html">Run DERO Full Node</a></li>
  87. <li class="toctree-l1"><a class="reference internal" href="basic_trading.html">Trading</a></li>
  88. </ul>
  89. <p class="caption"><span class="caption-text">DERO Stargate RC2 Testnet</span></p>
  90. <ul>
  91. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html">CLI Wallet User Guide (Stargate)</a><ul>
  92. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#downloading-wallet">Downloading Wallet</a></li>
  93. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#install-wallet">Install Wallet</a><ul>
  94. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#windows">Windows</a></li>
  95. </ul>
  96. </li>
  97. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#opening-wallet">Opening Wallet</a></li>
  98. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#create-new-wallet">Create New Wallet</a></li>
  99. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#recover-existing-wallet-from-seed">Recover existing wallet from seed</a></li>
  100. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#create-view-only-wallet">Create View only Wallet</a></li>
  101. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#cli-wallet-functions">CLI Wallet Functions</a><ul>
  102. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-account-address">Display Account Address</a></li>
  103. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-seed">Display Seed</a></li>
  104. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-keys-hex">Display Keys (Hex)</a></li>
  105. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#account-registration">Account Registration</a></li>
  106. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-wallet-pool">Display Wallet Pool</a></li>
  107. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#transfer-send-dero-to-another-wallet">Transfer (Send DERO) To Another Wallet</a></li>
  108. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#change-wallet-password">Change Wallet Password</a></li>
  109. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#transfer-all-balance-send-dero-to-another-wallet">Transfer all balance (send DERO) To Another Wallet</a></li>
  110. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#show-transaction-history">Show transaction history</a></li>
  111. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#rescan-transaction-history">Rescan transaction history</a></li>
  112. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#exit-menu-and-start-prompt">Exit menu and start prompt</a></li>
  113. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#exit-wallet">Exit Wallet</a></li>
  114. </ul>
  115. </li>
  116. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#command-line-help-functions">Command Line Help Functions</a></li>
  117. </ul>
  118. </li>
  119. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html#gui-wallet-user-guide-stargate">GUI Wallet User Guide (Stargate)</a><ul>
  120. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id1">Downloading Wallet</a></li>
  121. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id2">Install Wallet</a></li>
  122. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id3">Create New Wallet</a></li>
  123. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id4">Recover existing wallet from seed</a></li>
  124. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id5">Create View only Wallet</a></li>
  125. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#gui-wallet-functions">GUI Wallet Functions</a></li>
  126. </ul>
  127. </li>
  128. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html#broswer-wallet-user-guide-stargate">Broswer Wallet User Guide (Stargate)</a><ul>
  129. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id6">Create New Wallet</a></li>
  130. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id7">Recover existing wallet from seed</a></li>
  131. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id8">Create View only Wallet</a></li>
  132. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id9">GUI Wallet Functions</a></li>
  133. </ul>
  134. </li>
  135. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html#cold-wallet-stargate">Cold Wallet (Stargate)</a><ul>
  136. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#cli">CLI</a></li>
  137. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#gui">GUI</a></li>
  138. </ul>
  139. </li>
  140. <li class="toctree-l1"><a class="reference internal" href="stargate_dvm.html">DERO Virtual Machine</a><ul>
  141. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#dim-statement">DIM Statement</a></li>
  142. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#function-statement">Function statement</a></li>
  143. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#goto-statement">GOTO Statement</a></li>
  144. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#if">IF</a></li>
  145. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#let-statement">LET Statement</a></li>
  146. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#return-statement">Return Statement</a></li>
  147. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#support-functions">Support Functions</a></li>
  148. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#lotter-sc-guide">Lotter SC Guide</a></li>
  149. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#lottery-bas">Lottery.bas</a></li>
  150. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#token-sc-guide">Token SC Guide</a></li>
  151. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#token-bas">Token.bas</a></li>
  152. </ul>
  153. </li>
  154. </ul>
  155. <p class="caption"><span class="caption-text">Developer's Guide</span></p>
  156. <ul class="current">
  157. <li class="toctree-l1 current"><a class="current reference internal" href="#">AstroBWT</a><ul>
  158. <li class="toctree-l2"><a class="reference internal" href="#dero-astrobwt-cpu-mining-proof-of-work">DERO AstroBWT CPU Mining Proof-of-Work</a></li>
  159. <li class="toctree-l2"><a class="reference internal" href="#astrobwt-building">AstroBWT Building</a></li>
  160. <li class="toctree-l2"><a class="reference internal" href="#astrobwt-pseudo-code">AstroBWT Pseudo CODE</a></li>
  161. <li class="toctree-l2"><a class="reference internal" href="#explaining-astrobwt">Explaining AstroBWT</a></li>
  162. <li class="toctree-l2"><a class="reference internal" href="#astrobwt-hash-rates">AstroBWT Hash Rates</a></li>
  163. </ul>
  164. </li>
  165. <li class="toctree-l1"><a class="reference internal" href="dev_DHEBP.html">DHEBP (DERO Homomorphic Encryption Blockchain Protocol)</a><ul>
  166. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#dhebp-alpha-code-to-demonstrate-fhe-blockchain-transactions">DHEBP alpha code to demonstrate FHE blockchain transactions.</a></li>
  167. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#transaction-details">Transaction Details</a></li>
  168. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#ring-size-tx-size-data">Ring Size, Tx Size data</a></li>
  169. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#build">Build</a></li>
  170. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#output-sample">Output Sample</a></li>
  171. </ul>
  172. </li>
  173. <li class="toctree-l1"><a class="reference internal" href="dev_graviton.html">Graviton</a><ul>
  174. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#graviton-zfs-for-key-value-stores">Graviton: ZFS for Key-Value Stores</a></li>
  175. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#standalone-alpha-release">Standalone Alpha Release</a></li>
  176. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#features">Features</a></li>
  177. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#benefits">Benefits</a></li>
  178. </ul>
  179. </li>
  180. <li class="toctree-l1"><a class="reference internal" href="dev_rpcapi.html">DERO Atlantis RPC API V2.0</a><ul>
  181. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#introduction">1. Introduction</a><ul>
  182. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#data-types">1.1 Data Types</a></li>
  183. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#code-examples">1.2 Code Examples</a></li>
  184. </ul>
  185. </li>
  186. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#quick-overview">2. Quick Overview</a></li>
  187. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#dero-daemon-rpc-interface">3. DERO Daemon RPC Interface</a></li>
  188. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#id1">3.1 Introduction</a></li>
  189. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#methods-via-post">3.2 Methods via POST</a><ul>
  190. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockcount">3.2.1 getblockcount</a></li>
  191. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-info">3.2.2 get_info</a></li>
  192. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblocktemplate">3.2.3 getblocktemplate</a></li>
  193. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#submitblock">3.2.4 submitblock</a></li>
  194. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getlastblockheader">3.2.5 getlastblockheader</a></li>
  195. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockheaderbyhash">3.2.6 getblockheaderbyhash</a></li>
  196. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockheaderbytopoheight">3.2.7 getblockheaderbytopoheight</a></li>
  197. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockheaderbyheight">3.2.8 getblockheaderbyheight</a></li>
  198. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblock">3.2.9 getblock</a></li>
  199. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#gettxpool">3.2.10 gettxpool</a></li>
  200. </ul>
  201. </li>
  202. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#methods-via-get">3.3 Methods via GET</a><ul>
  203. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getheight">3.3.1 getheight</a></li>
  204. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#gettransactions">3.3.2 gettransactions</a></li>
  205. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#sendrawtransaction">3.3.3 sendrawtransaction</a></li>
  206. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#is-key-image-spent">3.3.4 is_key_image_spent</a></li>
  207. </ul>
  208. </li>
  209. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#dero-wallet-rpc-interface">4 DERO Wallet RPC Interface</a></li>
  210. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#id2">4.1 Introduction</a></li>
  211. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#id3">4.2 Methods via POST</a><ul>
  212. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getaddress">4.2.1 getaddress</a></li>
  213. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getbalance">4.2.2 getbalance</a></li>
  214. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#id4">4.2.3 getheight</a></li>
  215. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#transfer">4.2.4 transfer</a></li>
  216. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#transfer-split">4.2.5 transfer_split</a></li>
  217. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-bulk-payments">4.2.6 get_bulk_payments</a></li>
  218. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#query-key">4.2.7 query_key</a></li>
  219. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#make-integrated-address">4.2.8 make_integrated_address</a></li>
  220. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#split-integrated-address">4.2.9 split_integrated_address</a></li>
  221. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-transfer-by-txid">4.2.10 get_transfer_by_txid</a></li>
  222. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-transfers">4.2.11 get_transfers</a></li>
  223. </ul>
  224. </li>
  225. </ul>
  226. </li>
  227. </ul>
  228. <p class="caption"><span class="caption-text">Useful Links</span></p>
  229. <ul>
  230. <li class="toctree-l1"><a class="reference internal" href="usefull_importantlinks.html">Links</a><ul>
  231. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-explorer">DERO Explorer</a></li>
  232. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-webwallet">DERO Webwallet</a></li>
  233. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-wiki">DERO Wiki</a></li>
  234. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-forum">DERO Forum</a></li>
  235. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-social-media">DERO Social Media</a></li>
  236. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-community-channels">DERO Community Channels</a></li>
  237. </ul>
  238. </li>
  239. </ul>
  240. </div>
  241. </div>
  242. </nav>
  243. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  244. <nav class="wy-nav-top" aria-label="top navigation">
  245. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  246. <a href="../index.html">DERO Documentation</a>
  247. </nav>
  248. <div class="wy-nav-content">
  249. <div class="rst-content">
  250. <div role="navigation" aria-label="breadcrumbs navigation">
  251. <ul class="wy-breadcrumbs">
  252. <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
  253. <li>AstroBWT</li>
  254. <li class="wy-breadcrumbs-aside">
  255. <a href="../_sources/rtd_pages/dev_astrobwt.rst.txt" rel="nofollow"> View page source</a>
  256. </li>
  257. </ul>
  258. <hr/>
  259. </div>
  260. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  261. <div itemprop="articleBody">
  262. <div class="section" id="astrobwt">
  263. <span id="dev-astrobwt"></span><h1>AstroBWT<a class="headerlink" href="#astrobwt" title="Permalink to this headline">¶</a></h1>
  264. <div class="section" id="dero-astrobwt-cpu-mining-proof-of-work">
  265. <h2>DERO AstroBWT CPU Mining Proof-of-Work<a class="headerlink" href="#dero-astrobwt-cpu-mining-proof-of-work" title="Permalink to this headline">¶</a></h2>
  266. <p><strong>AstroBWT Mainnet HardFork on block 4550555, March 7,2020. ~0200-GMT. DERO HardFork on block 4550555, March 7,2020. ~0200-GMT.</strong></p>
  267. </div>
  268. <div class="section" id="astrobwt-building">
  269. <h2>AstroBWT Building<a class="headerlink" href="#astrobwt-building" title="Permalink to this headline">¶</a></h2>
  270. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="x">go get -u github.com/deroproject/astrobwt/miner</span>
  271. </pre></div>
  272. </div>
  273. <p><strong>Sample Output</strong></p>
  274. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="x"> DERO AstroBWT Miner v0.01 alpha</span>
  275. <span class="x"> CPU: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz PhysicalThreads:1</span>
  276. <span class="x">Threads Total Time Total Iterations Time/PoW Hash Rate/Sec</span>
  277. <span class="x"> 1 3.272996982s 100 32.729969ms 30.6</span>
  278. <span class="x"> 2 3.572288466s 200 17.861442ms 56.0</span>
  279. <span class="x"> 3 4.013980986s 300 13.379936ms 74.7</span>
  280. <span class="x"> 4 4.704899609s 400 11.762249ms 85.0</span>
  281. <span class="x"> 5 5.784798143s 500 11.569596ms 86.4</span>
  282. <span class="x"> 6 6.629462384s 600 11.049103ms 90.5</span>
  283. <span class="x"> 7 8.351780961s 700 11.931115ms 83.8</span>
  284. <span class="x"> 8 10.49473002s 800 13.118412ms 76.2</span>
  285. </pre></div>
  286. </div>
  287. </div>
  288. <div class="section" id="astrobwt-pseudo-code">
  289. <h2>AstroBWT Pseudo CODE<a class="headerlink" href="#astrobwt-pseudo-code" title="Permalink to this headline">¶</a></h2>
  290. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="x">1. Calulate SHA3-256 of input data</span>
  291. <span class="x">2. Expand data using Salsa20 cipher 69371 bytes</span>
  292. <span class="x">3. Calculate BWT of step 2</span>
  293. <span class="x">4. Calculate SHA3-256 of BWT data</span>
  294. <span class="x">5. Expand data using Salsa20 cipher 69371 + random number based on step 4</span>
  295. <span class="x">6. Calculate BWT of data from step 5</span>
  296. <span class="x">7. Calculate SHA3-256 of BWT data from step 6</span>
  297. </pre></div>
  298. </div>
  299. <p><a class="reference external" href="https://en.wikipedia.org/wiki/Burrows%E2%80%93Wheeler_transform">More about BWT here.</a></p>
  300. </div>
  301. <div class="section" id="explaining-astrobwt">
  302. <h2>Explaining AstroBWT<a class="headerlink" href="#explaining-astrobwt" title="Permalink to this headline">¶</a></h2>
  303. <p>AstroBWT is not a product of the current cryptosphere approach. It has roots in Information Theory and the Compression Domains.</p>
  304. <ol class="arabic simple">
  305. <li><p>AstroBWT is based on mathematical proofs and research, unlike many other CPU mining ALGOs.</p></li>
  306. <li><p>All current mining algorithms are static. To explain more simply, all current cryptocurrency mining algorithms follow data dependent branches, loops or conditions. Dero also built out a RandomX implementation in Golang that has been discarded for use but open sourced to the public <a class="reference external" href="https://git.dero.io/DERO_Foundation/RandomX">RandomX in Golang.</a></p></li>
  307. <li><p>AstroBWT, as the name implies, has BWT at it’s core. BWT has been in research for the last 3 decades and numerous optimization attempts of GPU/FPGA have taken place. For more information on that topic, please refer to literature in the Information Theory and Compression Domains. However, all known implementations to this date, could not deliver an improvement even twice that of CPUs.</p></li>
  308. <li><p>All major providers (such as INTEL, NVIDIA etc) have already provided optimized implementations of BWT. Since, BWT has been used quite often in the general information theory and compression domains, it has been a subject of intensive studies. <a class="reference external" href="https://software.intel.com/en-us/ipp-dev-reference-burrows-wheeler-transform">https://software.intel.com/en-us/ipp-dev-reference-burrows-wheeler-transform</a></p></li>
  309. <li><p>In the coming months or years that AstroBWT is optimized or shown to have a significant performance boost on FPGAs, ASICs, or GPUs there would be a benefit for everyone. Such an advancement could even trigger the next revolution in Bioinformatics, Signal Processing, DNA Sequencing or other numerous domains where BWT is used. So, AstroBWT will not only serve as an ASIC/FPGA and GPU resisitant algorithm but it will aslo succeed in helping scientific research if it is optimized for these things.</p></li>
  310. </ol>
  311. </div>
  312. <div class="section" id="astrobwt-hash-rates">
  313. <h2>AstroBWT Hash Rates<a class="headerlink" href="#astrobwt-hash-rates" title="Permalink to this headline">¶</a></h2>
  314. <p><a class="reference external" href="https://github.com/deroproject/astrobwt/issues/2">Submitted by public:</a></p>
  315. <div class="figure align-default">
  316. <img alt="../_images/bwt1.png" src="../_images/bwt1.png" />
  317. </div>
  318. </div>
  319. </div>
  320. </div>
  321. </div>
  322. <footer>
  323. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  324. <a href="dev_DHEBP.html" class="btn btn-neutral float-right" title="DHEBP (DERO Homomorphic Encryption Blockchain Protocol)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
  325. <a href="stargate_dvm.html" class="btn btn-neutral float-left" title="DERO Virtual Machine" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
  326. </div>
  327. <hr/>
  328. <div role="contentinfo">
  329. <p>
  330. &#169; Copyright 2020, DERO Foundation.
  331. </p>
  332. </div>
  333. Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
  334. <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
  335. provided by <a href="https://readthedocs.org">Read the Docs</a>.
  336. </footer>
  337. </div>
  338. </div>
  339. </section>
  340. </div>
  341. <script type="text/javascript">
  342. jQuery(function () {
  343. SphinxRtdTheme.Navigation.enable(true);
  344. });
  345. </script>
  346. </body>
  347. </html>