public static enum SignerOuterClass.MuSig2Version extends java.lang.Enum<SignerOuterClass.MuSig2Version> implements com.google.protobuf.ProtocolMessageEnum
signrpc.MuSig2Version| Enum Constant and Description |
|---|
MUSIG2_VERSION_UNDEFINED
The default value on the RPC is zero for enums so we need to represent an
invalid/undefined version by default to make sure clients upgrade their
software to set the version explicitly.
|
MUSIG2_VERSION_V040
The version of MuSig2 that lnd 0.15.x shipped with, which corresponds to the
version v0.4.0 of the MuSig2 BIP draft.
|
MUSIG2_VERSION_V100RC2
The current version of MuSig2 which corresponds to the version v1.0.0rc2 of
the MuSig2 BIP draft.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MUSIG2_VERSION_UNDEFINED_VALUE
The default value on the RPC is zero for enums so we need to represent an
invalid/undefined version by default to make sure clients upgrade their
software to set the version explicitly.
|
static int |
MUSIG2_VERSION_V040_VALUE
The version of MuSig2 that lnd 0.15.x shipped with, which corresponds to the
version v0.4.0 of the MuSig2 BIP draft.
|
static int |
MUSIG2_VERSION_V100RC2_VALUE
The current version of MuSig2 which corresponds to the version v1.0.0rc2 of
the MuSig2 BIP draft.
|
| Modifier and Type | Method and Description |
|---|---|
static SignerOuterClass.MuSig2Version |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SignerOuterClass.MuSig2Version> |
internalGetValueMap() |
static SignerOuterClass.MuSig2Version |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SignerOuterClass.MuSig2Version |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SignerOuterClass.MuSig2Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignerOuterClass.MuSig2Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignerOuterClass.MuSig2Version MUSIG2_VERSION_UNDEFINED
The default value on the RPC is zero for enums so we need to represent an invalid/undefined version by default to make sure clients upgrade their software to set the version explicitly.
MUSIG2_VERSION_UNDEFINED = 0;public static final SignerOuterClass.MuSig2Version MUSIG2_VERSION_V040
The version of MuSig2 that lnd 0.15.x shipped with, which corresponds to the version v0.4.0 of the MuSig2 BIP draft.
MUSIG2_VERSION_V040 = 1;public static final SignerOuterClass.MuSig2Version MUSIG2_VERSION_V100RC2
The current version of MuSig2 which corresponds to the version v1.0.0rc2 of the MuSig2 BIP draft.
MUSIG2_VERSION_V100RC2 = 2;public static final SignerOuterClass.MuSig2Version UNRECOGNIZED
public static final int MUSIG2_VERSION_UNDEFINED_VALUE
The default value on the RPC is zero for enums so we need to represent an invalid/undefined version by default to make sure clients upgrade their software to set the version explicitly.
MUSIG2_VERSION_UNDEFINED = 0;public static final int MUSIG2_VERSION_V040_VALUE
The version of MuSig2 that lnd 0.15.x shipped with, which corresponds to the version v0.4.0 of the MuSig2 BIP draft.
MUSIG2_VERSION_V040 = 1;public static final int MUSIG2_VERSION_V100RC2_VALUE
The current version of MuSig2 which corresponds to the version v1.0.0rc2 of the MuSig2 BIP draft.
MUSIG2_VERSION_V100RC2 = 2;public static SignerOuterClass.MuSig2Version[] values()
for (SignerOuterClass.MuSig2Version c : SignerOuterClass.MuSig2Version.values()) System.out.println(c);
public static SignerOuterClass.MuSig2Version valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SignerOuterClass.MuSig2Version valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SignerOuterClass.MuSig2Version forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SignerOuterClass.MuSig2Version> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SignerOuterClass.MuSig2Version valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)