Enum Class Block.VerifyFlag

java.lang.Object
java.lang.Enum<Block.VerifyFlag>
org.bitcoinj.core.Block.VerifyFlag
All Implemented Interfaces:
Serializable, Comparable<Block.VerifyFlag>, Constable
Enclosing class:
Block

public static enum Block.VerifyFlag extends Enum<Block.VerifyFlag>
Flags used to control which elements of block validation are done on received blocks.
  • Enum Constant Details

    • HEIGHT_IN_COINBASE

      public static final Block.VerifyFlag HEIGHT_IN_COINBASE
      Check that block height is in coinbase transaction (BIP 34).
  • Method Details

    • values

      public static Block.VerifyFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Block.VerifyFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null