public static enum NetworkParameters.ProtocolVersion extends Enum<NetworkParameters.ProtocolVersion>
| Enum Constant and Description |
|---|
BLOOM_FILTER |
CURRENT |
MINIMUM |
PONG |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitcoinProtocolVersion() |
static NetworkParameters.ProtocolVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkParameters.ProtocolVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkParameters.ProtocolVersion MINIMUM
public static final NetworkParameters.ProtocolVersion PONG
public static final NetworkParameters.ProtocolVersion BLOOM_FILTER
public static final NetworkParameters.ProtocolVersion CURRENT
public static NetworkParameters.ProtocolVersion[] values()
for (NetworkParameters.ProtocolVersion c : NetworkParameters.ProtocolVersion.values()) System.out.println(c);
public static NetworkParameters.ProtocolVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getBitcoinProtocolVersion()
Copyright © 2018. All rights reserved.