public static enum NetworkParameters.ProtocolVersion extends java.lang.Enum<NetworkParameters.ProtocolVersion>
| Enum Constant and Description | 
|---|
BLOOM_FILTER  | 
BLOOM_FILTER_BIP111  | 
CURRENT  | 
MINIMUM  | 
PONG  | 
WITNESS_VERSION  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getBitcoinProtocolVersion()  | 
static NetworkParameters.ProtocolVersion | 
valueOf(java.lang.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 BLOOM_FILTER_BIP111
public static final NetworkParameters.ProtocolVersion WITNESS_VERSION
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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getBitcoinProtocolVersion()