object CoinSelectionAlgo extends StringFactory[CoinSelectionAlgo]
- Alphabetic
- By Inheritance
- CoinSelectionAlgo
- StringFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class SelectedUtxos(outPoints: Set[(DoubleSha256Digest, Int)]) extends CoinSelectionAlgo with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val all: Vector[CoinSelectionAlgo]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromString(string: String): CoinSelectionAlgo
Tries to parse a string to type t, throws an exception if fails
Tries to parse a string to type t, throws an exception if fails
- Definition Classes
- CoinSelectionAlgo → StringFactory
- def fromStringOpt(str: String): Option[CoinSelectionAlgo]
Treis to parse a string to type t, returns None if failure
Treis to parse a string to type t, returns None if failure
- Definition Classes
- CoinSelectionAlgo → StringFactory
- def fromStringT(string: String): Try[CoinSelectionAlgo]
Tries to parse string to type t, returns scala.util.Failure if the fails
Tries to parse string to type t, returns scala.util.Failure if the fails
- Definition Classes
- StringFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val independentAlgos: Vector[CoinSelectionAlgo]
Coin selection algos that don't call other ones
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val multiCoinSelectionAlgos: Vector[CoinSelectionAlgo]
Coin selection algos that call upon other ones and choose the best
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object AccumulateLargest extends CoinSelectionAlgo with Product with Serializable
Greedily selects from walletUtxos starting with the largest outputs, skipping outputs with values below their fees.
Greedily selects from walletUtxos starting with the largest outputs, skipping outputs with values below their fees. Better for high fee environments than accumulateSmallestViable.
- case object AccumulateSmallestViable extends CoinSelectionAlgo with Product with Serializable
Greedily selects from walletUtxos starting with the smallest outputs, skipping outputs with values below their fees.
Greedily selects from walletUtxos starting with the smallest outputs, skipping outputs with values below their fees. Good for low fee environments to consolidate UTXOs.
Has the potential privacy breach of connecting a ton of UTXOs to one address.
- case object LeastWaste extends CoinSelectionAlgo with Product with Serializable
Tries all coin selection algos and uses the one with the least waste
- case object RandomSelection extends CoinSelectionAlgo with Product with Serializable
Randomly selects utxos until it has enough to fund the desired amount, should only be used for research purposes
- case object StandardAccumulate extends CoinSelectionAlgo with Product with Serializable
Greedily selects from walletUtxos in order, skipping outputs with values below their fees