object WalletStorage extends KeyManagerLogger
- Alphabetic
- By Inheritance
- WalletStorage
- KeyManagerLogger
- BitcoinSLogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class AlreadyBackedUpException extends SecurityException
- case class RawEncryptedSeed(rawIv: String, rawCipherText: String, rawSalt: String, rawCreationTime: Long, rawBackupTime: Option[Long], rawImported: Boolean) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ENCRYPTED_SEED_FILE_NAME: String
- val FIRST_BITCOIN_S_WALLET_TIME: Long
Start of bitcoin-s wallet project, Block 555,990 block time on 2018-12-28
- val GENESIS_TIME: Long
Epoch time of the mainnet Genesis Block
- val SEED_FOLDER_NAME: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def changeAesPassword(seedPath: Path, oldPasswordOpt: Option[AesPassword], newPasswordOpt: Option[AesPassword]): SeedState
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def decryptSeedFromDisk(seedPath: Path, passphraseOpt: Option[AesPassword]): Either[ReadMnemonicError, DecryptedSeedState]
Reads the wallet mnemonic from disk and tries to parse and decrypt it
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getPrivateKeyFromDisk(seedPath: Path, privKeyVersion: ExtKeyPrivVersion, passphraseOpt: Option[AesPassword], bip39PasswordOpt: Option[String]): ExtPrivateKeyHardened
- def getSeedBackupTime(seedPath: Path, passphraseOpt: Option[AesPassword]): Try[Option[Instant]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- def markSeedAsBackedUp(seedPath: Path, passphraseOpt: Option[AesPassword]): Try[Unit]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def readDecryptedSeedPhraseForBackup(seedPath: Path, passphraseOpt: Option[AesPassword]): Try[Vector[String]]
- def seedExists(seedPath: Path): Boolean
Checks if a wallet seed exists in datadir
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeSeedToDisk(seedPath: Path, extKey: DecryptedExtPrivKey): Path
Writes the unencrypted xprv to disk.
Writes the unencrypted xprv to disk. If we encounter a file in the place we're about to write to, an error will be thrown.
- def writeSeedToDisk(seedPath: Path, mnemonic: DecryptedMnemonic): Path
Writes the unencrypted mnemonic to disk.
Writes the unencrypted mnemonic to disk. If we encounter a file in the place we're about to write to, an error will be thrown.
- def writeSeedToDisk(seedPath: Path, seed: EncryptedSeed): Path
Writes the encrypted mnemonic to disk.
Writes the encrypted mnemonic to disk. If we encounter a file in the place we're about to write to, an error will be thrown.
- def writeSeedToDisk(seedPath: Path, seed: SeedState): Path
Writes the mnemonic to disk.
Writes the mnemonic to disk. If we encounter a file in the place we're about to write to, an error will be thrown.