Package org.bitcoinj.wallet
Interface Protos.ScryptParametersOrBuilder
- 
- All Superinterfaces:
 com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
 Protos.ScryptParameters,Protos.ScryptParameters.Builder
- Enclosing class:
 - Protos
 
public static interface Protos.ScryptParametersOrBuilder extends com.google.protobuf.MessageLiteOrBuilder 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetN()CPU/ memory cost parameterintgetP()Parallelisation parameterintgetR()Block size parametercom.google.protobuf.ByteStringgetSalt()Salt to use in generation of the wallet password (8 bytes)booleanhasN()CPU/ memory cost parameterbooleanhasP()Parallelisation parameterbooleanhasR()Block size parameterbooleanhasSalt()Salt to use in generation of the wallet password (8 bytes) 
 - 
 
- 
- 
Method Detail
- 
hasSalt
boolean hasSalt()
Salt to use in generation of the wallet password (8 bytes)
required bytes salt = 1;- Returns:
 - Whether the salt field is set.
 
 
- 
getSalt
com.google.protobuf.ByteString getSalt()
Salt to use in generation of the wallet password (8 bytes)
required bytes salt = 1;- Returns:
 - The salt.
 
 
- 
hasN
boolean hasN()
CPU/ memory cost parameter
optional int64 n = 2 [default = 16384];- Returns:
 - Whether the n field is set.
 
 
- 
getN
long getN()
CPU/ memory cost parameter
optional int64 n = 2 [default = 16384];- Returns:
 - The n.
 
 
- 
hasR
boolean hasR()
Block size parameter
optional int32 r = 3 [default = 8];- Returns:
 - Whether the r field is set.
 
 
- 
getR
int getR()
Block size parameter
optional int32 r = 3 [default = 8];- Returns:
 - The r.
 
 
- 
hasP
boolean hasP()
Parallelisation parameter
optional int32 p = 4 [default = 1];- Returns:
 - Whether the p field is set.
 
 
- 
getP
int getP()
Parallelisation parameter
optional int32 p = 4 [default = 1];- Returns:
 - The p.
 
 
 - 
 
 -