public class MisbehaviorReport extends Struct
A Misbehaviour report of MisbehavioirKind against a specific AuthorityId
| Modifier and Type | Class and Description |
|---|---|
static class |
MisbehaviorReport.BftAtReport
A report of a/b hash-signature pairs for a specific index.
|
static class |
MisbehaviorReport.BftAtReportValue |
static class |
MisbehaviorReport.BftAtReportValueSingle |
static class |
MisbehaviorReport.BftDoubleCommit
Report of a double-commit
|
static class |
MisbehaviorReport.BftDoublePrepare
Report of a double-prepare
|
static class |
MisbehaviorReport.BftDoublePropose
Report of a double-propose
|
static class |
MisbehaviorReport.BftProposeOutOfTurn
A report for out-of-turn proposals
|
static class |
MisbehaviorReport.MisbehaviorKind
An
EnumType containing a Bft misbehaviour |
static class |
MisbehaviorReport.MisbehaviorReportValue |
| Constructor and Description |
|---|
MisbehaviorReport(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
MisbehaviorReport.MisbehaviorKind |
getMisbehavior()
The MisbehaviorKind
|
Hash |
getParentHash()
The
Hash of the parent block |
BlockNumber |
getParentNumber()
The
BlockNumber of the parent |
AuthorityId |
getTarget()
The AuthorityId the report applies to
|
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, withclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizefinalize, getClass, notify, notifyAll, wait, wait, waitgetConstructorCodec, toU8apublic MisbehaviorReport.MisbehaviorKind getMisbehavior()
The MisbehaviorKind
public BlockNumber getParentNumber()
The BlockNumber of the parent
public AuthorityId getTarget()
The AuthorityId the report applies to