Browse Source

update docs.

guides-page
Christopher Jeffrey 9 years ago
parent
commit
bf3375beec
No known key found for this signature in database GPG Key ID: 8962AB9DE6666BBD
  1. 2
      docs/AbstractBlock.html
  2. 424
      docs/Address.html
  3. 2
      docs/BST.html
  4. 80
      docs/Block.html
  5. 4
      docs/Bloom.html
  6. 2
      docs/BufferReader.html
  7. 2
      docs/BufferWriter.html
  8. 626
      docs/Chain.html
  9. 553
      docs/ChainBlock.html
  10. 44
      docs/ChainDB.html
  11. 2
      docs/Coin.html
  12. 2
      docs/CoinView.html
  13. 2
      docs/Coins.html
  14. 2
      docs/CompactBlock.html
  15. 2
      docs/Environment.html
  16. 289
      docs/Framer.html
  17. 46
      docs/Fullnode.html
  18. 2
      docs/HD.html
  19. 2
      docs/HDPrivateKey.html
  20. 2
      docs/HDPublicKey.html
  21. 2
      docs/HTTPBase.html
  22. 2
      docs/HTTPClient.html
  23. 2
      docs/HTTPProvider.html
  24. 2
      docs/HTTPServer.html
  25. 2
      docs/Headers.html
  26. 2
      docs/Input.html
  27. 2
      docs/KeyPair.html
  28. 2
      docs/LRU.html
  29. 8
      docs/LoadRequest.html
  30. 2
      docs/Locker.html
  31. 2
      docs/LowlevelUp.html
  32. 115
      docs/MTX.html
  33. 146
      docs/Master.html
  34. 222
      docs/Mempool.html
  35. 2
      docs/MerkleBlock.html
  36. 2
      docs/Miner.html
  37. 2
      docs/MinerBlock.html
  38. 2
      docs/Mnemonic.html
  39. 2
      docs/Node.html
  40. 2
      docs/Output.html
  41. 264
      docs/Parser.html
  42. 34
      docs/Peer.html
  43. 78
      docs/Pool.html
  44. 2
      docs/Profile.html
  45. 2
      docs/Provider.html
  46. 2
      docs/SPVNode.html
  47. 162
      docs/Script.html
  48. 2
      docs/ScriptError.html
  49. 2
      docs/Snapshot.html
  50. 2
      docs/Stack.html
  51. 100
      docs/TX.html
  52. 70
      docs/TXDB.html
  53. 2
      docs/TimeData.html
  54. 2
      docs/VerifyError.html
  55. 424
      docs/Wallet.html
  56. 2
      docs/WalletDB.html
  57. 2
      docs/Witness.html
  58. 54
      docs/Worker.html
  59. 286
      docs/Workers.html
  60. 2
      docs/bcoin.js.html
  61. 2
      docs/bcoin_abstractblock.js.html
  62. 176
      docs/bcoin_address.js.html
  63. 2
      docs/bcoin_aes.js.html
  64. 20
      docs/bcoin_block.js.html
  65. 8
      docs/bcoin_bloom.js.html
  66. 2
      docs/bcoin_bst.js.html
  67. 622
      docs/bcoin_chain.js.html
  68. 77
      docs/bcoin_chainblock.js.html
  69. 14
      docs/bcoin_chaindb.js.html
  70. 2
      docs/bcoin_coin.js.html
  71. 2
      docs/bcoin_coins.js.html
  72. 2
      docs/bcoin_coinview.js.html
  73. 2
      docs/bcoin_compactblock.js.html
  74. 2
      docs/bcoin_ec.js.html
  75. 2
      docs/bcoin_env.js.html
  76. 2
      docs/bcoin_errors.js.html
  77. 5
      docs/bcoin_fullnode.js.html
  78. 2
      docs/bcoin_hd.js.html
  79. 2
      docs/bcoin_headers.js.html
  80. 2
      docs/bcoin_http_base.js.html
  81. 2
      docs/bcoin_http_client.js.html
  82. 2
      docs/bcoin_http_provider.js.html
  83. 2
      docs/bcoin_http_request.js.html
  84. 2
      docs/bcoin_http_server.js.html
  85. 2
      docs/bcoin_input.js.html
  86. 2
      docs/bcoin_keypair.js.html
  87. 2
      docs/bcoin_ldb.js.html
  88. 2
      docs/bcoin_locker.js.html
  89. 2
      docs/bcoin_lowlevelup.js.html
  90. 2
      docs/bcoin_lru.js.html
  91. 189
      docs/bcoin_mempool.js.html
  92. 2
      docs/bcoin_merkleblock.js.html
  93. 4
      docs/bcoin_miner.js.html
  94. 17
      docs/bcoin_mtx.js.html
  95. 2
      docs/bcoin_node.js.html
  96. 2
      docs/bcoin_output.js.html
  97. 13
      docs/bcoin_peer.js.html
  98. 101
      docs/bcoin_pool.js.html
  99. 2
      docs/bcoin_profiler.js.html
  100. 2
      docs/bcoin_protocol_constants.js.html

2
docs/AbstractBlock.html

@ -1393,7 +1393,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

424
docs/Address.html

@ -758,7 +758,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line655">line 655</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line661">line 661</a>
</li></ul></dd>
@ -986,7 +986,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line611">line 611</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line617">line 617</a>
</li></ul></dd>
@ -1190,7 +1190,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line769">line 769</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line775">line 775</a>
</li></ul></dd>
@ -1339,7 +1339,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line589">line 589</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line595">line 595</a>
</li></ul></dd>
@ -1637,7 +1637,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line671">line 671</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line677">line 677</a>
</li></ul></dd>
@ -1794,7 +1794,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line598">line 598</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line604">line 604</a>
</li></ul></dd>
@ -1966,7 +1966,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line712">line 712</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line718">line 718</a>
</li></ul></dd>
@ -2197,7 +2197,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line358">line 358</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line365">line 365</a>
</li></ul></dd>
@ -2246,7 +2246,7 @@
<h4 class="name" id="getHash"><span class="type-signature"></span>getHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getHash"><span class="type-signature"></span>getHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -2264,6 +2264,67 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -2297,7 +2358,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line347">line 347</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line354">line 354</a>
</li></ul></dd>
@ -2497,7 +2558,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line330">line 330</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line333">line 333</a>
</li></ul></dd>
@ -2546,7 +2607,7 @@
<h4 class="name" id="getKeyHash"><span class="type-signature"></span>getKeyHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getKeyHash"><span class="type-signature"></span>getKeyHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -2564,6 +2625,67 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -2597,7 +2719,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line316">line 316</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line319">line 319</a>
</li></ul></dd>
@ -2858,7 +2980,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line185">line 185</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line179">line 179</a>
</li></ul></dd>
@ -2958,7 +3080,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line232">line 232</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line225">line 225</a>
</li></ul></dd>
@ -3007,7 +3129,7 @@
<h4 class="name" id="getProgramHash"><span class="type-signature"></span>getProgramHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getProgramHash"><span class="type-signature"></span>getProgramHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -3026,6 +3148,67 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -3059,7 +3242,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line215">line 215</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line208">line 208</a>
</li></ul></dd>
@ -3469,7 +3652,7 @@
<h4 class="name" id="getScriptHash"><span class="type-signature"></span>getScriptHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getScriptHash"><span class="type-signature"></span>getScriptHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -3487,6 +3670,67 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -3520,7 +3764,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line250">line 250</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line246">line 246</a>
</li></ul></dd>
@ -3569,7 +3813,7 @@
<h4 class="name" id="getScriptHash160"><span class="type-signature"></span>getScriptHash160<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getScriptHash160"><span class="type-signature"></span>getScriptHash160<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -3587,6 +3831,67 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -3620,7 +3925,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line259">line 259</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line258">line 258</a>
</li></ul></dd>
@ -3669,7 +3974,7 @@
<h4 class="name" id="getScriptHash256"><span class="type-signature"></span>getScriptHash256<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getScriptHash256"><span class="type-signature"></span>getScriptHash256<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -3687,6 +3992,67 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -3915,7 +4281,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line388">line 388</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line394">line 394</a>
</li></ul></dd>
@ -4110,7 +4476,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line404">line 404</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line410">line 410</a>
</li></ul></dd>
@ -4436,7 +4802,7 @@ it will attempt to sign all redeemable inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line423">line 423</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line429">line 429</a>
</li></ul></dd>
@ -4667,7 +5033,7 @@ it will attempt to build and sign all redeemable inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line498">line 498</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line504">line 504</a>
</li></ul></dd>
@ -4898,7 +5264,7 @@ it will attempt to sign all redeemable inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line459">line 459</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line465">line 465</a>
</li></ul></dd>
@ -5063,7 +5429,7 @@ it will attempt to sign all redeemable inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line737">line 737</a>
<a href="bcoin_address.js.html">bcoin/address.js</a>, <a href="bcoin_address.js.html#line743">line 743</a>
</li></ul></dd>
@ -5129,7 +5495,7 @@ it will attempt to sign all redeemable inputs.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/BST.html

@ -3473,7 +3473,7 @@ Many of its options, parameters and methods mimic the leveldown interface.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

80
docs/Block.html

@ -764,7 +764,7 @@ number will never be negative.</p></td>
<h4 class="name" id=".fromRaw"><span class="type-signature">(static) </span>fromRaw<span class="signature">(data, enc<span class="signature-attributes">nullable</span>, type<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="Block.html">Block</a>}</span></h4>
<h4 class="name" id=".fromRaw"><span class="type-signature">(static) </span>fromRaw<span class="signature">(data, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="Block.html">Block</a>}</span></h4>
@ -870,39 +870,6 @@ number will never be negative.</p></td>
</tr>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p>Can be <code>'block'</code>, <code>'merkleblock'</code>, or <code>'headers'</code>.</p></td>
</tr>
</tbody>
</table>
@ -940,7 +907,7 @@ number will never be negative.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line627">line 627</a>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line619">line 619</a>
</li></ul></dd>
@ -1089,7 +1056,7 @@ number will never be negative.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line655">line 655</a>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line641">line 641</a>
</li></ul></dd>
@ -1244,7 +1211,7 @@ for passing to the Block constructor).</p>
<h4 class="name" id=".parseRaw"><span class="type-signature">(static) </span>parseRaw<span class="signature">(data, enc<span class="signature-attributes">nullable</span>, type<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Object}</span></h4>
<h4 class="name" id=".parseRaw"><span class="type-signature">(static) </span>parseRaw<span class="signature">(data, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Object}</span></h4>
@ -1350,39 +1317,6 @@ for passing to the Block constructor).</p>
</tr>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p>Can be <code>'block'</code>, <code>'merkleblock'</code>, or <code>'headers'</code>.</p></td>
</tr>
</tbody>
</table>
@ -1420,7 +1354,7 @@ for passing to the Block constructor).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line606">line 606</a>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line605">line 605</a>
</li></ul></dd>
@ -4842,7 +4776,7 @@ matched transactions.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line645">line 645</a>
<a href="bcoin_block.js.html">bcoin/block.js</a>, <a href="bcoin_block.js.html#line631">line 631</a>
</li></ul></dd>
@ -5414,7 +5348,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

4
docs/Bloom.html

@ -102,7 +102,7 @@
<td class="description last"><p>Filter size in bytes, or filter itself.</p></td>
<td class="description last"><p>Filter size in bits, or filter itself.</p></td>
</tr>
@ -1398,7 +1398,7 @@ suitable for transmission on the network.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/BufferReader.html

@ -4488,7 +4488,7 @@ a uint64be as a js number. Maintain the sign.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/BufferWriter.html

@ -3719,7 +3719,7 @@ without actually serializing any data.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

626
docs/Chain.html

File diff suppressed because it is too large

553
docs/ChainBlock.html

