public static enum RejectMessage.RejectCode extends Enum<RejectMessage.RejectCode>
Enum Constant and Description |
---|
CHECKPOINT
The message described a block which was invalid according to hard-coded checkpoint blocks.
|
DUPLICATE
The message was relayed multiple times or described an object which is in conflict with another.
|
DUST
This refers to a specific form of NONSTANDARD transactions, which have an output smaller than some constant
defining them as dust (this is no longer used).
|
INSUFFICIENTFEE
The messages described an object which did not have sufficient fee to be relayed further.
|
INVALID
The message described an invalid object
|
MALFORMED
The message was not able to be parsed
|
NONSTANDARD
The message described an object was not standard and was thus not accepted.
|
OBSOLETE
The message was obsolete or described an object which is obsolete (eg unsupported, old version, v1 block)
|
OTHER |
Modifier and Type | Method and Description |
---|---|
static RejectMessage.RejectCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RejectMessage.RejectCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RejectMessage.RejectCode MALFORMED
public static final RejectMessage.RejectCode INVALID
public static final RejectMessage.RejectCode OBSOLETE
public static final RejectMessage.RejectCode DUPLICATE
public static final RejectMessage.RejectCode NONSTANDARD
public static final RejectMessage.RejectCode DUST
public static final RejectMessage.RejectCode INSUFFICIENTFEE
public static final RejectMessage.RejectCode CHECKPOINT
public static final RejectMessage.RejectCode OTHER
public static RejectMessage.RejectCode[] values()
for (RejectMessage.RejectCode c : RejectMessage.RejectCode.values()) System.out.println(c);
public static RejectMessage.RejectCode 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 nullCopyright © 2016. All rights reserved.