Enum Class Protos.TransactionConfidence.Source

java.lang.Object
java.lang.Enum<Protos.TransactionConfidence.Source>
org.bitcoinj.wallet.Protos.TransactionConfidence.Source
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Protos.TransactionConfidence.Source>, Constable
Enclosing class:
Protos.TransactionConfidence

public static enum Protos.TransactionConfidence.Source extends Enum<Protos.TransactionConfidence.Source> implements com.google.protobuf.Internal.EnumLite
 Where did we get this transaction from? Knowing the source may help us to risk analyze pending transactions.
 
Protobuf enum wallet.TransactionConfidence.Source
  • Enum Constant Details

  • Field Details

    • SOURCE_UNKNOWN_VALUE

      public static final int SOURCE_UNKNOWN_VALUE
       We don't know where it came from, or this is a wallet from the future.
       
      SOURCE_UNKNOWN = 0;
      See Also:
    • SOURCE_NETWORK_VALUE

      public static final int SOURCE_NETWORK_VALUE
       We received it from a network broadcast. This is the normal way to get payments.
       
      SOURCE_NETWORK = 1;
      See Also:
    • SOURCE_SELF_VALUE

      public static final int SOURCE_SELF_VALUE
       We made it ourselves, so we know it should be valid.
       
      SOURCE_SELF = 2;
      See Also:
  • Method Details

    • values

      public static Protos.TransactionConfidence.Source[] 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 Protos.TransactionConfidence.Source 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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static Protos.TransactionConfidence.Source valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static Protos.TransactionConfidence.Source forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Source> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()