Methods
Modifier and Type |
Method and Description |
static TestUtils.BlockPair |
createFakeBlock(BlockStore blockStore,
long timeSeconds,
Transaction... transactions) |
static TestUtils.BlockPair |
createFakeBlock(BlockStore blockStore,
Transaction... transactions) |
static TestUtils.DoubleSpends |
createFakeDoubleSpendTxns(NetworkParameters params,
Address to)
Creates two transactions that spend the same (fake) output.
|
static Transaction |
createFakeTx(NetworkParameters params,
BigInteger nanocoins,
Address to) |
static Transaction[] |
createFakeTx(NetworkParameters params,
BigInteger nanocoins,
Address to,
Address from) |
static Transaction |
createFakeTx(NetworkParameters params,
BigInteger nanocoins,
ECKey to) |
static Transaction |
createFakeTxWithChangeAddress(NetworkParameters params,
BigInteger nanocoins,
Address to,
Address changeOutput) |
static Block |
makeSolvedTestBlock(BlockStore blockStore,
Address coinsTo) |
static Block |
makeSolvedTestBlock(Block prev,
Transaction... transactions) |
static Transaction |
roundTripTransaction(NetworkParameters params,
Transaction tx)
Roundtrip a transaction so that it appears as if it has just come from the wire
|