public static interface Walletunlocker.WatchOnlyAccountOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getAccount()
Account is the third number in the derivation path.
|
int |
getCoinType()
Coin type is the second number in the derivation path, this is _always_ 0
for purposes 49 and 84.
|
int |
getPurpose()
Purpose is the first number in the derivation path, must be either 49, 84
or 1017.
|
java.lang.String |
getXpub()
The extended public key at depth 3 for the given account.
|
com.google.protobuf.ByteString |
getXpubBytes()
The extended public key at depth 3 for the given account.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getPurpose()
Purpose is the first number in the derivation path, must be either 49, 84 or 1017.
uint32 purpose = 1;
int getCoinType()
Coin type is the second number in the derivation path, this is _always_ 0 for purposes 49 and 84. It only needs to be set to 1 for purpose 1017 on testnet or regtest.
uint32 coin_type = 2;
int getAccount()
Account is the third number in the derivation path. For purposes 49 and 84 at least the default account (index 0) needs to be created but optional additional accounts are allowed. For purpose 1017 there needs to be exactly one account for each of the key families defined in `keychain/derivation.go` (currently indices 0 to 9)
uint32 account = 3;
java.lang.String getXpub()
The extended public key at depth 3 for the given account.
string xpub = 4;
com.google.protobuf.ByteString getXpubBytes()
The extended public key at depth 3 for the given account.
string xpub = 4;