public static interface Protos.DeterministicKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getChainCode()
required bytes chain_code = 1; |
boolean |
getIsFollowing()
optional bool isFollowing = 5; |
int |
getIssuedSubkeys()
optional uint32 issued_subkeys = 3; |
int |
getLookaheadSize()
optional uint32 lookahead_size = 4; |
int |
getPath(int index)
repeated uint32 path = 2; |
int |
getPathCount()
repeated uint32 path = 2; |
List<Integer> |
getPathList()
repeated uint32 path = 2; |
int |
getSigsRequiredToSpend()
optional uint32 sigsRequiredToSpend = 6 [default = 1]; |
boolean |
hasChainCode()
required bytes chain_code = 1; |
boolean |
hasIsFollowing()
optional bool isFollowing = 5; |
boolean |
hasIssuedSubkeys()
optional uint32 issued_subkeys = 3; |
boolean |
hasLookaheadSize()
optional uint32 lookahead_size = 4; |
boolean |
hasSigsRequiredToSpend()
optional uint32 sigsRequiredToSpend = 6 [default = 1]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasChainCode()
required bytes chain_code = 1;
Random data that allows us to extend a key. Without this, we can't figure out the next key in the chain and should just treat it as a regular ORIGINAL type key.
com.google.protobuf.ByteString getChainCode()
required bytes chain_code = 1;
Random data that allows us to extend a key. Without this, we can't figure out the next key in the chain and should just treat it as a regular ORIGINAL type key.
List<Integer> getPathList()
repeated uint32 path = 2;
The path through the key tree. Each number is encoded in the standard form: high bit set for private derivation and high bit unset for public derivation.
int getPathCount()
repeated uint32 path = 2;
The path through the key tree. Each number is encoded in the standard form: high bit set for private derivation and high bit unset for public derivation.
int getPath(int index)
repeated uint32 path = 2;
The path through the key tree. Each number is encoded in the standard form: high bit set for private derivation and high bit unset for public derivation.
boolean hasIssuedSubkeys()
optional uint32 issued_subkeys = 3;
How many children of this key have been issued, that is, given to the user when they requested a fresh key? For the parents of keys being handed out, this is always less than the true number of children: the difference is called the lookahead zone. These keys are put into Bloom filters so we can spot transactions made by clones of this wallet - for instance when restoring from backup or if the seed was shared between devices. If this field is missing it means we're not issuing subkeys of this key to users.
int getIssuedSubkeys()
optional uint32 issued_subkeys = 3;
How many children of this key have been issued, that is, given to the user when they requested a fresh key? For the parents of keys being handed out, this is always less than the true number of children: the difference is called the lookahead zone. These keys are put into Bloom filters so we can spot transactions made by clones of this wallet - for instance when restoring from backup or if the seed was shared between devices. If this field is missing it means we're not issuing subkeys of this key to users.
boolean hasLookaheadSize()
optional uint32 lookahead_size = 4;
int getLookaheadSize()
optional uint32 lookahead_size = 4;
boolean hasIsFollowing()
optional bool isFollowing = 5;
Flag indicating that this key is a root of a following chain. This chain is following the next non-following chain. Following/followed chains concept is used for married keychains, where the set of keys combined together to produce a single P2SH multisignature address
boolean getIsFollowing()
optional bool isFollowing = 5;
Flag indicating that this key is a root of a following chain. This chain is following the next non-following chain. Following/followed chains concept is used for married keychains, where the set of keys combined together to produce a single P2SH multisignature address
boolean hasSigsRequiredToSpend()
optional uint32 sigsRequiredToSpend = 6 [default = 1];
Number of signatures required to spend. This field is needed only for married keychains to reconstruct KeyChain and represents the N value from N-of-M CHECKMULTISIG script. For regular single keychains it will always be 1.
int getSigsRequiredToSpend()
optional uint32 sigsRequiredToSpend = 6 [default = 1];
Number of signatures required to spend. This field is needed only for married keychains to reconstruct KeyChain and represents the N value from N-of-M CHECKMULTISIG script. For regular single keychains it will always be 1.
Copyright © 2016. All rights reserved.