@ -647,7 +647,7 @@ advocate for IsSuperMajority and retargeting.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line491">line 491</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line456">line 456</a>
</li></ul></dd>
@ -819,7 +819,7 @@ advocate for IsSuperMajority and retargeting.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line447">line 447</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line412">line 412</a>
</li></ul></dd>
@ -968,7 +968,7 @@ advocate for IsSuperMajority and retargeting.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line516">line 516</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line479">line 479</a>
</li></ul></dd>
@ -1016,377 +1016,6 @@ advocate for IsSuperMajority and retargeting.</p></td>
<h4 class="name" id="alloc"><span class="type-signature"></span>alloc<span class="signature">(max, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Allocate ancestors.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>max</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last"><p>Number of ancestors.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line120">line 120</a>
</li></ul></dd>
</dl>
<h4 class="name" id="ensureAncestors"><span class="type-signature"></span>ensureAncestors<span class="signature">(callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Allocate ancestors based on retarget interval and
majority window. These ancestors will be stored
in the <code>ancestors</code> array and enable use of synchronous
ChainBlock methods.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line102">line 102</a>
</li></ul></dd>
</dl>
<h4 class="name" id="free"><span class="type-signature"></span>free<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Free up ancestors. This is very important because
chain entries are cached in the ChainDB's LRU cache.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line194">line 194</a>
</li></ul></dd>
</dl>
<h4 class="name" id="getAncestor"><span class="type-signature"></span>getAncestor<span class="signature">(index)</span><span class="type-signature"> &rarr; {function}</span></h4>
@ -1490,7 +1119,7 @@ bitcoind functions to BCoin.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line241">line 241</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line212">line 212</a>
</li></ul></dd>
@ -1666,7 +1295,7 @@ bitcoind functions to BCoin.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line213">line 213</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line174">line 174</a>
</li></ul></dd>
@ -1820,7 +1449,7 @@ bitcoind functions to BCoin.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line145">line 145</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line118">line 118</a>
</li></ul></dd>
@ -1903,7 +1532,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line81">line 81</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line80">line 80</a>
</li></ul></dd>
@ -2056,7 +1685,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line288">line 288</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line259">line 259</a>
</li></ul></dd>
@ -2216,7 +1845,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line310">line 310</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line278">line 278</a>
</li></ul></dd>
@ -2347,7 +1976,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line268">line 268</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line239">line 239</a>
</li></ul></dd>
@ -2478,7 +2107,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line259">line 259</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line230">line 230</a>
</li></ul></dd>
@ -2560,7 +2189,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line68">line 68</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line67">line 67</a>
</li></ul></dd>
@ -2612,6 +2241,140 @@ adding proof to previous chainwork.</p>
<h4 class="name" id="getRetargetAncestors"><span class="type-signature"></span>getRetargetAncestors<span class="signature">(callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Allocate ancestors based on retarget interval and
majority window. These ancestors will be stored
in the <code>ancestors</code> array and enable use of synchronous
ChainBlock methods.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line101">line 101</a>
</li></ul></dd>
</dl>
<h4 class="name" id="inspect"><span class="type-signature"></span>inspect<span class="signature">()</span><span class="type-signature"> &rarr; {Object}</span></h4>
@ -2664,7 +2427,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line504">line 504</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line469">line 469</a>
</li></ul></dd>
@ -2764,7 +2527,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line90">line 90</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line89">line 89</a>
</li></ul></dd>
@ -2913,7 +2676,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line203">line 203</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line164">line 164</a>
</li></ul></dd>
@ -3067,7 +2830,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line328">line 328</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line296">line 296</a>
</li></ul></dd>
@ -3239,7 +3002,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line339">line 339</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line307">line 307</a>
</li></ul></dd>
@ -3434,7 +3197,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line379">line 379</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line347">line 347</a>
</li></ul></dd>
@ -3629,7 +3392,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line405">line 405</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line370">line 370</a>
</li></ul></dd>
@ -3801,7 +3564,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line353">line 353</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line321">line 321</a>
</li></ul></dd>
@ -3973,7 +3736,7 @@ adding proof to previous chainwork.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line364">line 364</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line332">line 332</a>
</li></ul></dd>
@ -4074,7 +3837,7 @@ suitable for JSON serialization.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line470">line 470</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line435">line 435</a>
</li></ul></dd>
@ -4174,7 +3937,7 @@ suitable for JSON serialization.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line425">line 425</a>
<a href="bcoin_chainblock.js.html">bcoin/chainblock.js</a>, <a href="bcoin_chainblock.js.html#line390">line 390</a>
</li></ul></dd>
@ -4240,7 +4003,7 @@ suitable for JSON serialization.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

44
docs/ChainDB.html

@ -1320,7 +1320,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line786">line 786</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line789">line 789</a>
</li></ul></dd>
@ -1660,7 +1660,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line881">line 881</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line888">line 888</a>
</li></ul></dd>
@ -1945,7 +1945,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1349">line 1349</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1359">line 1359</a>
</li></ul></dd>
@ -2099,7 +2099,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line960">line 960</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line970">line 970</a>
</li></ul></dd>
@ -2253,7 +2253,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1002">line 1002</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1012">line 1012</a>
</li></ul></dd>
@ -2407,7 +2407,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1417">line 1417</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1427">line 1427</a>
</li></ul></dd>
@ -2715,7 +2715,7 @@ against hashes. Will throw if corruption is detected.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1451">line 1451</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1461">line 1461</a>
</li></ul></dd>
@ -3316,7 +3316,7 @@ nextTick during a <code>get()</code> call.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1119">line 1119</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1129">line 1129</a>
</li></ul></dd>
@ -3473,7 +3473,7 @@ nextTick during a <code>get()</code> call.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1044">line 1044</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1054">line 1054</a>
</li></ul></dd>
@ -3627,7 +3627,7 @@ nextTick during a <code>get()</code> call.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1303">line 1303</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1313">line 1313</a>
</li></ul></dd>
@ -3781,7 +3781,7 @@ nextTick during a <code>get()</code> call.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1278">line 1278</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1288">line 1288</a>
</li></ul></dd>
@ -4529,7 +4529,7 @@ will only return hashes in the main chain.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1233">line 1233</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1243">line 1243</a>
</li></ul></dd>
@ -4686,7 +4686,7 @@ will only return hashes in the main chain.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1155">line 1155</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1165">line 1165</a>
</li></ul></dd>
@ -4840,7 +4840,7 @@ will only return hashes in the main chain.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1385">line 1385</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1395">line 1395</a>
</li></ul></dd>
@ -4999,7 +4999,7 @@ be tested if the lookup is done by hash.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line717">line 717</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line720">line 720</a>
</li></ul></dd>
@ -5283,7 +5283,7 @@ be tested if the lookup is done by hash.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1263">line 1263</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1273">line 1273</a>
</li></ul></dd>
@ -5594,7 +5594,7 @@ be tested if the lookup is done by hash.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1509">line 1509</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1519">line 1519</a>
</li></ul></dd>
@ -5755,7 +5755,7 @@ be tested if the lookup is done by hash.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1490">line 1490</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line1500">line 1500</a>
</li></ul></dd>
@ -6074,7 +6074,7 @@ Disconnect inputs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line759">line 759</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line762">line 762</a>
</li></ul></dd>
@ -6232,7 +6232,7 @@ the blockchain download for SPV.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line655">line 655</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line658">line 658</a>
</li></ul></dd>
@ -6637,7 +6637,7 @@ database and potentially connect the inputs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line737">line 737</a>
<a href="bcoin_chaindb.js.html">bcoin/chaindb.js</a>, <a href="bcoin_chaindb.js.html#line740">line 740</a>
</li></ul></dd>
@ -6685,7 +6685,7 @@ database and potentially connect the inputs.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Coin.html

@ -2906,7 +2906,7 @@ of little-endian uint256s.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/CoinView.html

@ -1558,7 +1558,7 @@ be spent when filling.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Coins.html

@ -2268,7 +2268,7 @@ be spent when filling.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/CompactBlock.html

@ -996,7 +996,7 @@ extracted in actuality).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Environment.html

@ -2778,7 +2778,7 @@ the worker pool (default=6).</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

289
docs/Framer.html

@ -433,7 +433,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1064">line 1064</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1121">line 1121</a>
</li></ul></dd>
@ -858,7 +858,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1094">line 1094</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1151">line 1151</a>
</li></ul></dd>
@ -1213,7 +1213,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1433">line 1433</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1490">line 1490</a>
</li></ul></dd>
@ -1369,7 +1369,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1387">line 1387</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1444">line 1444</a>
</li></ul></dd>
@ -1526,7 +1526,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1336">line 1336</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1393">line 1393</a>
</li></ul></dd>
@ -1682,7 +1682,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1411">line 1411</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1468">line 1468</a>
</li></ul></dd>
@ -1838,7 +1838,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1367">line 1367</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1424">line 1424</a>
</li></ul></dd>
@ -2046,7 +2046,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1009">line 1009</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1066">line 1066</a>
</li></ul></dd>
@ -2242,7 +2242,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1256">line 1256</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1313">line 1313</a>
</li></ul></dd>
@ -2525,6 +2525,239 @@ witness size without serializing.</p>
<h4 class="name" id=".extendedTX"><span class="type-signature">(static) </span>extendedTX<span class="signature">(tx, saveCoins<span class="signature-attributes">nullable</span>, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<div class="description">
<p>Serialize a transaction to BCoin &quot;extended format&quot;.
This is the serialization format BCoin uses internally
to store transactions in the database. The extended
serialization includes the height, block hash, index,
timestamp, pending-since time, and optionally a vector
for the serialized coins.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>tx</code></td>
<td class="type">
<span class="param-type"><a href="global.html#NakedTX">NakedTX</a></span>
|
<span class="param-type"><a href="TX.html">TX</a></span>
</td>
<td class="attributes">
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>saveCoins</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p>Whether to serialize the coins.</p></td>
</tr>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p>One of <code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line927">line 927</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Buffer</span>
</dd>
</dl>
<h4 class="name" id=".filterAdd"><span class="type-signature">(static) </span>filterAdd<span class="signature">(data, writer<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -2671,7 +2904,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1309">line 1309</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1366">line 1366</a>
</li></ul></dd>
@ -2775,7 +3008,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1325">line 1325</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1382">line 1382</a>
</li></ul></dd>
@ -3132,7 +3365,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1157">line 1157</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1214">line 1214</a>
</li></ul></dd>
@ -3916,7 +4149,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1168">line 1168</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1225">line 1225</a>
</li></ul></dd>
@ -4020,7 +4253,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1298">line 1298</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1355">line 1355</a>
</li></ul></dd>
@ -4215,7 +4448,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line979">line 979</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1036">line 1036</a>
</li></ul></dd>
@ -4775,7 +5008,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1147">line 1147</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1204">line 1204</a>
</li></ul></dd>
@ -4974,7 +5207,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line947">line 947</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1004">line 1004</a>
</li></ul></dd>
@ -6184,7 +6417,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1032">line 1032</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1089">line 1089</a>
</li></ul></dd>
@ -6610,7 +6843,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1267">line 1267</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1324">line 1324</a>
</li></ul></dd>
@ -6919,7 +7152,7 @@ framer and parser.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1289">line 1289</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1346">line 1346</a>
</li></ul></dd>
@ -7111,7 +7344,7 @@ framer and parser.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1237">line 1237</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1294">line 1294</a>
</li></ul></dd>
@ -7466,7 +7699,7 @@ framer and parser.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1446">line 1446</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1503">line 1503</a>
</li></ul></dd>
@ -7622,7 +7855,7 @@ framer and parser.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1399">line 1399</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1456">line 1456</a>
</li></ul></dd>
@ -7779,7 +8012,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1352">line 1352</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1409">line 1409</a>
</li></ul></dd>
@ -7935,7 +8168,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1422">line 1422</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1479">line 1479</a>
</li></ul></dd>
@ -8091,7 +8324,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1377">line 1377</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1434">line 1434</a>
</li></ul></dd>
@ -8287,7 +8520,7 @@ witness size without serializing.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1194">line 1194</a>
<a href="bcoin_protocol_framer.js.html">bcoin/protocol/framer.js</a>, <a href="bcoin_protocol_framer.js.html#line1251">line 1251</a>
</li></ul></dd>
@ -13798,7 +14031,7 @@ See <a href="Framer.html#.verack">Framer.verack</a>.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

46
docs/Fullnode.html

@ -1033,7 +1033,7 @@ bitcoind nodes).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line231">line 231</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line232">line 232</a>
</li></ul></dd>
@ -1164,7 +1164,7 @@ bitcoind nodes).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line321">line 321</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line322">line 322</a>
</li></ul></dd>
@ -1246,7 +1246,7 @@ bitcoind nodes).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line282">line 282</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line283">line 283</a>
</li></ul></dd>
@ -1400,7 +1400,7 @@ bitcoind nodes).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line340">line 340</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line341">line 341</a>
</li></ul></dd>
@ -1555,7 +1555,7 @@ and chain database (unspent only).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line574">line 574</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line575">line 575</a>
</li></ul></dd>
@ -1710,7 +1710,7 @@ from the mempool and chain database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line585">line 585</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line586">line 586</a>
</li></ul></dd>
@ -1864,7 +1864,7 @@ from the mempool and chain database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line388">line 388</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line389">line 389</a>
</li></ul></dd>
@ -2042,7 +2042,7 @@ Takes into account spent coins in the mempool.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line410">line 410</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line411">line 411</a>
</li></ul></dd>
@ -2200,7 +2200,7 @@ Takes into account spent coins in the mempool.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line446">line 446</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line447">line 447</a>
</li></ul></dd>
@ -2357,7 +2357,7 @@ Takes into account spent coins in the mempool.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line595">line 595</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line596">line 596</a>
</li></ul></dd>
@ -2511,7 +2511,7 @@ Takes into account spent coins in the mempool.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line398">line 398</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line399">line 399</a>
</li></ul></dd>
@ -2665,7 +2665,7 @@ Takes into account spent coins in the mempool.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line481">line 481</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line482">line 482</a>
</li></ul></dd>
@ -2823,7 +2823,7 @@ address from the mempool or chain database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line551">line 551</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line552">line 552</a>
</li></ul></dd>
@ -3028,7 +3028,7 @@ address from the mempool or chain database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line368">line 368</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line369">line 369</a>
</li></ul></dd>
@ -3182,7 +3182,7 @@ address from the mempool or chain database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line509">line 509</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line510">line 510</a>
</li></ul></dd>
@ -3359,7 +3359,7 @@ address from the mempool or chain database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line530">line 530</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line531">line 531</a>
</li></ul></dd>
@ -3491,7 +3491,7 @@ wait for the database to load.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line308">line 308</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line309">line 309</a>
</li></ul></dd>
@ -3645,7 +3645,7 @@ wait for the database to load.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line378">line 378</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line379">line 379</a>
</li></ul></dd>
@ -3799,7 +3799,7 @@ wait for the database to load.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line274">line 274</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line275">line 275</a>
</li></ul></dd>
@ -4009,7 +4009,7 @@ requests our TX, rejects it, or the broadcast itself times out.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line247">line 247</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line248">line 248</a>
</li></ul></dd>
@ -4097,7 +4097,7 @@ node.sendTX(tx, true, callback);</code></pre>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line290">line 290</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line291">line 291</a>
</li></ul></dd>
@ -4179,7 +4179,7 @@ node.sendTX(tx, true, callback);</code></pre>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line298">line 298</a>
<a href="bcoin_fullnode.js.html">bcoin/fullnode.js</a>, <a href="bcoin_fullnode.js.html#line299">line 299</a>
</li></ul></dd>
@ -4227,7 +4227,7 @@ node.sendTX(tx, true, callback);</code></pre>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HD.html

@ -1422,7 +1422,7 @@ mnemonic, mnemonic options.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HDPrivateKey.html

@ -4312,7 +4312,7 @@ for passing to the HDPrivateKey constructor).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HDPublicKey.html

@ -2788,7 +2788,7 @@ should be hardened (throws if true).</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HTTPBase.html

@ -1529,7 +1529,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HTTPClient.html

@ -6344,7 +6344,7 @@ is available in the wallet history).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HTTPProvider.html

@ -1639,7 +1639,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/HTTPServer.html

@ -1039,7 +1039,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Headers.html

@ -2425,7 +2425,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Input.html

@ -3083,7 +3083,7 @@ of little-endian uint256s.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/KeyPair.html

@ -2145,7 +2145,7 @@ for JSON serialization.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/LRU.html

@ -1387,7 +1387,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

8
docs/LoadRequest.html

@ -232,7 +232,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2222">line 2222</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2251">line 2251</a>
</li></ul></dd>
@ -333,7 +333,7 @@ Remove from queue and map. Clear timeout.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2262">line 2262</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2291">line 2291</a>
</li></ul></dd>
@ -415,7 +415,7 @@ Remove from queue and map. Clear timeout.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2243">line 2243</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2272">line 2272</a>
</li></ul></dd>
@ -463,7 +463,7 @@ Remove from queue and map. Clear timeout.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Locker.html

@ -960,7 +960,7 @@ to resolve the queue.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/LowlevelUp.html

@ -1843,7 +1843,7 @@ lowers memory usage.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

115
docs/MTX.html

