public abstract class AbstractBlockchainTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static Wallet.Address |
addrBob |
static java.lang.String |
ADDRESS_BOB |
static java.lang.String |
ADDRESS_MARY |
protected static Wallet.Address |
addrMary |
protected static Wallet.Address |
addrSink |
protected static Blockchain |
blockchain |
static java.lang.String |
LABEL_BOB |
static java.lang.String |
LABEL_MARY |
static java.lang.String |
LABEL_SINK |
protected org.slf4j.Logger |
LOG |
protected static Network |
network |
protected static Wallet |
wallet |
| Constructor and Description |
|---|
AbstractBlockchainTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
before() |
protected abstract Blockchain |
createBlockchain() |
protected void |
generate(int blocks,
Wallet.Address addr) |
protected Blockchain |
getBlockchain() |
protected java.math.BigDecimal |
getUTXOAmount(java.util.List<UTXO> utxos) |
protected void |
importAddresses(java.lang.Class<?> configSource) |
protected void |
showAccountBalances() |
protected final org.slf4j.Logger LOG
public static final java.lang.String LABEL_BOB
public static final java.lang.String LABEL_MARY
public static final java.lang.String LABEL_SINK
public static final java.lang.String ADDRESS_BOB
public static final java.lang.String ADDRESS_MARY
protected static Blockchain blockchain
protected static Network network
protected static Wallet wallet
protected static Wallet.Address addrBob
protected static Wallet.Address addrMary
protected static Wallet.Address addrSink
public void before()
throws java.lang.Exception
java.lang.Exceptionprotected abstract Blockchain createBlockchain()
protected Blockchain getBlockchain()
protected void importAddresses(java.lang.Class<?> configSource)
throws java.io.IOException
java.io.IOExceptionprotected void generate(int blocks,
Wallet.Address addr)
protected java.math.BigDecimal getUTXOAmount(java.util.List<UTXO> utxos)
protected void showAccountBalances()
Copyright © 2019. All rights reserved.