public class TestWithWallet extends Object
Wallet.SendRequest#DEFAULT_FEE_PER_KB
value to
Transaction.REFERENCE_DEFAULT_MIN_TX_FEE
before doing so.Modifier and Type | Field and Description |
---|---|
protected BlockStore |
blockStore |
protected BlockChain |
chain |
protected Address |
myAddress |
protected ECKey |
myKey |
protected static NetworkParameters |
params |
protected Wallet |
wallet |
Constructor and Description |
---|
TestWithWallet() |
Modifier and Type | Method and Description |
---|---|
protected Transaction |
sendMoneyToWallet(BigInteger value,
AbstractBlockChain.NewBlockType type) |
protected Transaction |
sendMoneyToWallet(Transaction tx,
AbstractBlockChain.NewBlockType type) |
protected Transaction |
sendMoneyToWallet(Wallet wallet,
BigInteger value,
Address toAddress,
AbstractBlockChain.NewBlockType type) |
protected Transaction |
sendMoneyToWallet(Wallet wallet,
BigInteger value,
ECKey toPubKey,
AbstractBlockChain.NewBlockType type) |
protected Transaction |
sendMoneyToWallet(Wallet wallet,
Transaction tx,
AbstractBlockChain.NewBlockType type) |
void |
setUp() |
void |
tearDown() |
protected static final NetworkParameters params
protected ECKey myKey
protected Address myAddress
protected Wallet wallet
protected BlockChain chain
protected BlockStore blockStore
@Nullable protected Transaction sendMoneyToWallet(Wallet wallet, Transaction tx, AbstractBlockChain.NewBlockType type) throws IOException, VerificationException
IOException
VerificationException
@Nullable protected Transaction sendMoneyToWallet(Transaction tx, AbstractBlockChain.NewBlockType type) throws IOException, VerificationException
IOException
VerificationException
@Nullable protected Transaction sendMoneyToWallet(Wallet wallet, BigInteger value, Address toAddress, AbstractBlockChain.NewBlockType type) throws IOException, VerificationException
IOException
VerificationException
@Nullable protected Transaction sendMoneyToWallet(Wallet wallet, BigInteger value, ECKey toPubKey, AbstractBlockChain.NewBlockType type) throws IOException, VerificationException
IOException
VerificationException
@Nullable protected Transaction sendMoneyToWallet(BigInteger value, AbstractBlockChain.NewBlockType type) throws IOException, VerificationException
IOException
VerificationException
Copyright © 2014. All rights reserved.