Packages

o

org.bitcoins.keymanager

WalletStorage

object WalletStorage extends KeyManagerLogger

Linear Supertypes
KeyManagerLogger, BitcoinSLogger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WalletStorage
  2. KeyManagerLogger
  3. BitcoinSLogger
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class AlreadyBackedUpException extends SecurityException
  2. case class RawEncryptedSeed(rawIv: String, rawCipherText: String, rawSalt: String, rawCreationTime: Long, rawBackupTime: Option[Long], rawImported: Boolean) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ENCRYPTED_SEED_FILE_NAME: String
  5. val FIRST_BITCOIN_S_WALLET_TIME: Long

    Start of bitcoin-s wallet project, Block 555,990 block time on 2018-12-28

  6. val GENESIS_TIME: Long

    Epoch time of the mainnet Genesis Block

  7. val SEED_FOLDER_NAME: String
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def changeAesPassword(seedPath: Path, oldPasswordOpt: Option[AesPassword], newPasswordOpt: Option[AesPassword]): SeedState
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def decryptSeedFromDisk(seedPath: Path, passphraseOpt: Option[AesPassword]): Either[ReadMnemonicError, DecryptedSeedState]

    Reads the wallet mnemonic from disk and tries to parse and decrypt it

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getPrivateKeyFromDisk(seedPath: Path, privKeyVersion: ExtKeyPrivVersion, passphraseOpt: Option[AesPassword], bip39PasswordOpt: Option[String]): ExtPrivateKeyHardened
  17. def getSeedBackupTime(seedPath: Path, passphraseOpt: Option[AesPassword]): Try[Option[Instant]]
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def logger: Logger
    Definition Classes
    BitcoinSLogger
  21. def markSeedAsBackedUp(seedPath: Path, passphraseOpt: Option[AesPassword]): Try[Unit]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def readDecryptedSeedPhraseForBackup(seedPath: Path, passphraseOpt: Option[AesPassword]): Try[Vector[String]]
  26. def seedExists(seedPath: Path): Boolean

    Checks if a wallet seed exists in datadir

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. 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.

  33. 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.

  34. 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.

  35. 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.

Inherited from KeyManagerLogger

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped