Skip to content
Permalink
Browse files

Merge branch 'gh-pages-deploy' into gh-pages

  • Loading branch information...
Travis CI User
Travis CI User committed Jul 11, 2019
2 parents f0e1668 + eff46fc commit b7d26444df184fb54a035a04520c5c90c826daf5
Showing with 5,040 additions and 4,898 deletions.
  1. +1 −1 haddock/edge/all/doc-index-All.html
  2. +1 −1 haddock/edge/all/doc-index-E.html
  3. +1 −1 haddock/edge/all/doc-index-I.html
  4. +1 −1 haddock/edge/all/doc-index-M.html
  5. +1 −1 haddock/edge/all/doc-index-V.html
  6. +332 −332 haddock/edge/cardano-wallet-cli-2019.6.24/src/Cardano.CLI.html
  7. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet-Api-Server.html
  8. +3 −3 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet-Api-Types.html
  9. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet-Primitive-CoinSelection-LargestFirst.html
  10. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet-Primitive-CoinSelection-Random.html
  11. +5 −2 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet-Primitive-CoinSelection.html
  12. +5 −2 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet-Transaction.html
  13. +11 −7 haddock/edge/cardano-wallet-core-2019.6.24/Cardano-Wallet.html
  14. BIN haddock/edge/cardano-wallet-core-2019.6.24/cardano-wallet-core.haddock
  15. +118 −89 haddock/edge/cardano-wallet-core-2019.6.24/cardano-wallet-core.txt
  16. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/doc-index-All.html
  17. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/doc-index-E.html
  18. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/doc-index-I.html
  19. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/doc-index-V.html
  20. +1 −1 haddock/edge/cardano-wallet-core-2019.6.24/doc-index.json
  21. +601 −603 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Api.Server.html
  22. +304 −303 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Api.Types.html
  23. +22 −22 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Api.html
  24. +63 −63 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.DB.MVar.html
  25. +65 −65 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.DB.Sqlite.Types.html
  26. +364 −364 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.DB.Sqlite.html
  27. +22 −22 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.DB.html
  28. +13 −13 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Network.html
  29. +159 −159 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.AddressDerivation.html
  30. +148 −148 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.AddressDiscovery.html
  31. +95 −90 ...k/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.CoinSelection.LargestFirst.html
  32. +210 −204 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.CoinSelection.Random.html
  33. +88 −81 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.CoinSelection.html
  34. +70 −70 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.Fee.html
  35. +128 −128 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Primitive.Model.html
  36. +159 −142 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.Transaction.html
  37. +518 −512 haddock/edge/cardano-wallet-core-2019.6.24/src/Cardano.Wallet.html
  38. +66 −66 haddock/edge/cardano-wallet-core-2019.6.24/src/Network.Wai.Middleware.Logging.html
  39. +16 −16 haddock/edge/cardano-wallet-core-2019.6.24/src/Network.Wai.Middleware.ServantError.html
  40. +4 −4 haddock/edge/cardano-wallet-core-2019.6.24/src/Paths_cardano_wallet_core.html
  41. +1 −1 haddock/edge/cardano-wallet-http-bridge-2019.6.24/Cardano-Wallet-HttpBridge-Compatibility.html
  42. BIN haddock/edge/cardano-wallet-http-bridge-2019.6.24/cardano-wallet-http-bridge.haddock
  43. +1 −0 haddock/edge/cardano-wallet-http-bridge-2019.6.24/cardano-wallet-http-bridge.txt
  44. +13 −13 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Api.html
  45. +168 −168 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Binary.html
  46. +30 −30 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Compatibility.html
  47. +6 −6 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Environment.html
  48. +109 −109 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Network.html
  49. +3 −3 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Primitive.Types.html
  50. +263 −246 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Cardano.Wallet.HttpBridge.Transaction.html
  51. +27 −27 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Data.Packfile.html
  52. +27 −27 haddock/edge/cardano-wallet-http-bridge-2019.6.24/src/Servant.Extra.ContentTypes.html
  53. +5 −5 haddock/edge/cardano-wallet-jormungandr-2019.6.24/Cardano-Wallet-Jormungandr-Binary.html
  54. +1 −1 haddock/edge/cardano-wallet-jormungandr-2019.6.24/Cardano-Wallet-Jormungandr-Compatibility.html
  55. BIN haddock/edge/cardano-wallet-jormungandr-2019.6.24/cardano-wallet-jormungandr.haddock
  56. +3 −0 haddock/edge/cardano-wallet-jormungandr-2019.6.24/cardano-wallet-jormungandr.txt
  57. +1 −1 haddock/edge/cardano-wallet-jormungandr-2019.6.24/doc-index.html
  58. +1 −1 haddock/edge/cardano-wallet-jormungandr-2019.6.24/doc-index.json
  59. +8 −8 haddock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Api.html
  60. +511 −501 haddock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Binary.html
  61. +56 −56 haddock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Compatibility.html
  62. +12 −12 haddock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Environment.html
  63. +92 −92 haddock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Network.html
  64. +3 −3 ...ock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Primitive.Types.html
  65. +92 −60 haddock/edge/cardano-wallet-jormungandr-2019.6.24/src/Cardano.Wallet.Jormungandr.Transaction.html
  66. +1 −1 haddock/edge/doc-index-All.html
  67. +1 −1 haddock/edge/doc-index-E.html
  68. +1 −1 haddock/edge/doc-index-I.html
  69. +1 −1 haddock/edge/doc-index-M.html
  70. +1 −1 haddock/edge/doc-index-V.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -1,2 +1,2 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Cardano.Wallet.Primitive.CoinSelection.LargestFirst</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Cardano.Wallet.Primitive.CoinSelection.LargestFirst.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">cardano-wallet-core-2019.6.24: The Wallet Backend for a Cardano node.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>&#169; 2018-2019 IOHK</td></tr><tr><th>License</th><td>MIT</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Cardano.Wallet.Primitive.CoinSelection.LargestFirst</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module contains the implementation of largestFirst
