org.bitcoinj.wallet
Interface Protos.WalletOrBuilder
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
- Protos.Wallet, Protos.Wallet.Builder
- Enclosing class:
- Protos
public static interface Protos.WalletOrBuilder
- extends com.google.protobuf.MessageOrBuilder
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
| Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder |
isInitialized |
hasNetworkIdentifier
boolean hasNetworkIdentifier()
required string network_identifier = 1;
the network used by this wallet
getNetworkIdentifier
String getNetworkIdentifier()
required string network_identifier = 1;
the network used by this wallet
getNetworkIdentifierBytes
com.google.protobuf.ByteString getNetworkIdentifierBytes()
required string network_identifier = 1;
the network used by this wallet
hasLastSeenBlockHash
boolean hasLastSeenBlockHash()
optional bytes last_seen_block_hash = 2;
The SHA256 hash of the head of the best chain seen by this wallet.
getLastSeenBlockHash
com.google.protobuf.ByteString getLastSeenBlockHash()
optional bytes last_seen_block_hash = 2;
The SHA256 hash of the head of the best chain seen by this wallet.
hasLastSeenBlockHeight
boolean hasLastSeenBlockHeight()
optional uint32 last_seen_block_height = 12;
The height in the chain of the last seen block.
getLastSeenBlockHeight
int getLastSeenBlockHeight()
optional uint32 last_seen_block_height = 12;
The height in the chain of the last seen block.
hasLastSeenBlockTimeSecs
boolean hasLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;
getLastSeenBlockTimeSecs
long getLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;
getKeyList
List<Protos.Key> getKeyList()
repeated .wallet.Key key = 3;
getKey
Protos.Key getKey(int index)
repeated .wallet.Key key = 3;
getKeyCount
int getKeyCount()
repeated .wallet.Key key = 3;
getKeyOrBuilderList
List<? extends Protos.KeyOrBuilder> getKeyOrBuilderList()
repeated .wallet.Key key = 3;
getKeyOrBuilder
Protos.KeyOrBuilder getKeyOrBuilder(int index)
repeated .wallet.Key key = 3;
getTransactionList
List<Protos.Transaction> getTransactionList()
repeated .wallet.Transaction transaction = 4;
getTransaction
Protos.Transaction getTransaction(int index)
repeated .wallet.Transaction transaction = 4;
getTransactionCount
int getTransactionCount()
repeated .wallet.Transaction transaction = 4;
getTransactionOrBuilderList
List<? extends Protos.TransactionOrBuilder> getTransactionOrBuilderList()
repeated .wallet.Transaction transaction = 4;
getTransactionOrBuilder
Protos.TransactionOrBuilder getTransactionOrBuilder(int index)
repeated .wallet.Transaction transaction = 4;
getWatchedScriptList
List<Protos.Script> getWatchedScriptList()
repeated .wallet.Script watched_script = 15;
getWatchedScript
Protos.Script getWatchedScript(int index)
repeated .wallet.Script watched_script = 15;
getWatchedScriptCount
int getWatchedScriptCount()
repeated .wallet.Script watched_script = 15;
getWatchedScriptOrBuilderList
List<? extends Protos.ScriptOrBuilder> getWatchedScriptOrBuilderList()
repeated .wallet.Script watched_script = 15;
getWatchedScriptOrBuilder
Protos.ScriptOrBuilder getWatchedScriptOrBuilder(int index)
repeated .wallet.Script watched_script = 15;
hasEncryptionType
boolean hasEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
getEncryptionType
Protos.Wallet.EncryptionType getEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
hasEncryptionParameters
boolean hasEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;
getEncryptionParameters
Protos.ScryptParameters getEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;
getEncryptionParametersOrBuilder
Protos.ScryptParametersOrBuilder getEncryptionParametersOrBuilder()
optional .wallet.ScryptParameters encryption_parameters = 6;
hasVersion
boolean hasVersion()
optional int32 version = 7;
The version number of the wallet - used to detect wallets that were produced in the future
(i.e the wallet may contain some future format this protobuf/ code does not know about)
getVersion
int getVersion()
optional int32 version = 7;
The version number of the wallet - used to detect wallets that were produced in the future
(i.e the wallet may contain some future format this protobuf/ code does not know about)
getExtensionList
List<Protos.Extension> getExtensionList()
repeated .wallet.Extension extension = 10;
getExtension
Protos.Extension getExtension(int index)
repeated .wallet.Extension extension = 10;
getExtensionCount
int getExtensionCount()
repeated .wallet.Extension extension = 10;
getExtensionOrBuilderList
List<? extends Protos.ExtensionOrBuilder> getExtensionOrBuilderList()
repeated .wallet.Extension extension = 10;
getExtensionOrBuilder
Protos.ExtensionOrBuilder getExtensionOrBuilder(int index)
repeated .wallet.Extension extension = 10;
hasDescription
boolean hasDescription()
optional string description = 11;
A UTF8 encoded text description of the wallet that is intended for end user provided text.
getDescription
String getDescription()
optional string description = 11;
A UTF8 encoded text description of the wallet that is intended for end user provided text.
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 11;
A UTF8 encoded text description of the wallet that is intended for end user provided text.
hasKeyRotationTime
boolean hasKeyRotationTime()
optional uint64 key_rotation_time = 13;
UNIX time in seconds since the epoch. If set, then any keys created before this date are assumed to be no longer
wanted. Money sent to them will be re-spent automatically to the first key that was created after this time. It
can be used to recover a compromised wallet, or just as part of preventative defence-in-depth measures.
getKeyRotationTime
long getKeyRotationTime()
optional uint64 key_rotation_time = 13;
UNIX time in seconds since the epoch. If set, then any keys created before this date are assumed to be no longer
wanted. Money sent to them will be re-spent automatically to the first key that was created after this time. It
can be used to recover a compromised wallet, or just as part of preventative defence-in-depth measures.
Copyright © 2014. All rights reserved.