object HDAccount extends StringFactory[HDAccount] with Serializable
- Alphabetic
- By Inheritance
- HDAccount
- Serializable
- StringFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- def fromExtKeyVersion(version: ExtKeyVersion, idx: Int): HDAccount
- def fromPath(path: BIP32Path): Option[HDAccount]
- def fromString(string: String): HDAccount
Tries to parse a string to type t, throws an exception if fails
Tries to parse a string to type t, throws an exception if fails
- Definition Classes
- HDAccount → StringFactory
- def fromStringOpt(string: String): Option[HDAccount]
Treis to parse a string to type t, returns None if failure
Treis to parse a string to type t, returns None if failure
- Definition Classes
- StringFactory
- def fromStringT(string: String): Try[HDAccount]
Tries to parse string to type t, returns scala.util.Failure if the fails
Tries to parse string to type t, returns scala.util.Failure if the fails
- Definition Classes
- StringFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSameAccount(bip32Path: BIP32Path, account: HDAccount): Boolean
- def isSameAccount(path: Vector[BIP32Node], account: HDAccount): Boolean
This method is meant to take in an arbitrary bip32 path and see if it has the same account as the given account
This method is meant to take in an arbitrary bip32 path and see if it has the same account as the given account
This is tricky as an account is defined as m / purpose' / cointype' / account'
whereas a bip32 path can be arbitrarily deep.
We want to just check the first 4 elements of the path and see if they are the same, which indicates we are in the same account
- 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()
- 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()