Java Code Examples for org.bitcoinj.core.AbstractBlockChain#NewBlockType

The following examples show how to use org.bitcoinj.core.AbstractBlockChain#NewBlockType . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestWithWallet.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Nullable
protected Transaction sendMoneyToWallet(Wallet wallet, AbstractBlockChain.NewBlockType type, Coin value, Address toAddress) throws VerificationException {
    return sendMoneyToWallet(wallet, type, createFakeTx(UNITTEST, value, toAddress));
}
 
Example 2
Source File: TestWithWallet.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Nullable
protected Transaction sendMoneyToWallet(Wallet wallet, AbstractBlockChain.NewBlockType type, Coin value, ECKey toPubKey) throws VerificationException {
    return sendMoneyToWallet(wallet, type, createFakeTx(UNITTEST, value, toPubKey));
}
 
Example 3
Source File: TestWithWallet.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Nullable
protected Transaction sendMoneyToWallet(AbstractBlockChain.NewBlockType type, Transaction... transactions) throws VerificationException {
    return sendMoneyToWallet(this.wallet, type, transactions);
}
 
Example 4
Source File: TestWithWallet.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Nullable
protected Transaction sendMoneyToWallet(AbstractBlockChain.NewBlockType type, Coin value) throws VerificationException {
    return sendMoneyToWallet(this.wallet, type, value, myAddress);
}
 
Example 5
Source File: TestWithWallet.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Nullable
protected Transaction sendMoneyToWallet(AbstractBlockChain.NewBlockType type, Coin value, Address toAddress) throws VerificationException {
    return sendMoneyToWallet(this.wallet, type, value, toAddress);
}
 
Example 6
Source File: TestWithWallet.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Nullable
protected Transaction sendMoneyToWallet(AbstractBlockChain.NewBlockType type, Coin value, ECKey toPubKey) throws VerificationException {
    return sendMoneyToWallet(this.wallet, type, value, toPubKey);
}