Package | Description |
---|---|
org.bitcoinj.kits |
High level wrapper APIs around the bitcoinj building blocks.
|
Modifier and Type | Method and Description |
---|---|
WalletAppKit |
WalletAppKit.connectToLocalHost()
Will only connect to localhost.
|
WalletAppKit |
WalletAppKit.restoreWalletFromSeed(DeterministicSeed seed)
If a seed is set here then any existing wallet that matches the file name will be renamed to a backup name,
the chain file will be deleted, and the wallet object will be instantiated with the given seed instead of
a fresh one being created.
|
WalletAppKit |
WalletAppKit.setAutoSave(boolean value)
If true, the wallet will save itself to disk automatically whenever it changes.
|
WalletAppKit |
WalletAppKit.setAutoStop(boolean autoStop)
If true, will register a shutdown hook to stop the library.
|
WalletAppKit |
WalletAppKit.setBlockingStartup(boolean blockingStartup)
If true (the default) then the startup of this service won't be considered complete until the network has been
brought up, peer connections established and the block chain synchronised.
|
WalletAppKit |
WalletAppKit.setCheckpoints(InputStream checkpoints)
If set, the file is expected to contain a checkpoints file calculated with BuildCheckpoints.
|
WalletAppKit |
WalletAppKit.setDownloadListener(PeerEventListener listener)
If you want to learn about the sync process, you can provide a listener here.
|
WalletAppKit |
WalletAppKit.setPeerNodes(PeerAddress... addresses)
Will only connect to the given addresses.
|
WalletAppKit |
WalletAppKit.setUserAgent(String userAgent,
String version)
Sets the string that will appear in the subver field of the version message.
|
WalletAppKit |
WalletAppKit.useTor()
If called, then an embedded Tor client library will be used to connect to the P2P network.
|
Copyright © 2014. All rights reserved.