@ -863,7 +863,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1358">line 1358</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1359">line 1359</a>
</li></ul></dd>
@ -928,7 +928,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1330">line 1330</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1331">line 1331</a>
</li></ul></dd>
@ -993,7 +993,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1344">line 1344</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1345">line 1345</a>
</li></ul></dd>
@ -1074,7 +1074,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1364">line 1364</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1365">line 1365</a>
</li></ul></dd>
@ -1159,7 +1159,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1336">line 1336</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1337">line 1337</a>
</li></ul></dd>
@ -1244,7 +1244,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1350">line 1350</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1351">line 1351</a>
</li></ul></dd>
@ -1382,7 +1382,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1374">line 1374</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1375">line 1375</a>
</li></ul></dd>
@ -1531,7 +1531,7 @@ witness is present. All zeroes if coinbase).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1393">line 1393</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1394">line 1394</a>
</li></ul></dd>
@ -1843,7 +1843,8 @@ tx.addInput(bcoin.coin(prev, prevIndex));</code></pre>
<td class="description last"><p>Wallet, Address, or options (see <a href="Script.html#.createOutputScript">Script.createOutputScript</a> for options).</p></td>
<td class="description last"><p>Wallet, Address,
or options (see <a href="Script.html#.createOutputScript">Script.createOutputScript</a> for options).</p></td>
</tr>
@ -1917,7 +1918,7 @@ tx.addInput(bcoin.coin(prev, prevIndex));</code></pre>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line780">line 780</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line781">line 781</a>
</li></ul></dd>
@ -2077,7 +2078,7 @@ tx.addOutput(receivingWallet, utils.satoshi('0.1'));</code></pre>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1294">line 1294</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1295">line 1295</a>
</li></ul></dd>
@ -2270,7 +2271,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1257">line 1257</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1256">line 1256</a>
</li></ul></dd>
@ -2771,7 +2772,7 @@ p2pkh script).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1219">line 1219</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1220">line 1220</a>
</li></ul></dd>
@ -2938,7 +2939,7 @@ p2pkh script).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line849">line 849</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line848">line 848</a>
</li></ul></dd>
@ -3047,7 +3048,7 @@ p2pkh script).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line746">line 746</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line745">line 745</a>
</li></ul></dd>
@ -3218,7 +3219,7 @@ present, network chain height will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1473">line 1473</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1472">line 1472</a>
</li></ul></dd>
@ -3437,7 +3438,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line655">line 655</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line654">line 654</a>
</li></ul></dd>
@ -3546,7 +3547,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line700">line 700</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line699">line 699</a>
</li></ul></dd>
@ -3655,7 +3656,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line667">line 667</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line666">line 666</a>
</li></ul></dd>
@ -3764,7 +3765,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line929">line 929</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line928">line 928</a>
</li></ul></dd>
@ -3937,7 +3938,7 @@ estimation will be calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1452">line 1452</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1451">line 1451</a>
</li></ul></dd>
@ -4109,7 +4110,7 @@ estimation will be calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1429">line 1429</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1428">line 1428</a>
</li></ul></dd>
@ -4281,7 +4282,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1335">line 1335</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1334">line 1334</a>
</li></ul></dd>
@ -4390,7 +4391,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line723">line 723</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line722">line 722</a>
</li></ul></dd>
@ -4499,7 +4500,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line685">line 685</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line684">line 684</a>
</li></ul></dd>
@ -4608,7 +4609,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1491">line 1491</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1490">line 1490</a>
</li></ul></dd>
@ -4814,7 +4815,7 @@ calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1360">line 1360</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1359">line 1359</a>
</li></ul></dd>
@ -5036,7 +5037,7 @@ is <em>not</em> cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line947">line 947</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line946">line 946</a>
</li></ul></dd>
@ -5206,7 +5207,7 @@ is <em>not</em> cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1008">line 1008</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1007">line 1007</a>
</li></ul></dd>
@ -5376,7 +5377,7 @@ is <em>not</em> cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line973">line 973</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line972">line 972</a>
</li></ul></dd>
@ -5707,7 +5708,7 @@ all coins available/filled.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line829">line 829</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line828">line 828</a>
</li></ul></dd>
@ -5982,7 +5983,7 @@ script standardness (including the redeem script).</p>
<td class="type">
<span class="param-type">module.script~VerifyFlags</span>
<span class="param-type"><a href="global.html#VerifyFlags">VerifyFlags</a></span>
@ -6048,7 +6049,7 @@ script standardness (including the redeem script).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1197">line 1197</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1196">line 1196</a>
</li></ul></dd>
@ -6266,7 +6267,7 @@ user-friendly representation of the data.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1615">line 1615</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1614">line 1614</a>
</li></ul></dd>
@ -6372,7 +6373,7 @@ by examining the inputs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line645">line 645</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line644">line 644</a>
</li></ul></dd>
@ -6555,7 +6556,7 @@ time of the chain tip's previous entry's median time.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line906">line 906</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line905">line 905</a>
</li></ul></dd>
@ -6764,7 +6765,7 @@ size will be calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1407">line 1407</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1406">line 1406</a>
</li></ul></dd>
@ -6932,7 +6933,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1026">line 1026</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1025">line 1025</a>
</li></ul></dd>
@ -7044,7 +7045,7 @@ has all script templates built.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line838">line 838</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line839">line 839</a>
</li></ul></dd>
@ -7315,7 +7316,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1121">line 1121</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1120">line 1120</a>
</li></ul></dd>
@ -7479,7 +7480,7 @@ value is.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1517">line 1517</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1516">line 1516</a>
</li></ul></dd>
@ -7767,7 +7768,7 @@ estimation of the size.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line872">line 872</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line873">line 873</a>
</li></ul></dd>
@ -8465,7 +8466,7 @@ must be able to redeem the coin.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line812">line 812</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line813">line 813</a>
</li></ul></dd>
@ -8865,7 +8866,7 @@ fee from * existing outputs rather than adding more inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1054">line 1054</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1055">line 1055</a>
</li></ul></dd>
@ -9198,7 +9199,7 @@ fee from * existing outputs rather than adding more inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1312">line 1312</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1313">line 1313</a>
</li></ul></dd>
@ -9933,7 +9934,7 @@ must be able to redeem the coin.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1256">line 1256</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1257">line 1257</a>
</li></ul></dd>
@ -10126,7 +10127,7 @@ array of addresses, or a map of addresses.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line769">line 769</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line768">line 768</a>
</li></ul></dd>
@ -10334,7 +10335,7 @@ array of addresses, or a map of addresses.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line800">line 800</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line799">line 799</a>
</li></ul></dd>
@ -10443,7 +10444,7 @@ array of addresses, or a map of addresses.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1895">line 1895</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1821">line 1821</a>
</li></ul></dd>
@ -10647,7 +10648,7 @@ for the serialized coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1764">line 1764</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1763">line 1763</a>
</li></ul></dd>
@ -10755,7 +10756,7 @@ of little-endian uint256s.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1649">line 1649</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1648">line 1648</a>
</li></ul></dd>
@ -10921,7 +10922,7 @@ of little-endian uint256s.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1718">line 1718</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1717">line 1717</a>
</li></ul></dd>
@ -11031,7 +11032,7 @@ of little-endian uint256s.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1383">line 1383</a>
<a href="bcoin_mtx.js.html">bcoin/mtx.js</a>, <a href="bcoin_mtx.js.html#line1384">line 1384</a>
</li></ul></dd>
@ -11286,7 +11287,7 @@ be verified, even if it has been confirmed.</p></td>
<td class="type">
<span class="param-type">module.script~VerifyFlags</span>
<span class="param-type"><a href="global.html#VerifyFlags">VerifyFlags</a></span>
@ -11525,7 +11526,7 @@ be verified, even if it has been confirmed.</p></td>
<td class="type">
<span class="param-type">module.script~VerifyFlags</span>
<span class="param-type"><a href="global.html#VerifyFlags">VerifyFlags</a></span>
@ -11622,7 +11623,7 @@ be verified, even if it has been confirmed.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line613">line 613</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line612">line 612</a>
</li></ul></dd>
@ -11868,7 +11869,7 @@ if coinbase). Note that this is not cached.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

146
docs/Master.html

@ -40,7 +40,7 @@
<h4 class="name" id="Master"><span class="type-signature"></span>new Master<span class="signature">(id)</span><span class="type-signature"></span></h4>
<h4 class="name" id="Master"><span class="type-signature"></span>new Master<span class="signature">(id, options<span class="signature-attributes">nullable</span>)</span><span class="type-signature"></span></h4>
@ -71,6 +71,8 @@
<th>Type</th>
<th>Attributes</th>
@ -96,6 +98,14 @@
</td>
<td class="attributes">
</td>
@ -103,6 +113,39 @@
</tr>
<tr>
<td class="name"><code>options</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
@ -192,7 +235,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line357">line 357</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line410">line 410</a>
</li></ul></dd>
@ -241,7 +284,7 @@
<h4 class="name" id=".listen"><span class="type-signature">(static) </span>listen<span class="signature">(id)</span><span class="type-signature"> &rarr; {<a href="Master.html">Master</a>}</span></h4>
<h4 class="name" id=".listen"><span class="type-signature">(static) </span>listen<span class="signature">(id, options<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="Master.html">Master</a>}</span></h4>
@ -272,6 +315,8 @@
<th>Type</th>
<th>Attributes</th>
@ -297,6 +342,14 @@
</td>
<td class="attributes">
</td>
@ -304,6 +357,39 @@
</tr>
<tr>
<td class="name"><code>options</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
@ -341,7 +427,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line474">line 474</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line546">line 546</a>
</li></ul></dd>
@ -441,7 +527,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line462">line 462</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line533">line 533</a>
</li></ul></dd>
@ -585,7 +671,7 @@ it with the worker ID.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line451">line 451</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line507">line 507</a>
</li></ul></dd>
@ -616,7 +702,7 @@ it with the worker ID.</p>
<h4 class="name" id="send"><span class="type-signature"></span>send<span class="signature">(job, name, items)</span><span class="type-signature"></span></h4>
<h4 class="name" id="send"><span class="type-signature"></span>send<span class="signature">(job, name, items)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>
@ -762,7 +848,7 @@ it with the worker ID.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line430">line 430</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line485">line 485</a>
</li></ul></dd>
@ -785,6 +871,24 @@ it with the worker ID.</p>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Boolean</span>
</dd>
</dl>
@ -793,7 +897,7 @@ it with the worker ID.</p>
<h4 class="name" id="sendEvent"><span class="type-signature"></span>sendEvent<span class="signature">(event, &hellip;arg)</span><span class="type-signature"></span></h4>
<h4 class="name" id="sendEvent"><span class="type-signature"></span>sendEvent<span class="signature">(event, &hellip;arg)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>
@ -936,7 +1040,7 @@ it with the worker ID.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line440">line 440</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line496">line 496</a>
</li></ul></dd>
@ -959,6 +1063,24 @@ it with the worker ID.</p>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Boolean</span>
</dd>
</dl>
@ -1067,7 +1189,7 @@ it with the worker ID.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line410">line 410</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line464">line 464</a>
</li></ul></dd>
@ -1133,7 +1255,7 @@ it with the worker ID.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

222
docs/Mempool.html

@ -863,7 +863,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1361">line 1361</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1398">line 1398</a>
</li></ul></dd>
@ -1018,7 +1018,7 @@ that this <em>may</em> not disconnect the inputs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1423">line 1423</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1468">line 1468</a>
</li></ul></dd>
@ -1330,7 +1330,7 @@ fully processed.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line479">line 479</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line534">line 534</a>
</li></ul></dd>
@ -1488,7 +1488,7 @@ resolved orphans <em>will</em> be validated).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line606">line 606</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line658">line 658</a>
</li></ul></dd>
@ -1665,7 +1665,7 @@ resolved orphans <em>will</em> be validated).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1242">line 1242</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1294">line 1294</a>
</li></ul></dd>
@ -1951,7 +1951,7 @@ ancestors a transaction may have.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line811">line 811</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line863">line 863</a>
</li></ul></dd>
@ -2108,7 +2108,7 @@ from the blockchain as well.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1180">line 1180</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1232">line 1232</a>
</li></ul></dd>
@ -2265,7 +2265,7 @@ from the blockchain as well.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1157">line 1157</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1209">line 1209</a>
</li></ul></dd>
@ -2420,7 +2420,7 @@ in the mempool.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line457">line 457</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line493">line 493</a>
</li></ul></dd>
@ -2577,7 +2577,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line446">line 446</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line482">line 482</a>
</li></ul></dd>
@ -2660,7 +2660,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line910">line 910</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line962">line 962</a>
</li></ul></dd>
@ -2837,7 +2837,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line399">line 399</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line435">line 435</a>
</li></ul></dd>
@ -2994,7 +2994,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line423">line 423</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line459">line 459</a>
</li></ul></dd>
@ -3151,7 +3151,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1282">line 1282</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1319">line 1319</a>
</li></ul></dd>
@ -3289,7 +3289,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line919">line 919</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line971">line 971</a>
</li></ul></dd>
@ -3443,7 +3443,7 @@ just unspent coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line960">line 960</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1012">line 1012</a>
</li></ul></dd>
@ -3575,7 +3575,7 @@ for generating INV packets in response to MEMPOOL packets.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1231">line 1231</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1283">line 1283</a>
</li></ul></dd>
@ -3733,7 +3733,7 @@ Note that this will not be filled with coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line386">line 386</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line422">line 422</a>
</li></ul></dd>
@ -3890,7 +3890,7 @@ Note that this will not be filled with coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line433">line 433</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line469">line 469</a>
</li></ul></dd>
@ -4044,7 +4044,161 @@ Note that this will not be filled with coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line929">line 929</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line981">line 981</a>
</li></ul></dd>
</dl>
<h4 class="name" id="hasAny"><span class="type-signature"></span>hasAny<span class="signature">(hash, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Test the mempool to see if it contains a transaction or an orphan.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>hash</code></td>
<td class="type">
<span class="param-type"><a href="global.html#Hash">Hash</a></span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"><p>Returns [Error, Boolean].</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line513">line 513</a>
</li></ul></dd>
@ -4194,7 +4348,7 @@ Note that this will not be filled with coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line985">line 985</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1037">line 1037</a>
</li></ul></dd>
@ -4348,7 +4502,7 @@ Note that this will not be filled with coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line467">line 467</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line503">line 503</a>
</li></ul></dd>
@ -4506,7 +4660,7 @@ be seen as an orphan rather than a double spend.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1271">line 1271</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1308">line 1308</a>
</li></ul></dd>
@ -4686,7 +4840,7 @@ for transaction outputs that never existed.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line413">line 413</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line449">line 449</a>
</li></ul></dd>
@ -4817,7 +4971,7 @@ for transaction outputs that never existed.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line292">line 292</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line328">line 328</a>
</li></ul></dd>
@ -5079,7 +5233,7 @@ for transaction outputs that never existed.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line326">line 326</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line362">line 362</a>
</li></ul></dd>
@ -5316,7 +5470,7 @@ from the main chain (reinserts transactions into the mempool).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line247">line 247</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line283">line 283</a>
</li></ul></dd>
@ -5473,7 +5627,7 @@ from the main chain (reinserts transactions into the mempool).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1057">line 1057</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1109">line 1109</a>
</li></ul></dd>
@ -5628,7 +5782,7 @@ only called when a new block is added to the main chain.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line655">line 655</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line707">line 707</a>
</li></ul></dd>
@ -5785,7 +5939,7 @@ returns orphan hashes.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1003">line 1003</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1055">line 1055</a>
</li></ul></dd>
@ -5942,7 +6096,7 @@ named &quot;DoesThisTransactionExist()&quot;.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1125">line 1125</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line1177">line 1177</a>
</li></ul></dd>
@ -6096,7 +6250,7 @@ named &quot;DoesThisTransactionExist()&quot;.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line852">line 852</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line904">line 904</a>
</li></ul></dd>
@ -6250,7 +6404,7 @@ named &quot;DoesThisTransactionExist()&quot;.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line682">line 682</a>
<a href="bcoin_mempool.js.html">bcoin/mempool.js</a>, <a href="bcoin_mempool.js.html#line734">line 734</a>
</li></ul></dd>
@ -6298,7 +6452,7 @@ named &quot;DoesThisTransactionExist()&quot;.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/MerkleBlock.html

@ -3294,7 +3294,7 @@ MerkleBlock#tx and into MerkleBlock#txMap.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Miner.html

@ -1273,7 +1273,7 @@ for faster linked code.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/MinerBlock.html

@ -1530,7 +1530,7 @@ if segwit is enabled).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Mnemonic.html

@ -906,7 +906,7 @@ key stretching (empty string if not present).</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:08 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:56 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Node.html

@ -203,7 +203,7 @@ Node-like object inherits.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Output.html

@ -1952,7 +1952,7 @@ for JSON serialization.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

264
docs/Parser.html

@ -311,7 +311,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line919">line 919</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line970">line 970</a>
</li></ul></dd>
@ -463,7 +463,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1095">line 1095</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1146">line 1146</a>
</li></ul></dd>
@ -615,7 +615,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1060">line 1060</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1111">line 1111</a>
</li></ul></dd>
@ -767,7 +767,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1125">line 1125</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1176">line 1176</a>
</li></ul></dd>
@ -919,7 +919,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line701">line 701</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line752">line 752</a>
</li></ul></dd>
@ -1071,7 +1071,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line738">line 738</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line789">line 789</a>
</li></ul></dd>
@ -1550,7 +1550,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line841">line 841</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line892">line 892</a>
</li></ul></dd>
@ -1599,6 +1599,238 @@
<h4 class="name" id=".parseExtendedTX"><span class="type-signature">(static) </span>parseExtendedTX<span class="signature">(p, saveCoins<span class="signature-attributes">nullable</span>, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="global.html#NakedTX">NakedTX</a>}</span></h4>
<div class="description">
<p>Parse a transaction in &quot;extended&quot; serialization format.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>p</code></td>
<td class="type">
<span class="param-type">Buffer</span>
</td>
<td class="attributes">
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>saveCoins</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p>If true, the function will
attempt to parse the coins.</p></td>
</tr>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p>One of <code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line704">line 704</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
<ul>
<li>A &quot;naked&quot; transaction object.</li>
</ul>
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type"><a href="global.html#NakedTX">NakedTX</a></span>
</dd>
</dl>
<h4 class="name" id=".parseFilterAdd"><span class="type-signature">(static) </span>parseFilterAdd<span class="signature">(p)</span><span class="type-signature"> &rarr; {<a href="global.html#FilterAddPacket">FilterAddPacket</a>}</span></h4>
@ -3222,7 +3454,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line793">line 793</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line844">line 844</a>
</li></ul></dd>
@ -3526,7 +3758,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1115">line 1115</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1166">line 1166</a>
</li></ul></dd>
@ -4134,7 +4366,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line820">line 820</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line871">line 871</a>
</li></ul></dd>
@ -4590,7 +4822,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1032">line 1032</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1083">line 1083</a>
</li></ul></dd>
@ -4894,7 +5126,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line992">line 992</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1043">line 1043</a>
</li></ul></dd>
@ -5351,7 +5583,7 @@ parsing if a witness transaction is detected).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line878">line 878</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line929">line 929</a>
</li></ul></dd>
@ -5959,7 +6191,7 @@ parsing if a witness transaction is detected).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1010">line 1010</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line1061">line 1061</a>
</li></ul></dd>
@ -6111,7 +6343,7 @@ parsing if a witness transaction is detected).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line939">line 939</a>
<a href="bcoin_protocol_parser.js.html">bcoin/protocol/parser.js</a>, <a href="bcoin_protocol_parser.js.html#line990">line 990</a>
</li></ul></dd>
@ -6896,7 +7128,7 @@ of <code>{cmd:String, length:Number, checksum:Number}</code>.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

