Package 

Enum WitnessVersion

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum WitnessVersion
    extends Enum<WitnessVersion>
                        

    Version of the witness program.

    Helps limit possible versions of the witness according to the specification. If a plain u8 type was used instead it would mean that the version may be 16, which would be incorrect. First byte of scriptPubkey in transaction output for transactions starting with opcodes ranging from 0 to 16 (inclusive).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail