/** * Constructs a block chain connected to the given wallet and store. To obtain a {@link Wallet} you can construct * one from scratch, or you can deserialize a saved wallet from disk using * {@link Wallet#loadFromFile(java.io.File, WalletExtension...)} */ public FullPrunedBlockChain(NetworkParameters params, Wallet wallet, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), wallet, blockStore); }
/** * See {@link #FullPrunedBlockChain(Context, List, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, List<Wallet> listeners, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), listeners, blockStore); }
/** * See {@link #FullPrunedBlockChain(Context, List, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, List<Wallet> listeners, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), listeners, blockStore); }
/** * Constructs a block chain connected to the given wallet and store. To obtain a {@link Wallet} you can construct * one from scratch, or you can deserialize a saved wallet from disk using * {@link Wallet#loadFromFile} */ public FullPrunedBlockChain(NetworkParameters params, Wallet wallet, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), wallet, blockStore); }
/** * Creates a new, empty wallet with a randomly chosen seed and no transactions. Make sure to provide for sufficient * backup! Any keys will be derived from the seed. If you want to restore a wallet from disk instead, see * {@link #loadFromFile}. */ public Wallet(NetworkParameters params) { this(Context.getOrCreate(params)); }
/** * See {@link #FullPrunedBlockChain(Context, List, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, List<Wallet> listeners, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), listeners, blockStore); }
/** * See {@link #FullPrunedBlockChain(Context, Wallet, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), blockStore); }
private BitcoinAccount(NetworkParameters networkParameters, ECKey privateKey) { Context.getOrCreate(networkParameters); this.networkParameters = networkParameters; this.key = privateKey; }
/** * Constructs a block chain connected to the given wallet and store. To obtain a {@link Wallet} you can construct * one from scratch, or you can deserialize a saved wallet from disk using * {@link Wallet#loadFromFile(java.io.File, WalletExtension...)} */ public FullPrunedBlockChain(NetworkParameters params, Wallet wallet, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), wallet, blockStore); }
/** See {@link #AbstractBlockChain(Context, List, BlockStore)} */ public AbstractBlockChain(NetworkParameters params, List<? extends Wallet> transactionReceivedListeners, BlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), transactionReceivedListeners, blockStore); }
/** * Constructs a block chain connected to the given wallet and store. To obtain a {@link Wallet} you can construct * one from scratch, or you can deserialize a saved wallet from disk using * {@link Wallet#loadFromFile(java.io.File, WalletExtension...)} */ public FullPrunedBlockChain(NetworkParameters params, Wallet wallet, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), wallet, blockStore); }
/** * See {@link #FullPrunedBlockChain(Context, Wallet, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), blockStore); }
/** See {@link #AbstractBlockChain(Context, List, BlockStore)} */ public AbstractBlockChain(NetworkParameters params, List<? extends Wallet> transactionReceivedListeners, BlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), transactionReceivedListeners, blockStore); }
/** * See {@link #FullPrunedBlockChain(Context, Wallet, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), blockStore); }
/** * See {@link #FullPrunedBlockChain(Context, List, FullPrunedBlockStore)} */ public FullPrunedBlockChain(NetworkParameters params, List<Wallet> listeners, FullPrunedBlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), listeners, blockStore); }
/** * Creates a new, empty wallet with a randomly chosen seed and no transactions. Make sure to provide for sufficient * backup! Any keys will be derived from the seed. If you want to restore a wallet from disk instead, see * {@link #loadFromFile}. */ public Wallet(NetworkParameters params) { this(Context.getOrCreate(params)); }
/** See {@link #AbstractBlockChain(Context, List, BlockStore)} */ public AbstractBlockChain(NetworkParameters params, List<? extends Wallet> transactionReceivedListeners, BlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), transactionReceivedListeners, blockStore); }
/** * Creates a new, empty wallet with a randomly chosen seed and no transactions. Make sure to provide for sufficient * backup! Any keys will be derived from the seed. If you want to restore a wallet from disk instead, see * {@link #loadFromFile}. */ public Wallet(NetworkParameters params, boolean useSegwit) { this(Context.getOrCreate(params), useSegwit); }
/** See {@link #BlockChain(Context, List, BlockStore)} */ public BlockChain(NetworkParameters params, List<? extends Wallet> wallets, BlockStore blockStore) throws BlockStoreException { this(Context.getOrCreate(params), wallets, blockStore); }
/** * Creates a new, empty wallet with a randomly chosen seed and no transactions. Make sure to provide for sufficient * backup! Any keys will be derived from the seed. If you want to restore a wallet from disk instead, see * {@link #loadFromFile}. */ public Wallet(NetworkParameters params) { this(Context.getOrCreate(params)); }