34
docs/Peer.html

@ -1366,7 +1366,7 @@ received (unix time).</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line443">line 443</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line440">line 440</a>
</li></ul></dd>
@ -1521,7 +1521,7 @@ Executed on timeout or once packet is received.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line464">line 464</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line461">line 461</a>
</li></ul></dd>
@ -1675,7 +1675,7 @@ Executed on timeout or once packet is received.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line508">line 508</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line505">line 505</a>
</li></ul></dd>
@ -1815,7 +1815,7 @@ Executed on timeout or once packet is received.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line286">line 286</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line283">line 283</a>
</li></ul></dd>
@ -1988,7 +1988,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line248">line 248</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line245">line 245</a>
</li></ul></dd>
@ -2088,7 +2088,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line397">line 397</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line394">line 394</a>
</li></ul></dd>
@ -2262,7 +2262,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1376">line 1376</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1379">line 1379</a>
</li></ul></dd>
@ -2393,7 +2393,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line539">line 539</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line536">line 536</a>
</li></ul></dd>
@ -2570,7 +2570,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1357">line 1357</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1360">line 1360</a>
</li></ul></dd>
@ -2652,7 +2652,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1393">line 1393</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1396">line 1396</a>
</li></ul></dd>
@ -2888,7 +2888,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1419">line 1419</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1422">line 1422</a>
</li></ul></dd>
@ -3037,7 +3037,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1406">line 1406</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1409">line 1409</a>
</li></ul></dd>
@ -3276,7 +3276,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1441">line 1441</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1444">line 1444</a>
</li></ul></dd>
@ -3414,7 +3414,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1428">line 1428</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line1431">line 1431</a>
</li></ul></dd>
@ -3496,7 +3496,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line379">line 379</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line376">line 376</a>
</li></ul></dd>
@ -3627,7 +3627,7 @@ will use <code>options.createSocket</code> if provided.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line430">line 430</a>
<a href="bcoin_peer.js.html">bcoin/peer.js</a>, <a href="bcoin_peer.js.html#line427">line 427</a>
</li></ul></dd>
@ -3693,7 +3693,7 @@ will use <code>options.createSocket</code> if provided.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

78
docs/Pool.html

@ -976,7 +976,7 @@ Only deal with witness peers.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2085">line 2085</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2114">line 2114</a>
</li></ul></dd>
@ -1148,7 +1148,7 @@ Only deal with witness peers.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1333">line 1333</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1352">line 1352</a>
</li></ul></dd>
@ -1306,7 +1306,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1834">line 1834</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1863">line 1863</a>
</li></ul></dd>
@ -1437,7 +1437,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1885">line 1885</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1914">line 1914</a>
</li></ul></dd>
@ -1673,7 +1673,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1965">line 1965</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1994">line 1994</a>
</li></ul></dd>
@ -1804,7 +1804,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1688">line 1688</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1717">line 1717</a>
</li></ul></dd>
@ -1958,7 +1958,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1712">line 1712</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1741">line 1741</a>
</li></ul></dd>
@ -2194,7 +2194,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line304">line 304</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line318">line 318</a>
</li></ul></dd>
@ -2462,7 +2462,7 @@ in the chain before requesting.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1558">line 1558</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1577">line 1577</a>
</li></ul></dd>
@ -2698,7 +2698,7 @@ in the chain before requesting.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line359">line 359</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line373">line 373</a>
</li></ul></dd>
@ -2780,7 +2780,7 @@ in the chain before requesting.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line865">line 865</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line884">line 884</a>
</li></ul></dd>
@ -2914,7 +2914,7 @@ in the chain before requesting.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1929">line 1929</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1958">line 1958</a>
</li></ul></dd>
@ -3076,7 +3076,7 @@ is going to use this seed is high-priority.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1996">line 1996</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2025">line 2025</a>
</li></ul></dd>
@ -3272,7 +3272,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1742">line 1742</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1771">line 1771</a>
</li></ul></dd>
@ -3426,7 +3426,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1950">line 1950</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1979">line 1979</a>
</li></ul></dd>
@ -3557,7 +3557,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2153">line 2153</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2182">line 2182</a>
</li></ul></dd>
@ -3976,7 +3976,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2185">line 2185</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2214">line 2214</a>
</li></ul></dd>
@ -4117,7 +4117,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2107">line 2107</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2136">line 2136</a>
</li></ul></dd>
@ -4266,7 +4266,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1361">line 1361</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1380">line 1380</a>
</li></ul></dd>
@ -4467,7 +4467,7 @@ locator and resolving orphan root.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line326">line 326</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line340">line 340</a>
</li></ul></dd>
@ -4598,7 +4598,7 @@ locator and resolving orphan root.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1627">line 1627</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1656">line 1656</a>
</li></ul></dd>
@ -4779,7 +4779,7 @@ of <code>{start:Number, end:Number}</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1487">line 1487</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1506">line 1506</a>
</li></ul></dd>
@ -4934,7 +4934,7 @@ active transaction's timestamp/height (SPV-only).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1419">line 1419</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1438">line 1438</a>
</li></ul></dd>
@ -5089,7 +5089,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1730">line 1730</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1759">line 1759</a>
</li></ul></dd>
@ -5244,7 +5244,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1819">line 1819</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1848">line 1848</a>
</li></ul></dd>
@ -5398,7 +5398,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2134">line 2134</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2163">line 2163</a>
</li></ul></dd>
@ -5554,7 +5554,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2069">line 2069</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line2098">line 2098</a>
</li></ul></dd>
@ -5685,7 +5685,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line377">line 377</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line391">line 391</a>
</li></ul></dd>
@ -5767,7 +5767,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line602">line 602</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line617">line 617</a>
</li></ul></dd>
@ -5898,7 +5898,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line414">line 414</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line428">line 428</a>
</li></ul></dd>
@ -5980,7 +5980,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line623">line 623</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line638">line 638</a>
</li></ul></dd>
@ -6111,7 +6111,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1283">line 1283</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1302">line 1302</a>
</li></ul></dd>
@ -6242,7 +6242,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1385">line 1385</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1404">line 1404</a>
</li></ul></dd>
@ -6373,7 +6373,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1406">line 1406</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1425">line 1425</a>
</li></ul></dd>
@ -6455,7 +6455,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1308">line 1308</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1327">line 1327</a>
</li></ul></dd>
@ -6586,7 +6586,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1252">line 1252</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1271">line 1271</a>
</li></ul></dd>
@ -6717,7 +6717,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1375">line 1375</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1394">line 1394</a>
</li></ul></dd>
@ -6848,7 +6848,7 @@ or timeout.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1395">line 1395</a>
<a href="bcoin_pool.js.html">bcoin/pool.js</a>, <a href="bcoin_pool.js.html#line1414">line 1414</a>
</li></ul></dd>
@ -6896,7 +6896,7 @@ or timeout.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Profile.html

@ -513,7 +513,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Provider.html

@ -2941,7 +2941,7 @@ implementing a provider).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/SPVNode.html

@ -1919,7 +1919,7 @@ bitcoind nodes).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

162
docs/Script.html

@ -1036,7 +1036,7 @@ assert.deepEqual(Script.array(new bn(0xffee)), new Buffer([0xee, 0xff]));</code>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2082">line 2082</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2030">line 2030</a>
</li></ul></dd>
@ -1489,7 +1489,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4072">line 4072</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4019">line 4019</a>
</li></ul></dd>
@ -1638,7 +1638,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4045">line 4045</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3992">line 3992</a>
</li></ul></dd>
@ -1791,7 +1791,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2259">line 2259</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2207">line 2207</a>
</li></ul></dd>
@ -1986,7 +1986,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2188">line 2188</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2136">line 2136</a>
</li></ul></dd>
@ -2135,7 +2135,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2230">line 2230</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2178">line 2178</a>
</li></ul></dd>
@ -2511,7 +2511,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2866">line 2866</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2814">line 2814</a>
</li></ul></dd>
@ -2665,7 +2665,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2160">line 2160</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2108">line 2108</a>
</li></ul></dd>
@ -2814,7 +2814,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2170">line 2170</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2118">line 2118</a>
</li></ul></dd>
@ -2963,7 +2963,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2215">line 2215</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2163">line 2163</a>
</li></ul></dd>
@ -3135,7 +3135,7 @@ and high S values.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2246">line 2246</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2194">line 2194</a>
</li></ul></dd>
@ -3311,7 +3311,7 @@ Buffer slices. Larger buffer slices should
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4186">line 4186</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4133">line 4133</a>
</li></ul></dd>
@ -3469,7 +3469,7 @@ code's pushdatas to minimaldata representations.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4282">line 4282</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4229">line 4229</a>
</li></ul></dd>
@ -3622,7 +3622,7 @@ code's pushdatas to minimaldata representations.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3421">line 3421</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3369">line 3369</a>
</li></ul></dd>
@ -3818,7 +3818,7 @@ code's pushdatas to minimaldata representations.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3482">line 3482</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3430">line 3430</a>
</li></ul></dd>
@ -4017,7 +4017,7 @@ code's pushdatas to minimaldata representations.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4145">line 4145</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4092">line 4092</a>
</li></ul></dd>
@ -4167,7 +4167,7 @@ string into a script object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3726">line 3726</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3674">line 3674</a>
</li></ul></dd>
@ -4330,7 +4330,7 @@ Script.fromSymbolic(['OP_1', new Buffer([2]), 'OP_ADD']);</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3831">line 3831</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3779">line 3779</a>
</li></ul></dd>
@ -4442,7 +4442,7 @@ Script.fromSymbolic(['OP_1', new Buffer([2]), 'OP_ADD']);</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3075">line 3075</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3023">line 3023</a>
</li></ul></dd>
@ -4595,7 +4595,7 @@ Script.fromSymbolic(['OP_1', new Buffer([2]), 'OP_ADD']);</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2293">line 2293</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2241">line 2241</a>
</li></ul></dd>
@ -4751,7 +4751,7 @@ Script.fromSymbolic(['OP_1', new Buffer([2]), 'OP_ADD']);</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3794">line 3794</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3742">line 3742</a>
</li></ul></dd>
@ -4969,7 +4969,7 @@ Script.fromSymbolic(['OP_1', new Buffer([2]), 'OP_ADD']);</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3649">line 3649</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3597">line 3597</a>
</li></ul></dd>
@ -5133,7 +5133,7 @@ scripts.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4376">line 4376</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4323">line 4323</a>
</li></ul></dd>
@ -5282,7 +5282,7 @@ scripts.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2119">line 2119</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2067">line 2067</a>
</li></ul></dd>
@ -5443,7 +5443,7 @@ scripts.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3170">line 3170</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3118">line 3118</a>
</li></ul></dd>
@ -5604,7 +5604,7 @@ scripts.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3138">line 3138</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3086">line 3086</a>
</li></ul></dd>
@ -5753,7 +5753,7 @@ scripts.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3378">line 3378</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3326">line 3326</a>
</li></ul></dd>
@ -5915,7 +5915,7 @@ this does not verify the format of the key, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3149">line 3149</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3097">line 3097</a>
</li></ul></dd>
@ -6064,7 +6064,7 @@ this does not verify the format of the key, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3217">line 3217</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3165">line 3165</a>
</li></ul></dd>
@ -6213,7 +6213,7 @@ this does not verify the format of the key, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3401">line 3401</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3349">line 3349</a>
</li></ul></dd>
@ -6362,7 +6362,7 @@ this does not verify the format of the key, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4392">line 4392</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4339">line 4339</a>
</li></ul></dd>
@ -6524,7 +6524,7 @@ this does not verify the format of the signature, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3160">line 3160</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3108">line 3108</a>
</li></ul></dd>
@ -6673,7 +6673,7 @@ this does not verify the format of the signature, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3287">line 3287</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3235">line 3235</a>
</li></ul></dd>
@ -6841,7 +6841,7 @@ this does not verify the format of the signature, only the length.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3181">line 3181</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3129">line 3129</a>
</li></ul></dd>
@ -7279,7 +7279,7 @@ as an options object for Script).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4128">line 4128</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4075">line 4075</a>
</li></ul></dd>
@ -7478,7 +7478,7 @@ as an options object for Script).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4106">line 4106</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line4053">line 4053</a>
</li></ul></dd>
@ -7631,7 +7631,7 @@ as an options object for Script).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3813">line 3813</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3761">line 3761</a>
</li></ul></dd>
@ -7827,7 +7827,7 @@ as an options object for Script).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3196">line 3196</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3144">line 3144</a>
</li></ul></dd>
@ -8038,7 +8038,7 @@ this will allow zero-length signatures.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3249">line 3249</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3197">line 3197</a>
</li></ul></dd>
@ -8317,7 +8317,7 @@ this will allow zero-length signatures.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3870">line 3870</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3818">line 3818</a>
</li></ul></dd>
@ -8575,7 +8575,7 @@ the witness to a stack and execute the program.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3979">line 3979</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3930">line 3930</a>
</li></ul></dd>
@ -8767,7 +8767,7 @@ the witness to a stack and execute the program.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3623">line 3623</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3571">line 3571</a>
</li></ul></dd>
@ -9024,7 +9024,7 @@ the witness to a stack and execute the program.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2149">line 2149</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2097">line 2097</a>
</li></ul></dd>
@ -9560,7 +9560,7 @@ they are pubkeyhash and scripthashes respectively.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2462">line 2462</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2410">line 2410</a>
</li></ul></dd>
@ -9665,7 +9665,7 @@ standardness verification.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3686">line 3686</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3634">line 3634</a>
</li></ul></dd>
@ -9714,7 +9714,7 @@ standardness verification.</p>
<h4 class="name" id="getCoinbaseData"><span class="type-signature"></span>getCoinbaseData<span class="signature">()</span><span class="type-signature"> &rarr; {Object}</span></h4>
<h4 class="name" id="getCoinbaseFlags"><span class="type-signature"></span>getCoinbaseFlags<span class="signature">()</span><span class="type-signature"> &rarr; {Object}</span></h4>
@ -9765,7 +9765,7 @@ standardness verification.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3106">line 3106</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3054">line 3054</a>
</li></ul></dd>
@ -9870,7 +9870,7 @@ standardness verification.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3066">line 3066</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3014">line 3014</a>
</li></ul></dd>
@ -9974,7 +9974,7 @@ standardness verification.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2699">line 2699</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2647">line 2647</a>
</li></ul></dd>
@ -10079,7 +10079,7 @@ they are pubkeyhash and scripthashes respectively.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2524">line 2524</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2472">line 2472</a>
</li></ul></dd>
@ -10183,7 +10183,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2423">line 2423</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2371">line 2371</a>
</li></ul></dd>
@ -10287,7 +10287,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2496">line 2496</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2444">line 2444</a>
</li></ul></dd>
@ -10391,7 +10391,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2816">line 2816</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2764">line 2764</a>
</li></ul></dd>
@ -10491,7 +10491,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2274">line 2274</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2222">line 2222</a>
</li></ul></dd>
@ -10647,7 +10647,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3591">line 3591</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3539">line 3539</a>
</li></ul></dd>
@ -10801,7 +10801,7 @@ take into account the <code>n</code> value for OP_CHECKMULTISIG(VERIFY).</p></td
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3556">line 3556</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3504">line 3504</a>
</li></ul></dd>
@ -10905,7 +10905,7 @@ take into account the <code>n</code> value for OP_CHECKMULTISIG(VERIFY).</p></td
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2410">line 2410</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2358">line 2358</a>
</li></ul></dd>
@ -11054,7 +11054,7 @@ take into account the <code>n</code> value for OP_CHECKMULTISIG(VERIFY).</p></td
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3781">line 3781</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3729">line 3729</a>
</li></ul></dd>
@ -11319,7 +11319,7 @@ take into account the <code>n</code> value for OP_CHECKMULTISIG(VERIFY).</p></td
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2319">line 2319</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2267">line 2267</a>
</li></ul></dd>
@ -11426,7 +11426,7 @@ or 'unknown').</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2749">line 2749</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2697">line 2697</a>
</li></ul></dd>
@ -11578,7 +11578,7 @@ or 'unknown').</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2070">line 2070</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2018">line 2018</a>
</li></ul></dd>
@ -11686,7 +11686,7 @@ but coinbases.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2675">line 2675</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2623">line 2623</a>
</li></ul></dd>
@ -11786,7 +11786,7 @@ but coinbases.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2577">line 2577</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2525">line 2525</a>
</li></ul></dd>
@ -11887,7 +11887,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2975">line 2975</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2923">line 2923</a>
</li></ul></dd>
@ -11988,7 +11988,7 @@ fail if the pushdata is greater than 80 bytes.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2641">line 2641</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2589">line 2589</a>
</li></ul></dd>
@ -12088,7 +12088,7 @@ fail if the pushdata is greater than 80 bytes.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2552">line 2552</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2500">line 2500</a>
</li></ul></dd>
@ -12188,7 +12188,7 @@ fail if the pushdata is greater than 80 bytes.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2563">line 2563</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2511">line 2511</a>
</li></ul></dd>
@ -12289,7 +12289,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2959">line 2959</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2907">line 2907</a>
</li></ul></dd>
@ -12390,7 +12390,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2945">line 2945</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2893">line 2893</a>
</li></ul></dd>
@ -12491,7 +12491,7 @@ Push ops are: OP_1NEGATE, OP_0-OP_16 and all PUSHDATAs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3535">line 3535</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3483">line 3483</a>
</li></ul></dd>
@ -12594,7 +12594,7 @@ encoding. Using <code>OP_HASH160 OP_PUSHDATA1 [hash] OP_EQUAL</code> will
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2621">line 2621</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2569">line 2569</a>
</li></ul></dd>
@ -12695,7 +12695,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line3012">line 3012</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2960">line 2960</a>
</li></ul></dd>
@ -12795,7 +12795,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2350">line 2350</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2298">line 2298</a>
</li></ul></dd>
@ -12896,7 +12896,7 @@ with non-mandatory flags).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2374">line 2374</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2322">line 2322</a>
</li></ul></dd>
@ -12996,7 +12996,7 @@ with non-mandatory flags).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2341">line 2341</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2289">line 2289</a>
</li></ul></dd>
@ -13097,7 +13097,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2844">line 2844</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2792">line 2792</a>
</li></ul></dd>
@ -13197,7 +13197,7 @@ This method is not 100% reliable.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2806">line 2806</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2754">line 2754</a>
</li></ul></dd>
@ -13299,7 +13299,7 @@ witness v0 programs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2713">line 2713</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2661">line 2661</a>
</li></ul></dd>
@ -13399,7 +13399,7 @@ witness v0 programs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2782">line 2782</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2730">line 2730</a>
</li></ul></dd>
@ -13499,7 +13499,7 @@ witness v0 programs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2794">line 2794</a>
<a href="bcoin_script.js.html">bcoin/script.js</a>, <a href="bcoin_script.js.html#line2742">line 2742</a>
</li></ul></dd>
@ -14266,7 +14266,7 @@ code separators are present.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/ScriptError.html

