com.google.bitcoin.wallet
Interface CoinSelector

All Known Implementing Classes:
AllowUnconfirmedCoinSelector, DefaultCoinSelector, KeyTimeCoinSelector

public interface CoinSelector

A CoinSelector is responsible for picking some outputs to spend, from the list of all spendable outputs. It allows you to customize the policies for creation of transactions to suit your needs. The select operation may return a CoinSelection that has a valueGathered lower than the requested target, if there's not enough money in the wallet.


Method Summary
 CoinSelection select(BigInteger target, LinkedList<TransactionOutput> candidates)
           
 

Method Detail

select

CoinSelection select(BigInteger target,
                     LinkedList<TransactionOutput> candidates)


Copyright © 2014. All rights reserved.