Class Fallback

    • Method Detail

      • clone

        public Fallback clone()
        Creates a copy of the Fallback
        Overrides:
        clone in class Object
      • seg_wit_program

        public static Fallback seg_wit_program​(WitnessVersion version,
                                               byte[] program)
        Utility method to constructs a new SegWitProgram-variant Fallback
      • pub_key_hash

        public static Fallback pub_key_hash​(byte[] a)
        Utility method to constructs a new PubKeyHash-variant Fallback
      • script_hash

        public static Fallback script_hash​(byte[] a)
        Utility method to constructs a new ScriptHash-variant Fallback
      • hash

        public long hash()
        Generates a non-cryptographic 64-bit hash of the Fallback.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • eq

        public boolean eq​(Fallback b)
        Checks if two Fallbacks contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields.