|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Wallet in com.google.bitcoin.core |
|---|
| 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(InputStream stream)
Returns a wallet deserialized from the given input stream. |
| Methods in com.google.bitcoin.core with parameters of type Wallet | |
|---|---|
void |
PeerGroup.addWallet(Wallet wallet)
Link the given wallet to this PeerGroup. |
void |
Peer.addWallet(Wallet wallet)
Links the given wallet to this peer. |
void |
AbstractBlockChain.addWallet(Wallet wallet)
Add a wallet to the BlockChain. |
void |
WalletExtension.deserializeWalletExtension(Wallet containingWallet,
byte[] data)
Loads the contents of this object from the wallet. |
ECKey |
TransactionOutPoint.getConnectedKey(Wallet wallet)
Returns the ECKey identified in the connected output, for either pay-to-address scripts or pay-to-key scripts. |
BigInteger |
Transaction.getValue(Wallet wallet)
Returns the difference of Transaction.getValueSentFromMe(Wallet) and Transaction.getValueSentToMe(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 |
Transaction.isEveryOwnedOutputSpent(Wallet wallet)
Returns false if this transaction has at least one output that is owned by the given wallet and unspent, true otherwise. |
boolean |
TransactionOutput.isMine(Wallet wallet)
Returns true if this output is to a key, or an address we have the keys for, in the wallet. |
boolean |
TransactionOutput.isMineOrWatched(Wallet wallet)
Returns true if this output is to a key in the wallet or to an address/script we are watching. |
boolean |
TransactionOutput.isWatched(Wallet wallet)
Returns true if this output is to a key, or an address we have the keys for, in the wallet. |
void |
WalletEventListener.onCoinsReceived(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
This is called when a transaction is seen that sends coins to this wallet, either because it was broadcast across the network or because a block was received. |
void |
AbstractWalletEventListener.onCoinsReceived(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
|
void |
WalletEventListener.onCoinsSent(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
This is called when a transaction is seen that sends coins from this wallet, either because it was broadcast across the network or because a block was received. |
void |
AbstractWalletEventListener.onCoinsSent(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
|
void |
WalletEventListener.onKeysAdded(Wallet wallet,
List<ECKey> keys)
Called whenever a new key is added to the wallet, whether that be via addKeys(java.util.List)
or due to some other automatic derivation. |
void |
AbstractWalletEventListener.onKeysAdded(Wallet wallet,
List<ECKey> keys)
|
void |
WalletEventListener.onReorganize(Wallet wallet)
This is called when a block is received that triggers a block chain re-organization. |
void |
AbstractWalletEventListener.onReorganize(Wallet wallet)
|
void |
WalletEventListener.onScriptsAdded(Wallet wallet,
List<Script> scripts)
Called whenever a new watched script is added to the wallet. |
void |
AbstractWalletEventListener.onScriptsAdded(Wallet wallet,
List<Script> scripts)
|
void |
WalletEventListener.onTransactionConfidenceChanged(Wallet wallet,
Transaction tx)
Called when a transaction changes its confidence level. |
void |
AbstractWalletEventListener.onTransactionConfidenceChanged(Wallet wallet,
Transaction tx)
|
void |
WalletEventListener.onWalletChanged(Wallet wallet)
Designed for GUI applications to refresh their transaction lists. |
void |
AbstractWalletEventListener.onWalletChanged(Wallet wallet)
|
void |
PeerGroup.removeWallet(Wallet wallet)
Unlinks the given wallet so it no longer receives broadcast transactions or has its transactions announced. |
void |
Peer.removeWallet(Wallet wallet)
Unlinks the given wallet from peer. |
void |
AbstractBlockChain.removeWallet(Wallet wallet)
Removes a wallet from the chain. |
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. |
void |
Transaction.signInputs(Transaction.SigHash hashType,
Wallet wallet,
org.spongycastle.crypto.params.KeyParameter aesKey)
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. |
|
FullPrunedBlockChain(NetworkParameters params,
Wallet wallet,
FullPrunedBlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store. |
|
| Uses of Wallet in com.google.bitcoin.jni |
|---|
| Methods in com.google.bitcoin.jni with parameters of type Wallet | |
|---|---|
void |
NativeWalletEventListener.onCoinsReceived(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
|
void |
NativeWalletEventListener.onCoinsSent(Wallet wallet,
Transaction tx,
BigInteger prevBalance,
BigInteger newBalance)
|
void |
NativeWalletEventListener.onKeysAdded(Wallet wallet,
List<ECKey> keys)
|
void |
NativeWalletEventListener.onReorganize(Wallet wallet)
|
void |
NativeWalletEventListener.onScriptsAdded(Wallet wallet,
List<Script> scripts)
|
void |
NativeWalletEventListener.onTransactionConfidenceChanged(Wallet wallet,
Transaction tx)
|
void |
NativeWalletEventListener.onWalletChanged(Wallet wallet)
|
| Uses of Wallet in com.google.bitcoin.kits |
|---|
| Fields in com.google.bitcoin.kits declared as Wallet | |
|---|---|
protected Wallet |
WalletAppKit.vWallet
|
| Methods in com.google.bitcoin.kits that return Wallet | |
|---|---|
Wallet |
WalletAppKit.wallet()
|
| Uses of Wallet in com.google.bitcoin.protocols.channels |
|---|
| Methods in com.google.bitcoin.protocols.channels with parameters of type Wallet | |
|---|---|
void |
StoredPaymentChannelServerStates.deserializeWalletExtension(Wallet containingWallet,
byte[] data)
|
void |
StoredPaymentChannelClientStates.deserializeWalletExtension(Wallet containingWallet,
byte[] data)
|
static StoredPaymentChannelClientStates |
StoredPaymentChannelClientStates.getFromWallet(Wallet wallet)
Returns this extension from the given wallet, or null if no such extension was added. |
PaymentChannelServerState |
StoredServerChannel.getOrCreateState(Wallet wallet,
TransactionBroadcaster broadcaster)
Gets the canonical PaymentChannelServerState object for this channel, either by returning an existing one
or by creating a new one. |
| Constructors in com.google.bitcoin.protocols.channels with parameters of type Wallet | |
|---|---|
PaymentChannelClient(Wallet wallet,
ECKey myKey,
BigInteger maxValue,
Sha256Hash serverId,
IPaymentChannelClient.ClientConnection conn)
Constructs a new channel manager which waits for PaymentChannelClient.connectionOpen() before acting. |
|
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
BigInteger maxValue,
String serverId)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the connection is open |
|
PaymentChannelClientState(Wallet wallet,
ECKey myKey,
ECKey serverMultisigKey,
BigInteger value,
long expiryTimeInSeconds)
Creates a state object for a payment channel client. |
|
PaymentChannelServer(TransactionBroadcaster broadcaster,
Wallet wallet,
BigInteger minAcceptedChannelSize,
PaymentChannelServer.ServerConnection conn)
Creates a new server-side state manager which handles a single client connection. |
|
PaymentChannelServerListener(TransactionBroadcaster broadcaster,
Wallet wallet,
int timeoutSeconds,
BigInteger minAcceptedChannelSize,
PaymentChannelServerListener.HandlerFactory eventHandlerFactory)
Sets up a new payment channel server which listens on the given port. |
|
PaymentChannelServerState(TransactionBroadcaster broadcaster,
Wallet wallet,
ECKey serverKey,
long minExpireTime)
Creates a new state object to track the server side of a payment channel. |
|
StoredPaymentChannelClientStates(Wallet containingWallet,
TransactionBroadcaster announcePeerGroup)
Creates a new StoredPaymentChannelClientStates and associates it with the given Wallet and
TransactionBroadcaster which are used to complete and announce contract and refund
transactions. |
|
StoredPaymentChannelServerStates(Wallet wallet,
TransactionBroadcaster broadcaster)
Creates a new PaymentChannelServerStateManager and associates it with the given Wallet and
TransactionBroadcaster which are used to complete and announce payment transactions. |
|
| Uses of Wallet in com.google.bitcoin.store |
|---|
| Methods in com.google.bitcoin.store that return Wallet | |
|---|---|
Wallet |
WalletProtobufSerializer.readWallet(InputStream input)
Parses a wallet from the given stream, using the provided Wallet instance to load data into. |
| Methods in com.google.bitcoin.store with parameters of type Wallet | |
|---|---|
void |
WalletProtobufSerializer.readWallet(Protos.Wallet walletProto,
Wallet wallet)
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object. |
Protos.Wallet |
WalletProtobufSerializer.walletToProto(Wallet wallet)
Converts the given wallet to the object representation of the protocol buffers. |
String |
WalletProtobufSerializer.walletToText(Wallet wallet)
Returns the given wallet formatted as text. |
void |
WalletProtobufSerializer.writeWallet(Wallet wallet,
OutputStream output)
Formats the given wallet (transactions and keys) to the given output stream in protocol buffer format. |
| Uses of Wallet in com.google.bitcoin.utils |
|---|
| Fields in com.google.bitcoin.utils declared as Wallet | |
|---|---|
protected Wallet |
TestWithWallet.wallet
|
| Methods in com.google.bitcoin.utils with parameters of type Wallet | |
|---|---|
protected Transaction |
TestWithWallet.sendMoneyToWallet(Wallet wallet,
BigInteger value,
Address toAddress,
AbstractBlockChain.NewBlockType type)
|
protected Transaction |
TestWithWallet.sendMoneyToWallet(Wallet wallet,
BigInteger value,
ECKey toPubKey,
AbstractBlockChain.NewBlockType type)
|
protected Transaction |
TestWithWallet.sendMoneyToWallet(Wallet wallet,
Transaction tx,
AbstractBlockChain.NewBlockType type)
|
| Constructors in com.google.bitcoin.utils with parameters of type Wallet | |
|---|---|
MockTransactionBroadcaster(Wallet wallet)
|
|
| Uses of Wallet in com.google.bitcoin.wallet |
|---|
| Fields in com.google.bitcoin.wallet declared as Wallet | |
|---|---|
protected Wallet |
DefaultRiskAnalysis.wallet
|
| Methods in com.google.bitcoin.wallet with parameters of type Wallet | |
|---|---|
RiskAnalysis |
RiskAnalysis.Analyzer.create(Wallet wallet,
Transaction tx,
List<Transaction> dependencies)
|
DefaultRiskAnalysis |
DefaultRiskAnalysis.Analyzer.create(Wallet wallet,
Transaction tx,
List<Transaction> dependencies)
|
| Constructors in com.google.bitcoin.wallet with parameters of type Wallet | |
|---|---|
KeyTimeCoinSelector(Wallet wallet,
long unixTimeSeconds,
boolean ignorePending)
|
|
WalletFiles(Wallet wallet,
File file,
long delay,
TimeUnit delayTimeUnit)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||