Class Digest.Consensus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Codec>, java.util.Collection<Codec>, java.util.List<Codec>, java.util.RandomAccess, Codec
    Enclosing class:
    Digest

    public static class Digest.Consensus
    extends Tuple
    Log item indicating consensus
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

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

      Modifier and Type Method Description
      org.apache.commons.lang3.tuple.Pair<U64,​Signature> asAura()
      The slot and signature extracted from the raw data (assuming Aura)
      Bytes getData()
      The wrapped Bytes
      U32 getEngine()
      The wrapped engine U32
      boolean isAura()
      `true` if the engine matches aura
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • 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.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • Consensus

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

      • isAura

        public boolean isAura()
        `true` if the engine matches aura
      • getEngine

        public U32 getEngine()
        The wrapped engine U32
      • getData

        public Bytes getData()
        The wrapped Bytes
      • asAura

        public org.apache.commons.lang3.tuple.Pair<U64,​Signature> asAura()
        The slot and signature extracted from the raw data (assuming Aura)