Package org.polkadot.types.type
Class MisbehaviorReport.BftAtReport
- 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.BftAtReport
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
- Direct Known Subclasses:
MisbehaviorReport.BftDoubleCommit,MisbehaviorReport.BftDoublePrepare,MisbehaviorReport.BftDoublePropose
- Enclosing class:
- MisbehaviorReport
public static class MisbehaviorReport.BftAtReport extends Struct
A report of a/b hash-signature pairs for a specific index. This is the same structure as is used in BftDoublePrepare & BftDoubleCommit- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BftAtReport(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description BftAuthoritySignature.BftHashSignaturegetA()The first reportBftAuthoritySignature.BftHashSignatureBftAuthoritySignature.BftHashSignaturegetB()The second reportBftAuthoritySignature.BftHashSignatureU32getRound()The round this report applies to asU32-
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
-
getA
public BftAuthoritySignature.BftHashSignature getA()
The first reportBftAuthoritySignature.BftHashSignature
-
getB
public BftAuthoritySignature.BftHashSignature getB()
The second reportBftAuthoritySignature.BftHashSignature
-
-