com.google.bitcoin.wallet
Class CoinSelection

java.lang.Object
  extended by com.google.bitcoin.wallet.CoinSelection

public class CoinSelection
extends Object

Represents the results of a CoinSelector.select(java.math.BigInteger, java.util.LinkedList) 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.


Field Summary
 Collection<TransactionOutput> gathered
           
 BigInteger valueGathered
           
 
Constructor Summary
CoinSelection(BigInteger valueGathered, Collection<TransactionOutput> gathered)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueGathered

public BigInteger valueGathered

gathered

public Collection<TransactionOutput> gathered
Constructor Detail

CoinSelection

public CoinSelection(BigInteger valueGathered,
                     Collection<TransactionOutput> gathered)


Copyright © 2014. All rights reserved.