Class Justification.RhdJustification

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​Codec>, Codec
    Enclosing class:
    Justification

    public static class Justification.RhdJustification
    extends Struct
    Justification for the Rhododendron consensus algorithm
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.String> JSON_MAP  
    • Constructor Summary

      Constructors 
      Constructor Description
      RhdJustification​(java.lang.Object value)  
    • Method Summary

      Modifier and Type Method Description
      Hash getHash()
      The justification Hash
      U32 getRoundNumber()
      The round this justification wraps as a U32
      Vector<BftAuthoritySignature> getSignatures()
      The BftAuthoritySignature array
      • 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
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.polkadot.types.Codec

        toU8a
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
    • Field Detail

      • JSON_MAP

        public static java.util.Map<java.lang.String,​java.lang.String> JSON_MAP
    • Constructor Detail

      • RhdJustification

        public RhdJustification​(java.lang.Object value)
    • Method Detail

      • getHash

        public Hash getHash()
        The justification Hash
      • getRoundNumber

        public U32 getRoundNumber()
        The round this justification wraps as a U32