@ -444,7 +444,7 @@ potentially pertaining to Script execution.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Snapshot.html

@ -680,7 +680,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Stack.html

@ -4556,7 +4556,7 @@ the top of the stack.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

100
docs/TX.html

@ -704,7 +704,7 @@ witness is present. All zeroes if coinbase).</p></td>
<h4 class="name" id=".fromExtended"><span class="type-signature">(static) </span>fromExtended<span class="signature">(buf, saveCoins<span class="signature-attributes">nullable</span>, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="TX.html">TX</a>}</span></h4>
<h4 class="name" id=".fromExtended"><span class="type-signature">(static) </span>fromExtended<span class="signature">(data, saveCoins<span class="signature-attributes">nullable</span>, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="TX.html">TX</a>}</span></h4>
@ -750,7 +750,7 @@ in &quot;extended&quot; serialization format.</p>
<tr>
<td class="name"><code>buf</code></td>
<td class="name"><code>data</code></td>
<td class="type">
@ -882,7 +882,7 @@ attempt to parse the coins.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1886">line 1886</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1812">line 1812</a>
</li></ul></dd>
@ -1032,7 +1032,7 @@ jsonified transaction object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1706">line 1706</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1705">line 1705</a>
</li></ul></dd>
@ -1224,7 +1224,7 @@ jsonified transaction object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1748">line 1748</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1747">line 1747</a>
</li></ul></dd>
@ -1373,7 +1373,7 @@ jsonified transaction object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1905">line 1905</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1831">line 1831</a>
</li></ul></dd>
@ -1422,7 +1422,7 @@ jsonified transaction object.</p>
<h4 class="name" id=".parseExtended"><span class="type-signature">(static) </span>parseExtended<span class="signature">(buf, saveCoins<span class="signature-attributes">nullable</span>, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="global.html#NakedTX">NakedTX</a>}</span></h4>
<h4 class="name" id=".parseExtended"><span class="type-signature">(static) </span>parseExtended<span class="signature">(data, saveCoins<span class="signature-attributes">nullable</span>, enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {<a href="global.html#NakedTX">NakedTX</a>}</span></h4>
@ -1467,7 +1467,7 @@ jsonified transaction object.</p>
<tr>
<td class="name"><code>buf</code></td>
<td class="name"><code>data</code></td>
<td class="type">
@ -1599,7 +1599,7 @@ attempt to parse the coins.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1825">line 1825</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1789">line 1789</a>
</li></ul></dd>
@ -1754,7 +1754,7 @@ attempt to parse the coins.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1679">line 1679</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1678">line 1678</a>
</li></ul></dd>
@ -1952,7 +1952,7 @@ for passing to the TX constructor).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1734">line 1734</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1733">line 1733</a>
</li></ul></dd>
@ -2155,7 +2155,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1257">line 1257</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1256">line 1256</a>
</li></ul></dd>
@ -2413,7 +2413,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line849">line 849</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line848">line 848</a>
</li></ul></dd>
@ -2517,7 +2517,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line746">line 746</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line745">line 745</a>
</li></ul></dd>
@ -2683,7 +2683,7 @@ present, network chain height will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1473">line 1473</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1472">line 1472</a>
</li></ul></dd>
@ -2892,7 +2892,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line655">line 655</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line654">line 654</a>
</li></ul></dd>
@ -2996,7 +2996,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line700">line 700</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line699">line 699</a>
</li></ul></dd>
@ -3100,7 +3100,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line667">line 667</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line666">line 666</a>
</li></ul></dd>
@ -3204,7 +3204,7 @@ Note that this is cached.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line929">line 929</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line928">line 928</a>
</li></ul></dd>
@ -3372,7 +3372,7 @@ estimation will be calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1452">line 1452</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1451">line 1451</a>
</li></ul></dd>
@ -3539,7 +3539,7 @@ estimation will be calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1429">line 1429</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1428">line 1428</a>
</li></ul></dd>
@ -3706,7 +3706,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1335">line 1335</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1334">line 1334</a>
</li></ul></dd>
@ -3810,7 +3810,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line723">line 723</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line722">line 722</a>
</li></ul></dd>
@ -3914,7 +3914,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line685">line 685</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line684">line 684</a>
</li></ul></dd>
@ -4018,7 +4018,7 @@ virtual size will be used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1491">line 1491</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1490">line 1490</a>
</li></ul></dd>
@ -4219,7 +4219,7 @@ calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1360">line 1360</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1359">line 1359</a>
</li></ul></dd>
@ -4430,7 +4430,7 @@ witness is present.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line947">line 947</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line946">line 946</a>
</li></ul></dd>
@ -4595,7 +4595,7 @@ witness is present.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1008">line 1008</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1007">line 1007</a>
</li></ul></dd>
@ -4760,7 +4760,7 @@ witness is present.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line973">line 973</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line972">line 972</a>
</li></ul></dd>
@ -5075,7 +5075,7 @@ all coins available/filled.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line829">line 829</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line828">line 828</a>
</li></ul></dd>
@ -5344,7 +5344,7 @@ script standardness (including the redeem script).</p>
<td class="type">
<span class="param-type">module.script~VerifyFlags</span>
<span class="param-type"><a href="global.html#VerifyFlags">VerifyFlags</a></span>
@ -5405,7 +5405,7 @@ script standardness (including the redeem script).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1197">line 1197</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1196">line 1196</a>
</li></ul></dd>
@ -5613,7 +5613,7 @@ user-friendly representation of the data.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1615">line 1615</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1614">line 1614</a>
</li></ul></dd>
@ -5714,7 +5714,7 @@ by examining the inputs.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line645">line 645</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line644">line 644</a>
</li></ul></dd>
@ -5892,7 +5892,7 @@ time of the chain tip's previous entry's median time.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line906">line 906</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line905">line 905</a>
</li></ul></dd>
@ -6096,7 +6096,7 @@ size will be calculated and used.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1407">line 1407</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1406">line 1406</a>
</li></ul></dd>
@ -6259,7 +6259,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1026">line 1026</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1025">line 1025</a>
</li></ul></dd>
@ -6436,7 +6436,7 @@ set with properties <code>reason</code> and <code>score</code>.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1121">line 1121</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1120">line 1120</a>
</li></ul></dd>
@ -6595,7 +6595,7 @@ value is.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1517">line 1517</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1516">line 1516</a>
</li></ul></dd>
@ -6710,7 +6710,7 @@ this will just return the virtual size.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1323">line 1323</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1322">line 1322</a>
</li></ul></dd>
@ -7613,7 +7613,7 @@ array of addresses, or a map of addresses.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line769">line 769</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line768">line 768</a>
</li></ul></dd>
@ -7816,7 +7816,7 @@ array of addresses, or a map of addresses.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line800">line 800</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line799">line 799</a>
</li></ul></dd>
@ -7920,7 +7920,7 @@ array of addresses, or a map of addresses.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1895">line 1895</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1821">line 1821</a>
</li></ul></dd>
@ -8119,7 +8119,7 @@ for the serialized coins.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1764">line 1764</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1763">line 1763</a>
</li></ul></dd>
@ -8222,7 +8222,7 @@ of little-endian uint256s.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1649">line 1649</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1648">line 1648</a>
</li></ul></dd>
@ -8383,7 +8383,7 @@ of little-endian uint256s.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1718">line 1718</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line1717">line 1717</a>
</li></ul></dd>
@ -8643,7 +8643,7 @@ be verified, even if it has been confirmed.</p></td>
<td class="type">
<span class="param-type">module.script~VerifyFlags</span>
<span class="param-type"><a href="global.html#VerifyFlags">VerifyFlags</a></span>
@ -8877,7 +8877,7 @@ be verified, even if it has been confirmed.</p></td>
<td class="type">
<span class="param-type">module.script~VerifyFlags</span>
<span class="param-type"><a href="global.html#VerifyFlags">VerifyFlags</a></span>
@ -8969,7 +8969,7 @@ be verified, even if it has been confirmed.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line613">line 613</a>
<a href="bcoin_tx.js.html">bcoin/tx.js</a>, <a href="bcoin_tx.js.html#line612">line 612</a>
</li></ul></dd>
@ -9210,7 +9210,7 @@ if coinbase).</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

70
docs/TXDB.html

@ -742,7 +742,7 @@ transaction was confirmed, or should be ignored.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line670">line 670</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line674">line 674</a>
</li></ul></dd>
@ -1073,7 +1073,7 @@ transaction was confirmed, or should be ignored.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line840">line 840</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line844">line 844</a>
</li></ul></dd>
@ -1254,7 +1254,7 @@ the database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line578">line 578</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line582">line 582</a>
</li></ul></dd>
@ -1431,7 +1431,7 @@ the database.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line987">line 987</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line994">line 994</a>
</li></ul></dd>
@ -1741,7 +1741,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1693">line 1693</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1700">line 1700</a>
</li></ul></dd>
@ -1895,7 +1895,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1648">line 1648</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1655">line 1655</a>
</li></ul></dd>
@ -2052,7 +2052,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1823">line 1823</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1830">line 1830</a>
</li></ul></dd>
@ -2209,7 +2209,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1898">line 1898</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1905">line 1905</a>
</li></ul></dd>
@ -2386,7 +2386,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1780">line 1780</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1787">line 1787</a>
</li></ul></dd>
@ -2543,7 +2543,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1211">line 1211</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1218">line 1218</a>
</li></ul></dd>
@ -2700,7 +2700,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1608">line 1608</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1615">line 1615</a>
</li></ul></dd>
@ -2857,7 +2857,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1878">line 1878</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1885">line 1885</a>
</li></ul></dd>
@ -3011,7 +3011,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1355">line 1355</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1362">line 1362</a>
</li></ul></dd>
@ -3347,7 +3347,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1293">line 1293</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1300">line 1300</a>
</li></ul></dd>
@ -3504,7 +3504,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1495">line 1495</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1502">line 1502</a>
</li></ul></dd>
@ -3661,7 +3661,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1868">line 1868</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1875">line 1875</a>
</li></ul></dd>
@ -3818,7 +3818,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1064">line 1064</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1071">line 1071</a>
</li></ul></dd>
@ -3975,7 +3975,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1858">line 1858</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1865">line 1865</a>
</li></ul></dd>
@ -4155,7 +4155,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1474">line 1474</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1481">line 1481</a>
</li></ul></dd>
@ -4312,7 +4312,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1535">line 1535</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1542">line 1542</a>
</li></ul></dd>
@ -4802,7 +4802,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1433">line 1433</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1440">line 1440</a>
</li></ul></dd>
@ -5138,7 +5138,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1370">line 1370</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1377">line 1377</a>
</li></ul></dd>
@ -5292,7 +5292,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1738">line 1738</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1745">line 1745</a>
</li></ul></dd>
@ -5449,7 +5449,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1568">line 1568</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1575">line 1575</a>
</li></ul></dd>
@ -5606,7 +5606,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1888">line 1888</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1895">line 1895</a>
</li></ul></dd>
@ -5763,7 +5763,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1137">line 1137</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1144">line 1144</a>
</li></ul></dd>
@ -5917,7 +5917,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1808">line 1808</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1815">line 1815</a>
</li></ul></dd>
@ -6071,7 +6071,7 @@ orphans, or confirm a transaction.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1764">line 1764</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1771">line 1771</a>
</li></ul></dd>
@ -6226,7 +6226,7 @@ if any of its outpoints are a double-spend.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line620">line 620</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line624">line 624</a>
</li></ul></dd>
@ -6403,7 +6403,7 @@ if any of its outpoints are a double-spend.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line645">line 645</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line649">line 649</a>
</li></ul></dd>
@ -6559,7 +6559,7 @@ to disconnect.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line810">line 810</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line814">line 814</a>
</li></ul></dd>
@ -6870,7 +6870,7 @@ to disconnect.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line767">line 767</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line771">line 771</a>
</li></ul></dd>
@ -7024,7 +7024,7 @@ to disconnect.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line943">line 943</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line950">line 950</a>
</li></ul></dd>
@ -7223,7 +7223,7 @@ to disconnect.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1909">line 1909</a>
<a href="bcoin_txdb.js.html">bcoin/txdb.js</a>, <a href="bcoin_txdb.js.html#line1916">line 1916</a>
</li></ul></dd>
@ -7271,7 +7271,7 @@ to disconnect.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/TimeData.html

