|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Wallet | |
---|---|
com.google.bitcoin.core |
Uses of Wallet in com.google.bitcoin.core |
---|
Fields in com.google.bitcoin.core declared as Wallet | |
---|---|
protected Wallet |
BlockChain.wallet
|
Methods in com.google.bitcoin.core that return Wallet | |
---|---|
static Wallet |
Wallet.loadFromFile(File f)
Returns a wallet deserialized from the given file. |
static Wallet |
Wallet.loadFromFileStream(FileInputStream f)
Returns a wallet deserialied from the given file input stream. |
Methods in com.google.bitcoin.core with parameters of type Wallet | |
---|---|
BigInteger |
Transaction.getValueSentFromMe(Wallet wallet)
Calculates the sum of the inputs that are spending coins with keys in the wallet. |
BigInteger |
Transaction.getValueSentToMe(Wallet wallet)
Calculates the sum of the outputs that are sending coins to a key in the wallet. |
boolean |
TransactionOutput.isMine(Wallet wallet)
Returns true if this output is to an address we have the keys for in the wallet. |
void |
WalletEventListener.onCoinsReceived(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
This is called on a Peer thread when a block is received that sends some coins to you. |
void |
Transaction.signInputs(Transaction.SigHash hashType,
Wallet wallet)
Once a transaction has some inputs and outputs added, the signatures in the inputs can be calculated. |
Constructors in com.google.bitcoin.core with parameters of type Wallet | |
---|---|
BlockChain(NetworkParameters params,
Wallet wallet,
BlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |