diff --git a/graphenej/src/main/java/de/bitsharesmunich/graphenej/BrainKey.java b/graphenej/src/main/java/de/bitsharesmunich/graphenej/BrainKey.java index 39710c4..860559c 100644 --- a/graphenej/src/main/java/de/bitsharesmunich/graphenej/BrainKey.java +++ b/graphenej/src/main/java/de/bitsharesmunich/graphenej/BrainKey.java @@ -1,6 +1,5 @@ package de.bitsharesmunich.graphenej; -import de.bitsharesmunich.graphenej.crypto.SecureRandomGenerator; import org.bitcoinj.core.DumpedPrivateKey; import org.bitcoinj.core.ECKey; import org.bitcoinj.core.NetworkParameters; @@ -11,6 +10,8 @@ import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.ArrayList; +import de.bitsharesmunich.graphenej.crypto.SecureRandomGenerator; + /** * Class used to encapsulate all BrainKey-related operations. */ @@ -22,6 +23,9 @@ public class BrainKey { /* The required number of words */ public static final int BRAINKEY_WORD_COUNT = 12; + /* The default sequence number is zero */ + public static final int DEFAULT_SEQUENCE_NUMBER = 0; + /* The corresponding private key derivated from the brain key */ private ECKey mPrivateKey;