@ -608,7 +608,7 @@ and calculates what to offset our system clock's time by.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/VerifyError.html

@ -433,7 +433,7 @@ block verification error. Ultimately used to send
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

424
docs/Wallet.html

@ -853,7 +853,7 @@ the key and instantiating the wallet.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1761">line 1761</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1767">line 1767</a>
</li></ul></dd>
@ -1046,7 +1046,7 @@ jsonified wallet object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1620">line 1620</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1626">line 1626</a>
</li></ul></dd>
@ -1195,7 +1195,7 @@ jsonified wallet object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1784">line 1784</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1790">line 1790</a>
</li></ul></dd>
@ -1387,7 +1387,7 @@ jsonified wallet object.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1587">line 1587</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1593">line 1593</a>
</li></ul></dd>
@ -1598,7 +1598,7 @@ the key and instantiating the wallet.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1774">line 1774</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1780">line 1780</a>
</li></ul></dd>
@ -1772,7 +1772,7 @@ the key and instantiating the wallet.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1702">line 1702</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1708">line 1708</a>
</li></ul></dd>
@ -1969,7 +1969,7 @@ the key and instantiating the wallet.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1718">line 1718</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1724">line 1724</a>
</li></ul></dd>
@ -2143,7 +2143,7 @@ the key and instantiating the wallet.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1687">line 1687</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1693">line 1693</a>
</li></ul></dd>
@ -2317,7 +2317,7 @@ the key and instantiating the wallet.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1674">line 1674</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1680">line 1680</a>
</li></ul></dd>
@ -5079,7 +5079,7 @@ fee from existing outputs rather than adding more inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1449">line 1449</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1455">line 1455</a>
</li></ul></dd>
@ -5567,7 +5567,7 @@ fee from existing outputs rather than adding more inputs.</p></td>
<h4 class="name" id="getHash"><span class="type-signature"></span>getHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getHash"><span class="type-signature"></span>getHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -5585,6 +5585,67 @@ fee from existing outputs rather than adding more inputs.</p></td>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -5618,7 +5679,7 @@ fee from existing outputs rather than adding more inputs.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1440">line 1440</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1446">line 1446</a>
</li></ul></dd>
@ -6146,7 +6207,7 @@ address with a prefix of <code>0x03be04</code> (<code>WLT</code>).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1431">line 1431</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1436">line 1436</a>
</li></ul></dd>
@ -6195,7 +6256,7 @@ address with a prefix of <code>0x03be04</code> (<code>WLT</code>).</p>
<h4 class="name" id="getKeyHash"><span class="type-signature"></span>getKeyHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getKeyHash"><span class="type-signature"></span>getKeyHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -6213,6 +6274,67 @@ address with a prefix of <code>0x03be04</code> (<code>WLT</code>).</p>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -6246,7 +6368,7 @@ address with a prefix of <code>0x03be04</code> (<code>WLT</code>).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1422">line 1422</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1427">line 1427</a>
</li></ul></dd>
@ -7273,7 +7395,7 @@ to a certain height when in SPV mode.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1393">line 1393</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1396">line 1396</a>
</li></ul></dd>
@ -7374,7 +7496,7 @@ scripthash address for witness program.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1413">line 1413</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1417">line 1417</a>
</li></ul></dd>
@ -7423,7 +7545,7 @@ scripthash address for witness program.</p>
<h4 class="name" id="getProgramHash"><span class="type-signature"></span>getProgramHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getProgramHash"><span class="type-signature"></span>getProgramHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -7442,6 +7564,67 @@ scripthash (for witness programs behind a scripthash).</p>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -7475,7 +7658,7 @@ scripthash (for witness programs behind a scripthash).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1403">line 1403</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1407">line 1407</a>
</li></ul></dd>
@ -8008,7 +8191,7 @@ scripthash (for witness programs behind a scripthash).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1384">line 1384</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1387">line 1387</a>
</li></ul></dd>
@ -8057,7 +8240,7 @@ scripthash (for witness programs behind a scripthash).</p>
<h4 class="name" id="getScriptHash"><span class="type-signature"></span>getScriptHash<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getScriptHash"><span class="type-signature"></span>getScriptHash<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -8075,6 +8258,67 @@ scripthash (for witness programs behind a scripthash).</p>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -8108,7 +8352,7 @@ scripthash (for witness programs behind a scripthash).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1357">line 1357</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1358">line 1358</a>
</li></ul></dd>
@ -8157,7 +8401,7 @@ scripthash (for witness programs behind a scripthash).</p>
<h4 class="name" id="getScriptHash160"><span class="type-signature"></span>getScriptHash160<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getScriptHash160"><span class="type-signature"></span>getScriptHash160<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -8175,6 +8419,67 @@ scripthash (for witness programs behind a scripthash).</p>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -8208,7 +8513,7 @@ scripthash (for witness programs behind a scripthash).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1366">line 1366</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1368">line 1368</a>
</li></ul></dd>
@ -8257,7 +8562,7 @@ scripthash (for witness programs behind a scripthash).</p>
<h4 class="name" id="getScriptHash256"><span class="type-signature"></span>getScriptHash256<span class="signature">()</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
<h4 class="name" id="getScriptHash256"><span class="type-signature"></span>getScriptHash256<span class="signature">(enc<span class="signature-attributes">nullable</span>)</span><span class="type-signature"> &rarr; {Buffer}</span></h4>
@ -8275,6 +8580,67 @@ scripthash (for witness programs behind a scripthash).</p>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>enc</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
&lt;nullable><br>
</td>
<td class="description last"><p><code>&quot;hex&quot;</code> or <code>null</code>.</p></td>
</tr>
</tbody>
</table>
@ -8308,7 +8674,7 @@ scripthash (for witness programs behind a scripthash).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1375">line 1375</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1378">line 1378</a>
</li></ul></dd>
@ -9068,7 +9434,7 @@ scripthash (for witness programs behind a scripthash).</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1514">line 1514</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1520">line 1520</a>
</li></ul></dd>
@ -11275,7 +11641,7 @@ master key based on the <code>passphrase</code> option.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1552">line 1552</a>
<a href="bcoin_wallet.js.html">bcoin/wallet.js</a>, <a href="bcoin_wallet.js.html#line1558">line 1558</a>
</li></ul></dd>
@ -11518,7 +11884,7 @@ master key based on the <code>passphrase</code> option.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/WalletDB.html

@ -5269,7 +5269,7 @@ has been derived. Save to address table. Save wallet.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/Witness.html

@ -2989,7 +2989,7 @@ a witness program.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

54
docs/Worker.html

@ -192,7 +192,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line172">line 172</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line216">line 216</a>
</li></ul></dd>
@ -292,7 +292,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line299">line 299</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line346">line 346</a>
</li></ul></dd>
@ -493,7 +493,7 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line317">line 317</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line364">line 364</a>
</li></ul></dd>
@ -524,7 +524,7 @@ the worker method specifies.</p></td>
<h4 class="name" id="send"><span class="type-signature"></span>send<span class="signature">(job, name, items)</span><span class="type-signature"></span></h4>
<h4 class="name" id="send"><span class="type-signature"></span>send<span class="signature">(job, name, items)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>
@ -670,7 +670,7 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line280">line 280</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line326">line 326</a>
</li></ul></dd>
@ -693,6 +693,24 @@ the worker method specifies.</p></td>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Boolean</span>
</dd>
</dl>
@ -701,7 +719,7 @@ the worker method specifies.</p></td>
<h4 class="name" id="sendEvent"><span class="type-signature"></span>sendEvent<span class="signature">(event, &hellip;arg)</span><span class="type-signature"></span></h4>
<h4 class="name" id="sendEvent"><span class="type-signature"></span>sendEvent<span class="signature">(event, &hellip;arg)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>
@ -844,7 +862,7 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line290">line 290</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line337">line 337</a>
</li></ul></dd>
@ -867,6 +885,24 @@ the worker method specifies.</p></td>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Boolean</span>
</dd>
</dl>
@ -975,7 +1011,7 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line260">line 260</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line305">line 305</a>
</li></ul></dd>
@ -1041,7 +1077,7 @@ the worker method specifies.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

286
docs/Workers.html

@ -644,6 +644,88 @@ on job ID.</p>
<h4 class="name" id="destroy"><span class="type-signature"></span>destroy<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Destroy all workers.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line137">line 137</a>
</li></ul></dd>
</dl>
<h4 class="name" id="execute"><span class="type-signature"></span>execute<span class="signature">(method, args, callback)</span><span class="type-signature"></span></h4>
@ -792,7 +874,7 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line117">line 117</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line158">line 158</a>
</li></ul></dd>
@ -946,7 +1028,181 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line152">line 152</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line196">line 196</a>
</li></ul></dd>
</dl>
<h4 class="name" id="sendEvent"><span class="type-signature"></span>sendEvent<span class="signature">(event, &hellip;arg)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>
<div class="description">
<p>Emit an event on the worker side (all workers).</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>event</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="attributes">
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>arg</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="attributes">
&lt;repeatable><br>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line116">line 116</a>
</li></ul></dd>
@ -969,6 +1225,24 @@ the worker method specifies.</p></td>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Boolean</span>
</dd>
</dl>
@ -977,7 +1251,7 @@ the worker method specifies.</p></td>
<h4 class="name" id="spawn"><span class="type-signature"></span>spawn<span class="signature">(index)</span><span class="type-signature"> &rarr; {<a href="Worker.html">Worker</a>}</span></h4>
<h4 class="name" id="spawn"><span class="type-signature"></span>spawn<span class="signature">(id)</span><span class="type-signature"> &rarr; {<a href="Worker.html">Worker</a>}</span></h4>
@ -1020,7 +1294,7 @@ the worker method specifies.</p></td>
<tr>
<td class="name"><code>index</code></td>
<td class="name"><code>id</code></td>
<td class="type">
@ -1318,7 +1592,7 @@ the worker method specifies.</p></td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line142">line 142</a>
<a href="bcoin_workers.js.html">bcoin/workers.js</a>, <a href="bcoin_workers.js.html#line186">line 186</a>
</li></ul></dd>
@ -1366,7 +1640,7 @@ the worker method specifies.</p></td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:09 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:57 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin.js.html

@ -87,7 +87,7 @@ module.exports = BCoin;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_abstractblock.js.html

@ -210,7 +210,7 @@ return AbstractBlock;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

176
docs/bcoin_address.js.html

