public final class NanoConstants extends Object
Modifier and Type | Field | Description |
---|---|---|
static NanoAccount |
ADDRESS_BURN |
Deprecated, for removal: This API element is subject to removal in a future version.
Use constants offered in
NANO_LIVE_NET . |
static NanoAccount |
ADDRESS_GENESIS_LIVE |
Deprecated, for removal: This API element is subject to removal in a future version.
Use constants offered in
NANO_LIVE_NET . |
static NetworkConstants |
BANANO_LIVE_NET |
Constants representing the official Banano network.
|
static Block |
BLOCK_GENESIS_LIVE |
Deprecated, for removal: This API element is subject to removal in a future version.
Use constants offered in
NANO_LIVE_NET . |
static String |
BLOCK_HASH_GENESIS |
Deprecated, for removal: This API element is subject to removal in a future version.
Use constants offered in
NANO_LIVE_NET . |
static BigInteger |
MAX_BALANCE_RAW |
The maximum possible balance value, in raw units.
|
static NetworkConstants |
NANO_BETA_NET |
Constants representing the official beta Nano network.
|
static NetworkConstants |
NANO_LIVE_NET |
Constants representing the official live Nano network.
|
Modifier and Type | Method | Description |
---|---|---|
static NetworkConstants |
getNetworkFromGenesisHash(String hash) |
Returns a
NetworkConstants instance for the specified network by matching the genesis block hash. |
public static BigInteger MAX_BALANCE_RAW
public static final NetworkConstants NANO_LIVE_NET
public static final NetworkConstants NANO_BETA_NET
public static final NetworkConstants BANANO_LIVE_NET
@Deprecated(forRemoval=true) public static final NanoAccount ADDRESS_GENESIS_LIVE
NANO_LIVE_NET
.@Deprecated(forRemoval=true) public static final NanoAccount ADDRESS_BURN
NANO_LIVE_NET
.@Deprecated(forRemoval=true) public static final Block BLOCK_GENESIS_LIVE
NANO_LIVE_NET
.@Deprecated(forRemoval=true) public static final String BLOCK_HASH_GENESIS
NANO_LIVE_NET
.public static NetworkConstants getNetworkFromGenesisHash(String hash)
NetworkConstants
instance for the specified network by matching the genesis block hash.hash
- the hash of the genesis blockNetworkConstants
class, or null if not foundCopyright © 2020. All rights reserved.