input selection algorithm</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:largestFirst">largestFirst</a> :: <span class="keyword">forall</span> m. <a href="../base-4.12.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>)</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:largestFirst" class="def">largestFirst</a> :: <span class="keyword">forall</span> m. <a href="../base-4.12.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>) <a href="src/Cardano.Wallet.Primitive.CoinSelection.LargestFirst.html#largestFirst" class="link">Source</a> <a href="#v:largestFirst" class="selflink">#</a></p><div class="doc"><p>Largest-first input selection policy</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.22.0</p></div></body></html>
input selection algorithm</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:largestFirst">largestFirst</a> :: <span class="keyword">forall</span> m e. <a href="../base-4.12.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> e -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> e) m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>)</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:largestFirst" class="def">largestFirst</a> :: <span class="keyword">forall</span> m e. <a href="../base-4.12.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> e -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> e) m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>) <a href="src/Cardano.Wallet.Primitive.CoinSelection.LargestFirst.html#largestFirst" class="link">Source</a> <a href="#v:largestFirst" class="selflink">#</a></p><div class="doc"><p>Largest-first input selection policy</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.22.0</p></div></body></html>
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Cardano.Wallet.Primitive.CoinSelection.Random</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Cardano.Wallet.Primitive.CoinSelection.Random.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">cardano-wallet-core-2019.6.24: The Wallet Backend for a Cardano node.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>&#169; 2018-2019 IOHK</td></tr><tr><th>License</th><td>MIT</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Cardano.Wallet.Primitive.CoinSelection.Random</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module contains the implementation of random
input selection algorithm</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:random">random</a> :: <span class="keyword">forall</span> m. MonadRandom m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>)</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:random" class="def">random</a> :: <span class="keyword">forall</span> m. MonadRandom m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>) <a href="src/Cardano.Wallet.Primitive.CoinSelection.Random.html#random" class="link">Source</a> <a href="#v:random" class="selflink">#</a></p><div class="doc"><p>Random-Improve Algorithm</p><ol><li>Randomly select outputs from the UTxO until the payment value is covered.
input selection algorithm</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:random">random</a> :: <span class="keyword">forall</span> m e. MonadRandom m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> e -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> e) m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>)</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:random" class="def">random</a> :: <span class="keyword">forall</span> m e. MonadRandom m =&gt; <a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelectionOptions" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelectionOptions</a> e -&gt; <a href="../base-4.12.0.0/Data-List-NonEmpty.html#t:NonEmpty" title="Data.List.NonEmpty">NonEmpty</a> <a href="Cardano-Wallet-Primitive-Types.html#t:TxOut" title="Cardano.Wallet.Primitive.Types">TxOut</a> -&gt; <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a> -&gt; <a href="../mtl-2.2.2/Control-Monad-Except.html#t:ExceptT" title="Control.Monad.Except">ExceptT</a> (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:ErrCoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">ErrCoinSelection</a> e) m (<a href="Cardano-Wallet-Primitive-CoinSelection.html#t:CoinSelection" title="Cardano.Wallet.Primitive.CoinSelection">CoinSelection</a>, <a href="Cardano-Wallet-Primitive-Types.html#t:UTxO" title="Cardano.Wallet.Primitive.Types">UTxO</a>) <a href="src/Cardano.Wallet.Primitive.CoinSelection.Random.html#random" class="link">Source</a> <a href="#v:random" class="selflink">#</a></p><div class="doc"><p>Random-Improve Algorithm</p><ol><li>Randomly select outputs from the UTxO until the payment value is covered.
(In the rare case that this fails because the maximum number of
transaction inputs has been exceeded, fall back on the largest-first
algorithm for this step.)</li><li>The algorithm first makes a random selection for each output from the UTxO,

0 comments on commit b7d2644

Please sign in to comment.
You can’t perform that action at this time.