@ -185,22 +185,16 @@ Address.prototype.getScript = function getScript() {
if (this.type !== 'multisig')
return;
if (this._script)
return this._script;
if (!this._script) {
assert(this.keys.length === this.n, 'Not all keys have been added.');
assert(this.keys.length === this.n, 'Not all keys have been added.');
redeem = bcoin.script.createMultisig(this.keys, this.m, this.n);
redeem = bcoin.script.createMultisig(this.keys, this.m, this.n);
if (this.witness) {
if (redeem.getSize() > 10000)
throw new Error('Redeem script too large (10000 byte limit).');
} else {
if (redeem.getSize() > 520)
throw new Error('Redeem script too large (520 byte limit).');
}
this._script = redeem;
this._script = redeem;
}
return this._script;
};
@ -211,45 +205,44 @@ Address.prototype.getScript = function getScript() {
*/
Address.prototype.getProgram = function getProgram() {
var program;
var hash, program;
if (!this.witness)
return;
if (this._program)
return this._program;
if (this.type === 'pubkeyhash') {
program = bcoin.script.createWitnessProgram(
0, Address.hash160(this.getPublicKey()));
} else if (this.type === 'multisig') {
program = bcoin.script.createWitnessProgram(
0, Address.sha256(this.getScript().encode()));
if (!this._program) {
if (this.type === 'pubkeyhash') {
hash = Address.hash160(this.getPublicKey());
program = bcoin.script.createWitnessProgram(0, hash);
} else if (this.type === 'multisig') {
hash = Address.sha256(this.getScript().encode());
program = bcoin.script.createWitnessProgram(0, hash);
} else {
assert(false, 'Unknown address type.');
}
this._program = program;
}
assert(program);
this._program = program;
return this._program;
};
/**
* Get address' ripemd160 program scripthash
* (for witness programs behind a scripthash).
* @param {String?} enc - `"hex"` or `null`.
* @returns {Buffer}
*/
Address.prototype.getProgramHash = function getProgramHash() {
Address.prototype.getProgramHash = function getProgramHash(enc) {
if (!this.witness)
return;
if (this._programHash)
return this._programHash;
this._programHash = Address.hash160(this.getProgram().encode());
if (!this._programHash)
this._programHash = Address.hash160(this.getProgram().encode());
return this._programHash;
return enc === 'hex'
? this._programHash.toString('hex')
: this._programHash;
};
/**
@ -258,59 +251,66 @@ Address.prototype.getProgramHash = function getProgramHash() {
*/
Address.prototype.getProgramAddress = function getProgramAddress() {
var hash, address;
if (!this.witness)
return;
if (this._programAddress)
return this._programAddress;
this._programAddress =
Address.compileHash(this.getProgramHash(), 'scripthash');
if (!this._programAddress) {
hash = this.getProgramHash();
address = Address.compileHash(hash, 'scripthash');
this._programAddress = address;
}
return this._programAddress;
};
/**
* Get scripthash.
* @param {String?} enc - `"hex"` or `null`.
* @returns {Buffer}
*/
Address.prototype.getScriptHash = function getScriptHash() {
return this.getScriptHash160();
Address.prototype.getScriptHash = function getScriptHash(enc) {
if (this.witness)
return this.getScriptHash256(enc);
return this.getScriptHash160(enc);
};
/**
* Get ripemd160 scripthash.
* @param {String?} enc - `"hex"` or `null`.
* @returns {Buffer}
*/
Address.prototype.getScriptHash160 = function getScriptHash256() {
Address.prototype.getScriptHash160 = function getScriptHash256(enc) {
if (this.type !== 'multisig')
return;
if (this._scriptHash160)
return this._scriptHash160;
this._scriptHash160 = Address.hash160(this.getScript().encode());
if (!this._scriptHash160)
this._scriptHash160 = Address.hash160(this.getScript().encode());
return this._scriptHash160;
return enc === 'hex'
? this._scriptHash160.toString('hex')
: this._scriptHash160;
};
/**
* Get sha256 scripthash.
* @param {String?} enc - `"hex"` or `null`.
* @returns {Buffer}
*/
Address.prototype.getScriptHash256 = function getScriptHash256() {
Address.prototype.getScriptHash256 = function getScriptHash256(enc) {
if (this.type !== 'multisig')
return;
if (this._scriptHash256)
return this._scriptHash256;
this._scriptHash256 = Address.sha256(this.getScript().encode());
if (!this._scriptHash256)
this._scriptHash256 = Address.sha256(this.getScript().encode());
return this._scriptHash256;
return enc === 'hex'
? this._scriptHash256.toString('hex')
: this._scriptHash256;
};
/**
@ -319,18 +319,20 @@ Address.prototype.getScriptHash256 = function getScriptHash256() {
*/
Address.prototype.getScriptAddress = function getScriptAddress() {
var hash, address;
if (this.type !== 'multisig')
return;
if (this._scriptAddress)
return this._scriptAddress;
if (this.witness) {
this._scriptAddress =
Address.compileHash(this.getScriptHash256(), 'witnessscripthash', 0);
} else {
this._scriptAddress =
Address.compileHash(this.getScriptHash160(), 'scripthash');
if (!this._scriptAddress) {
if (this.witness) {
hash = this.getScriptHash256();
address = Address.compileHash(hash, 'witnessscripthash', 0);
} else {
hash = this.getScriptHash160();
address = Address.compileHash(hash, 'scripthash');
}
this._scriptAddress = address;
}
return this._scriptAddress;
@ -338,16 +340,17 @@ Address.prototype.getScriptAddress = function getScriptAddress() {
/**
* Get public key hash.
* @param {String?} enc - `"hex"` or `null`.
* @returns {Buffer}
*/
Address.prototype.getKeyHash = function getKeyHash() {
if (this._hash)
return this._hash;
this._hash = Address.hash160(this.getPublicKey());
Address.prototype.getKeyHash = function getKeyHash(enc) {
if (!this._hash)
this._hash = Address.hash160(this.getPublicKey());
return this._hash;
return enc === 'hex'
? this._hash.toString('hex')
: this._hash;
};
/**
@ -356,26 +359,30 @@ Address.prototype.getKeyHash = function getKeyHash() {
*/
Address.prototype.getKeyAddress = function getKeyAddress() {
if (this._address)
return this._address;
if (this.witness)
this._address = Address.compileHash(this.getKeyHash(), 'witnesspubkeyhash', 0);
else
this._address = Address.compileHash(this.getKeyHash(), 'pubkeyhash');
var hash, address;
if (!this._address) {
hash = this.getKeyHash();
if (this.witness)
address = Address.compileHash(hash, 'witnesspubkeyhash', 0);
else
address = Address.compileHash(hash, 'pubkeyhash');
this._address = address;
}
return this._address;
};
/**
* Get hash.
* @param {String?} enc - `"hex"` or `null`.
* @returns {Buffer}
*/
Address.prototype.getHash = function getHash() {
Address.prototype.getHash = function getHash(enc) {
if (this.type === 'multisig')
return this.getScriptHash();
return this.getKeyHash();
return this.getScriptHash(enc);
return this.getKeyHash(enc);
};
/**
@ -390,18 +397,17 @@ Address.prototype.getAddress = function getAddress() {
};
Address.prototype._getAddressMap = function _getAddressMap() {
if (this.addressMap)
return this.addressMap;
if (!this.addressMap) {
this.addressMap = {};
this.addressMap = {};
this.addressMap[this.getKeyAddress()] = true;
this.addressMap[this.getKeyAddress()] = true;
if (this.type === 'multisig')
this.addressMap[this.getScriptAddress()] = true;
if (this.type === 'multisig')
this.addressMap[this.getScriptAddress()] = true;
if (this.witness)
this.addressMap[this.getProgramAddress()] = true;
if (this.witness)
this.addressMap[this.getProgramAddress()] = true;
}
return this.addressMap;
};
@ -838,7 +844,7 @@ return Address;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_aes.js.html

@ -1155,7 +1155,7 @@ var RCON = [
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

20
docs/bcoin_block.js.html

@ -627,20 +627,13 @@ Block.prototype.toRaw = function toRaw(enc) {
* Parse a serialized block.
* @param {Buffer} data
* @param {String?} enc - Encoding, can be `'hex'` or null.
* @param {String?} type - Can be `'block'`, `'merkleblock'`, or `'headers'`.
* @returns {Object} A "naked" block object.
*/
Block.parseRaw = function parseRaw(data, enc, type) {
Block.parseRaw = function parseRaw(data, enc) {
if (enc === 'hex')
data = new Buffer(data, 'hex');
if (type === 'merkleblock')
return bcoin.merkleblock.parseRaw(data);
if (type === 'headers')
return bcoin.headers.parseRaw(data);
return bcoin.protocol.parser.parseBlock(data);
};
@ -648,17 +641,10 @@ Block.parseRaw = function parseRaw(data, enc, type) {
* Instantiate a block from a serialized Buffer.
* @param {Buffer} data
* @param {String?} enc - Encoding, can be `'hex'` or null.
* @param {String?} type - Can be `'block'`, `'merkleblock'`, or `'headers'`.
* @returns {Block}
*/
Block.fromRaw = function fromRaw(data, enc, type) {
if (type === 'merkleblock')
return bcoin.merkleblock.fromRaw(data, enc);
if (type === 'headers')
return bcoin.headers.fromRaw(data, enc);
Block.fromRaw = function fromRaw(data, enc) {
return new Block(Block.parseRaw(data, enc));
};
@ -704,7 +690,7 @@ return Block;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

8
docs/bcoin_bloom.js.html

@ -40,7 +40,7 @@ var assert = utils.assert;
* Bloom Filter
* @exports Bloom
* @constructor
* @param {Number|Bufer} size - Filter size in bytes, or filter itself.
* @param {Number|Bufer} size - Filter size in bits, or filter itself.
* @param {Number} n - Number of hash functions.
* @param {Number} tweak - Seed value.
* @property {Buffer} filter
@ -102,7 +102,7 @@ Bloom.prototype.add = function add(val, enc) {
for (i = 0; i &lt; this.n; i++) {
bit = this.hash(val, i);
pos = 1 &lt;&lt; (bit &amp; 0x1f);
shift = bit >> 5;
shift = bit >>> 5;
shift *= 4;
utils.writeU32(this.filter, utils.readU32(this.filter, shift) | pos, shift);
@ -125,7 +125,7 @@ Bloom.prototype.test = function test(val, enc) {
for (i = 0; i &lt; this.n; i++) {
bit = this.hash(val, i);
pos = 1 &lt;&lt; (bit &amp; 0x1f);
shift = bit >> 5;
shift = bit >>> 5;
shift *= 4;
if ((utils.readU32(this.filter, shift) &amp; pos) === 0)
@ -280,7 +280,7 @@ module.exports = Bloom;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_bst.js.html

@ -761,7 +761,7 @@ module.exports = BST;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

622
docs/bcoin_chain.js.html

File diff suppressed because it is too large

77
docs/bcoin_chainblock.js.html

@ -85,7 +85,6 @@ function ChainBlock(chain, data, prev) {
this.nonce = data.nonce;
this.height = data.height;
this.chainwork = data.chainwork || this.getChainwork(prev);
this.ancestors = [];
}
/**
@ -127,7 +126,7 @@ ChainBlock.prototype.isGenesis = function isGenesis() {
* @param {Function} callback
*/
ChainBlock.prototype.ensureAncestors = function ensureAncestors(callback) {
ChainBlock.prototype.getRetargetAncestors = function getRetargetAncestors(callback) {
var majorityWindow = network.block.majorityWindow;
var medianTimespan = constants.block.MEDIAN_TIMESPAN;
var powDiffInterval = network.pow.retargetInterval;
@ -135,33 +134,7 @@ ChainBlock.prototype.ensureAncestors = function ensureAncestors(callback) {
var max = Math.max(majorityWindow, medianTimespan);
if ((this.height + 1) % powDiffInterval === 0 || allowMinDiff)
max = Math.max(max, powDiffInterval);
assert(this.ancestors.length === 0);
return this.alloc(max, callback);
};
/**
* Allocate ancestors.
* @param {Number} max - Number of ancestors.
* @param {Function} callback
*/
ChainBlock.prototype.alloc = function alloc(max, callback) {
var self = this;
var i;
return this.getAncestors(max, function(err, ancestors) {
if (err)
return callback(err);
assert(ancestors);
self.ancestors.length = 0;
for (i = 0; i &lt; ancestors.length; i++)
self.ancestors.push(ancestors[i]);
return callback();
});
return this.getAncestors(max, callback);
};
/**
@ -172,14 +145,11 @@ ChainBlock.prototype.alloc = function alloc(max, callback) {
ChainBlock.prototype.getAncestors = function getAncestors(max, callback) {
var entry = this;
var ancestors = this.ancestors.slice();
var ancestors = [];
if (max === 0)
return callback(null, []);
if (ancestors.length)
entry = ancestors.pop();
assert(utils.isNumber(max));
// Try to do this iteratively and synchronously
@ -214,15 +184,6 @@ ChainBlock.prototype.getAncestors = function getAncestors(max, callback) {
})(null, entry);
};
/**
* Free up ancestors. This is very important because
* chain entries are cached in the ChainDB's LRU cache.
*/
ChainBlock.prototype.free = function free() {
this.ancestors.length = 0;
};
/**
* Test whether the entry is in the main chain.
* @param {Function} callback - Return [Error, Boolean].
@ -239,22 +200,32 @@ ChainBlock.prototype.isMainChain = function isMainChain(callback) {
*/
ChainBlock.prototype.getAncestorByHeight = function getAncestorByHeight(height, callback) {
var self = this;
if (height &lt; 0)
return utils.nextTick(callback);
assert(height >= 0);
assert(height &lt;= this.height);
return this.getAncestor(this.height - height, function(err, entry) {
this.isMainChain(function(err, main) {
if (err)
return callback(err);
if (!entry)
return callback();
if (main)
return self.chain.db.get(height, callback);
return self.getAncestor(self.height - height, function(err, entry) {
if (err)
return callback(err);
assert(entry.height === height);
if (!entry)
return callback();
return callback(null, entry);
assert(entry.height === height);
return callback(null, entry);
});
});
};
@ -319,9 +290,6 @@ ChainBlock.prototype.getMedianTime = function getMedianTime(ancestors) {
var timeSpan = constants.block.MEDIAN_TIMESPAN;
var i;
if (!ancestors)
ancestors = this.ancestors;
for (i = 0; i &lt; timeSpan &amp;&amp; entry; i++, entry = ancestors[i])
median.push(entry.ts);
@ -410,9 +378,6 @@ ChainBlock.prototype.isSuperMajority = function isSuperMajority(version, require
var majorityWindow = network.block.majorityWindow;
var i;
if (!ancestors)
ancestors = this.ancestors;
for (i = 0; i &lt; majorityWindow &amp;&amp; found &lt; required &amp;&amp; entry; i++) {
if (entry.version >= version)
found++;
@ -530,9 +495,7 @@ ChainBlock.fromJSON = function fromJSON(chain, json) {
*/
ChainBlock.prototype.inspect = function inspect() {
var json = this.toJSON();
json.ancestors = this.ancestors.length;
return json;
return this.toJSON();
};
/**
@ -565,7 +528,7 @@ return ChainBlock;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

14
docs/bcoin_chaindb.js.html

@ -173,7 +173,7 @@ ChainDB.prototype._init = function _init() {
}, null);
block = bcoin.block.fromRaw(network.genesisBlock, 'hex');
block.height = 0;
block.setHeight(0);
self.save(genesis, block, true, finish);
});
@ -657,6 +657,9 @@ ChainDB.prototype.isMainChain = function isMainChain(hash, callback) {
query = hash;
}
if (hash === this.chain.tip.hash || hash === network.genesis.hash)
return utils.asyncify(callback)(null, true);
return this.getHeight(query, function(err, height) {
if (err)
return callback(err);
@ -872,6 +875,10 @@ ChainDB.prototype.connectBlock = function connectBlock(block, batch, callback) {
for (j = 0; j &lt; tx.outputs.length; j++) {
output = tx.outputs[j];
key = hash + '/' + j;
if (output.script.isUnspendable())
continue;
coin = bcoin.coin(tx, j);
if (self.options.indexAddress) {
@ -959,6 +966,9 @@ ChainDB.prototype.disconnectBlock = function disconnectBlock(block, batch, callb
output = tx.outputs[j];
key = hash + '/' + j;
if (output.script.isUnspendable())
continue;
if (self.options.indexAddress) {
address = output.getAddress();
if (address)
@ -1670,7 +1680,7 @@ return ChainDB;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_coin.js.html

@ -330,7 +330,7 @@ return Coin;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_coins.js.html

@ -320,7 +320,7 @@ return Coins;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_coinview.js.html

@ -208,7 +208,7 @@ return CoinView;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_compactblock.js.html

@ -163,7 +163,7 @@ return CompactBlock;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_ec.js.html

@ -348,7 +348,7 @@ ec.toLowS = function toLowS(sig) {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_env.js.html

@ -345,7 +345,7 @@ module.exports = Environment;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_errors.js.html

@ -159,7 +159,7 @@ return {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

5
docs/bcoin_fullnode.js.html

@ -115,6 +115,7 @@ Fullnode.prototype._init = function _init() {
witness: network.witness,
listen: this.options.listen,
selfish: this.options.selfish,
broadcast: this.options.broadcast,
spv: false
});
@ -135,7 +136,7 @@ Fullnode.prototype._init = function _init() {
node: this,
key: this.options.sslKey,
cert: this.options.sslCert,
port: this.options.httpPort || 8080,
port: this.options.httpPort || network.rpcPort,
host: this.options.httpHost || '0.0.0.0'
});
@ -642,7 +643,7 @@ return Fullnode;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_hd.js.html

@ -1391,7 +1391,7 @@ return HD;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_headers.js.html

@ -201,7 +201,7 @@ return Headers;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_http_base.js.html

@ -551,7 +551,7 @@ module.exports = HTTPBase;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_http_client.js.html

@ -960,7 +960,7 @@ return HTTPClient;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_http_provider.js.html

@ -247,7 +247,7 @@ return HTTPProvider;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_http_request.js.html

@ -381,7 +381,7 @@ module.exports = request;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_http_server.js.html

@ -831,7 +831,7 @@ return HTTPServer;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_input.js.html

@ -456,7 +456,7 @@ return Input;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_keypair.js.html

@ -308,7 +308,7 @@ return KeyPair;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_ldb.js.html

@ -178,7 +178,7 @@ return ldb;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_locker.js.html

@ -209,7 +209,7 @@ module.exports = Locker;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_lowlevelup.js.html

@ -218,7 +218,7 @@ module.exports = LowlevelUp;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_lru.js.html

@ -350,7 +350,7 @@ module.exports = LRU;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

189
docs/bcoin_mempool.js.html

@ -233,36 +233,72 @@ Mempool.prototype.addBlock = function addBlock(block, callback, force) {
callback = utils.wrap(callback, unlock);
utils.forEachSerial(block.txs, function(tx, next) {
var hash = tx.hash('hex');
var copy;
// We add the txs we haven't seen to
// the mempool first to potentially
// resolve orphans.
utils.forEachSerial(block.txs, function(tx, next) {
var hash, copy;
if (!self.chain.isFull())
return next();
if (tx.isCoinbase())
return next();
self.getTX(hash, function(err, existing) {
if (err)
return callback(err);
hash = tx.hash('hex');
if (!existing)
return self.removeOrphan(hash, next);
self.hasTX(hash, function(err, exists) {
if (err)
return next(err);
copy = tx.clone();
copy.ts = existing.ts;
copy.block = existing.block;
copy.height = existing.height;
copy.ps = existing.ps;
if (exists)
return next();
self.removeUnchecked(copy, function(err) {
self.removeOrphan(hash, function(err) {
if (err)
return next(err);
self.emit('confirmed', tx, block);
copy = tx.clone();
copy.unsetBlock();
return next();
self.addUnchecked(tx, next);
});
});
}, callback);
}, function(err) {
if (err)
return callback(err);
utils.forEachSerial(block.txs.slice().reverse(), function(tx, next) {
var hash = tx.hash('hex');
var copy;
if (tx.isCoinbase())
return next();
self.getTX(hash, function(err, existing) {
if (err)
return next(err);
if (!existing)
return self.removeOrphan(hash, next);
copy = tx.clone();
copy.ts = existing.ts;
copy.block = existing.block;
copy.height = existing.height;
copy.ps = existing.ps;
self.removeUnchecked(copy, function(err) {
if (err)
return next(err);
self.emit('confirmed', tx, block);
return next();
});
});
}, callback);
});
};
/**
@ -281,7 +317,7 @@ Mempool.prototype.removeBlock = function removeBlock(block, callback, force) {
callback = utils.wrap(callback, unlock);
utils.forEachSerial(block.txs.slice().reverse(), function(tx, next) {
utils.forEachSerial(block.txs, function(tx, next) {
var copy;
if (tx.isCoinbase())
@ -496,6 +532,25 @@ Mempool.prototype.hasTX = function hasTX(hash, callback) {
return this.tx.hasTX(hash, callback);
};
/**
* Test the mempool to see if it contains a transaction or an orphan.
* @param {Hash} hash
* @param {Function} callback - Returns [Error, Boolean].
*/
Mempool.prototype.hasAny = function hasAny(hash, callback) {
var self = this;
return this.hasTX(hash, function(err, exists) {
if (err)
return callback(err);
if (exists)
return callback(null, true);
self.hasOrphan(hash, callback);
});
};
/**
* Add a transaction to the mempool. Note that this
* will lock the mempool until the transaction is
@ -585,15 +640,12 @@ Mempool.prototype.addTX = function addTX(tx, callback, force) {
return callback(err);
if (!tx.hasCoins()) {
// if (tx.getSize() > 5000)
// return callback();
if (self.totalSize > constants.mempool.MAX_MEMPOOL_SIZE) {
return callback(new VerifyError(tx,
'insufficientfee',
'mempool full',
0));
}
bcoin.debug('Added orphan %s to mempool.', tx.rhash);
return self.storeOrphan(tx, callback);
}
@ -651,7 +703,7 @@ Mempool.prototype.addUnchecked = function addUnchecked(tx, callback) {
self.verify(tx, function(err) {
if (err) {
if (err.type === 'VerifyError') {
bcoin.debug('Could not resolved orphan %s: %s.',
bcoin.debug('Could not resolve orphan %s: %s.',
tx.rhash,
err.message);
return next();
@ -990,7 +1042,7 @@ Mempool.prototype.getOrphan = function getOrphan(orphanHash, callback) {
this.db.get('O/' + orphanHash, function(err, orphan) {
if (err &amp;&amp; err.type !== 'NotFoundError')
return next(err);
return callback(err);
if (!orphan)
return callback();
@ -1011,11 +1063,11 @@ Mempool.prototype.getOrphan = function getOrphan(orphanHash, callback) {
*/
Mempool.prototype.hasOrphan = function hasOrphan(orphanHash, callback) {
return this.getOrphan(orphanHash, function(err, tx) {
if (err)
this.db.get('O/' + orphanHash, function(err, orphan) {
if (err &amp;&amp; err.type !== 'NotFoundError')
return callback(err);
return callback(null, tx != null);
return callback(null, orphan != null);
});
};
@ -1268,22 +1320,7 @@ Mempool.prototype.getSnapshot = function getSnapshot(callback) {
*/
Mempool.prototype.checkLocks = function checkLocks(tx, flags, callback) {
var self = this;
var tip = this.chain.tip;
var index = new bcoin.chainblock(this.chain, {
hash: constants.NULL_HASH,
version: tip.version,
prevBlock: tip.hash,
merkleRoot: constants.NULL_HASH,
ts: utils.now(),
bits: 0,
nonce: 0,
height: tip.height + 1,
chainwork: tip.chainwork
});
return this.chain.checkLocks(tx, flags, index, callback);
return this.chain.checkLocks(this.chain.tip, tx, flags, callback);
};
/**
@ -1402,10 +1439,11 @@ Mempool.prototype._addUnchecked = function addUnchecked(tx, callback, force) {
batch.put('t/' + hash, tx.toExtended());
batch.put('m/' + pad32(tx.ps) + '/' + hash, DUMMY);
addresses = tx.getAddresses();
for (i = 0; i &lt; addresses.length; i++)
batch.put('T/' + addresses[i] + '/' + hash, DUMMY);
if (this.options.indexAddress) {
addresses = tx.getAddresses();
for (i = 0; i &lt; addresses.length; i++)
batch.put('T/' + addresses[i] + '/' + hash, DUMMY);
}
for (i = 0; i &lt; tx.inputs.length; i++) {
input = tx.inputs[i];
@ -1416,25 +1454,32 @@ Mempool.prototype._addUnchecked = function addUnchecked(tx, callback, force) {
assert(input.coin);
address = input.getAddress();
batch.del('c/' + key);
batch.put('s/' + key, tx.hash());
if (address)
batch.del('C/' + address + '/' + key);
if (this.options.indexAddress) {
address = input.getAddress();
if (address)
batch.del('C/' + address + '/' + key);
}
}
for (i = 0; i &lt; tx.outputs.length; i++) {
output = tx.outputs[i];
key = hash + '/' + i;
address = output.getAddress();
if (output.script.isUnspendable())
continue;
coin = bcoin.coin(tx, i).toRaw();
batch.put('c/' + key, coin);
if (address)
batch.put('C/' + address + '/' + key, DUMMY);
if (this.options.indexAddress) {
address = output.getAddress();
if (address)
batch.put('C/' + address + '/' + key, DUMMY);
}
}
return batch.write(callback);
@ -1473,10 +1518,11 @@ Mempool.prototype._removeUnchecked = function removeUnchecked(hash, callback, fo
batch.del('t/' + hash);
batch.del('m/' + pad32(tx.ps) + '/' + hash);
addresses = tx.getAddresses();
for (i = 0; i &lt; addresses.length; i++)
batch.del('T/' + addresses[i] + '/' + hash);
if (self.options.indexAddress) {
addresses = tx.getAddresses();
for (i = 0; i &lt; addresses.length; i++)
batch.del('T/' + addresses[i] + '/' + hash);
}
utils.forEachSerial(tx.inputs, function(input, next) {
var key = input.prevout.hash + '/' + input.prevout.index;
@ -1488,8 +1534,6 @@ Mempool.prototype._removeUnchecked = function removeUnchecked(hash, callback, fo
if (!input.coin)
return next();
address = input.getAddress();
batch.del('s/' + key);
self.hasTX(input.prevout.hash, function(err, result) {
@ -1498,12 +1542,18 @@ Mempool.prototype._removeUnchecked = function removeUnchecked(hash, callback, fo
if (result) {
batch.put('c/' + key, input.coin.toRaw());
if (address)
batch.put('C/' + address + '/' + key, DUMMY);
if (self.options.indexAddress) {
address = input.getAddress();
if (address)
batch.put('C/' + address + '/' + key, DUMMY);
}
} else {
batch.del('c/' + key);
if (address)
batch.del('C/' + address + '/' + key);
if (self.options.indexAddress) {
address = input.getAddress();
if (address)
batch.del('C/' + address + '/' + key);
}
}
next();
@ -1515,12 +1565,17 @@ Mempool.prototype._removeUnchecked = function removeUnchecked(hash, callback, fo
for (i = 0; i &lt; tx.outputs.length; i++) {
output = tx.outputs[i];
key = hash + '/' + i;
address = output.getAddress();
if (output.script.isUnspendable())
continue;
batch.del('c/' + key);
if (address)
batch.del('C/' + address + '/' + key);
if (self.options.indexAddress) {
address = output.getAddress();
if (address)
batch.del('C/' + address + '/' + key);
}
}
return batch.write(callback);
@ -1546,7 +1601,7 @@ return Mempool;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_merkleblock.js.html

@ -449,7 +449,7 @@ return MerkleBlock;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

4
docs/bcoin_miner.js.html

@ -282,7 +282,7 @@ Miner.prototype.createBlock = function createBlock(version, callback) {
assert(this.chain.tip);
// Find target
this.chain.getTargetAsync(this.chain.tip, ts, function(err, target) {
this.chain.getTargetAsync(ts, this.chain.tip, function(err, target) {
if (err)
return callback(err);
@ -720,7 +720,7 @@ return Miner;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

17
docs/bcoin_mtx.js.html

@ -801,25 +801,26 @@ MTX.prototype.sign = function sign(index, addr, type) {
* tx.addOutput({ address: ..., value: new bn(100000) });
* tx.addOutput({ address: ..., value: utils.satoshi('0.1') });
* tx.addOutput(receivingWallet, utils.satoshi('0.1'));
* @param {Wallet|Address|Object} obj - Wallet, Address, or options (see {@link Script.createOutputScript} for options).
* @param {Wallet|Address|Object} obj - Wallet, Address,
* or options (see {@link Script.createOutputScript} for options).
* @param {BN?} value - Only needs to be present for non-options.
*/
MTX.prototype.addOutput = function addOutput(obj, value) {
MTX.prototype.addOutput = function addOutput(address, value) {
var options, output;
assert(this.ts === 0, 'Cannot modify a confirmed tx.');
if ((obj instanceof bcoin.wallet) || (obj instanceof bcoin.address))
obj = obj.getAddress();
if ((address instanceof bcoin.wallet) || (address instanceof bcoin.address))
address = address.getAddress();
if (typeof obj === 'string') {
if (typeof address === 'string') {
options = {
address: obj,
address: address,
value: value
};
} else {
options = obj;
options = address;
}
output = bcoin.output(options, true);
@ -1444,7 +1445,7 @@ return MTX;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_node.js.html

@ -85,7 +85,7 @@ return Node;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_output.js.html

@ -273,7 +273,7 @@ return Output;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

13
docs/bcoin_peer.js.html

@ -218,9 +218,6 @@ Peer.prototype._init = function init() {
bcoin.debug(err.stack + '');
self.sendReject(null, 'malformed', 'error parsing message', 100);
self._error(err);
// Something is wrong here.
// Ignore this peer.
self.setMisbehavior(100);
});
this.challenge = utils.nonce();
@ -642,6 +639,9 @@ Peer.prototype._onPacket = function onPacket(packet) {
case 'verack':
this._emit(cmd, payload);
break;
case 'notfound':
this._emit(cmd, payload);
break;
default:
bcoin.debug('Unknown packet: %s', cmd);
this._emit(cmd, payload);
@ -1308,9 +1308,12 @@ Peer.prototype._handleGetAddr = function handleGetAddr() {
ipv6: version === 6 ? ip : null,
port: peer.socket.remotePort || network.port
});
if (items.length === 1000)
break;
}
return this.write(this.framer.addr(peers));
return this.write(this.framer.addr(items));
};
Peer.prototype._handleInv = function handleInv(items) {
@ -1488,7 +1491,7 @@ return Peer;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

101
docs/bcoin_pool.js.html

@ -257,9 +257,23 @@ Pool.prototype.connect = function connect() {
if (this.connected)
return;
if (this.mempool &amp;&amp; this.options.broadcast) {
this.mempool.on('tx', function(tx) {
self.broadcast(tx);
if (this.options.broadcast) {
if (this.mempool) {
this.mempool.on('tx', function(tx) {
self.broadcast(tx);
});
}
// Normally we would also broadcast
// competing chains, but we want to
// avoid getting banned if an evil
// miner sends us an invalid competing
// chain that we can't connect and
// verify yet.
this.chain.on('block', function(block) {
if (!self.synced)
return;
self.broadcast(block);
});
}
@ -495,10 +509,11 @@ Pool.prototype._startInterval = function _startInterval() {
if (self.chain.isFull())
return;
if (self.chain.locker.pending.length > 0)
if (self.chain.isBusy())
return self._startTimer();
bcoin.debug('Stall recovery: loading again.');
// self._load();
}
@ -755,26 +770,30 @@ Pool.prototype._handleBlocks = function _handleBlocks(hashes, peer, callback) {
// Resolve orphan chain.
if (self.chain.hasOrphan(hash)) {
bcoin.debug('Peer sent a hash that is already a known orphan.');
self.resolveOrphan(peer, null, hash, next);
return;
return self.resolveOrphan(peer, null, hash, next);
}
// Normally we request the hashContinue.
// In the odd case where we already have
// it, we can do one of two things: either
// force re-downloading of the block to
// continue the sync, or do a getblocks
// from the last hash.
if (i === hashes.length - 1) {
// Request more hashes:
// self.getBlocks(peer, hash, null, next);
// Re-download the block (traditional method):
self.getData(peer, self.block.type, hash, { force: true }, next);
return;
}
self.getData(peer, self.block.type, hash, function(err, exists) {
if (err)
return next(err);
// Normally we request the hashContinue.
// In the odd case where we already have
// it, we can do one of two things: either
// force re-downloading of the block to
// continue the sync, or do a getblocks
// from the last hash (this will reset
// the hashContinue on the remote node).
if (exists &amp;&amp; i === hashes.length - 1) {
// Request more hashes:
self.getBlocks(peer, hash, null, next);
// Re-download the block (traditional method):
// self.getData(peer, self.block.type, hash, true, next);
return;
}
// Request block.
self.getData(peer, self.block.type, hash, next);
next();
});
}, function(err) {
if (err)
return callback(err);
@ -1589,7 +1608,7 @@ Pool.prototype.getData = function getData(peer, type, hash, options, callback) {
if (typeof options === 'function') {
callback = options;
options = {};
options = null;
}
callback = utils.ensure(callback);
@ -1597,23 +1616,26 @@ Pool.prototype.getData = function getData(peer, type, hash, options, callback) {
if (this.destroyed)
return callback();
if (!options)
if (options == null)
options = {};
if (typeof options === 'boolean')
options = { force: options };
function done(err, exists) {
if (err)
return callback(err);
if (exists)
return callback();
return callback(null, true);
if (self.request.map[hash])
return callback();
return callback(null, true);
item = new LoadRequest(self, peer, type, hash);
if (options.noQueue)
return callback();
return callback(null, false);
if (type === self.tx.type) {
if (peer.queue.tx.length === 0) {
@ -1631,20 +1653,27 @@ Pool.prototype.getData = function getData(peer, type, hash, options, callback) {
peer.queue.tx.push(item.start());
return callback();
return callback(null, false);
}
peer.queue.block.push(item);
return callback();
return callback(null, false);
}
if (options.force) {
return utils.nextTick(function() {
return done(null, false);
});
}
if (!options.force &amp;&amp; type !== self.tx.type)
return self.chain.has(hash, done);
if (type === this.tx.type) {
if (!this.mempool)
return utils.asyncify(done)(null, false);
return this.mempool.hasAny(hash, done);
}
return utils.nextTick(function() {
return done(null, false);
});
return this.chain.has(hash, done);
};
/**
@ -1671,7 +1700,7 @@ Pool.prototype.scheduleRequests = function scheduleRequests(peer) {
Pool.prototype._sendRequests = function _sendRequests(peer) {
var size, items;
if (this.chain.locker.pending.length > 0)
if (this.chain.isBusy())
return;
if (peer.queue.block.length === 0)
@ -1741,7 +1770,7 @@ Pool.prototype.getBlock = function getBlock(hash, callback) {
if (!this.peers.load)
return setTimeout(this.getBlock.bind(this, hash, callback), 1000);
this.getData(this.peers.load, this.block.type, hash, { force: true }, function(block) {
this.getData(this.peers.load, this.block.type, hash, true, function(block) {
callback(null, block);
});
@ -2338,7 +2367,7 @@ return Pool;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_profiler.js.html

@ -286,7 +286,7 @@ return profiler;
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

2
docs/bcoin_protocol_constants.js.html

@ -819,7 +819,7 @@ exports.CURRENCY_UNIT = 'BTC';
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue May 03 2016 03:57:07 GMT-0700 (PDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Sat May 07 2016 04:13:55 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save