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 long
getN()
CPU/ memory cost parameterint
getP()
Parallelisation parameterint
getR()
Block size parametercom.google.protobuf.ByteString
getSalt()
Salt to use in generation of the wallet password (8 bytes)boolean
hasN()
CPU/ memory cost parameterboolean
hasP()
Parallelisation parameterboolean
hasR()
Block size parameterboolean
hasSalt()
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.
-
-