Class CoinSelection


  • public class CoinSelection
    extends java.lang.Object
    Represents the results of a CoinSelector.select(Coin, List) operation. A coin selection represents a list of spendable transaction outputs that sum together to give valueGathered. Different coin selections could be produced by different coin selectors from the same input set, according to their varying policies.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • valueGathered

        public Coin valueGathered
    • Constructor Detail

      • CoinSelection

        public CoinSelection​(Coin valueGathered,
                             java.util.Collection<TransactionOutput> gathered)