Package org.polkadot.types.type
Class MisbehaviorReport
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.type.MisbehaviorReport
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
public class MisbehaviorReport extends Struct
A Misbehaviour report of MisbehavioirKind against a specific AuthorityId- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMisbehaviorReport.BftAtReportA report of a/b hash-signature pairs for a specific index.static classMisbehaviorReport.BftAtReportValuestatic classMisbehaviorReport.BftAtReportValueSinglestatic classMisbehaviorReport.BftDoubleCommitReport of a double-commitstatic classMisbehaviorReport.BftDoublePrepareReport of a double-preparestatic classMisbehaviorReport.BftDoubleProposeReport of a double-proposestatic classMisbehaviorReport.BftProposeOutOfTurnA report for out-of-turn proposalsstatic classMisbehaviorReport.MisbehaviorKindAnEnumTypecontaining a Bft misbehaviourstatic classMisbehaviorReport.MisbehaviorReportValue
-
Constructor Summary
Constructors Constructor Description MisbehaviorReport(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description MisbehaviorReport.MisbehaviorKindgetMisbehavior()The MisbehaviorKindHashgetParentHash()TheHashof the parent blockBlockNumbergetParentNumber()TheBlockNumberof the parentAuthorityIdgetTarget()The AuthorityId the report applies to-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
getMisbehavior
public MisbehaviorReport.MisbehaviorKind getMisbehavior()
The MisbehaviorKind
-
getParentNumber
public BlockNumber getParentNumber()
TheBlockNumberof the parent
-
getTarget
public AuthorityId getTarget()
The AuthorityId the report applies to
-
-