Class/Object

org.bitcoins.core.hd

LegacyHDPath

Related Docs: object LegacyHDPath | package hd

Permalink

sealed abstract class LegacyHDPath extends BIP32Path with HDPath

Linear Supertypes
HDPath, BIP32Path, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LegacyHDPath
  2. HDPath
  3. BIP32Path
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type NextPath = LegacyHDPath

    Permalink

    This type is to give a cleaner return type of next.

    This type is to give a cleaner return type of next.

    Consider:

    def next: this.type = ???
    
    val first: SegWitHDPath = ???
    val second = first.next
    // second is now:
    // first.type (with underlying type org.bitcoins.core.hd.SegWitHDPath)
    def next: NextPath = ???
    
    // in SegWitHDPath
    override type NextPath = SegWitHDPath
    
    val first: SegWitHDPath = ???
    val second = first.next
    // second is now:
    // SegWitHDPath
    Attributes
    protected
    Definition Classes
    LegacyHDPath → HDPath

Abstract Value Members

  1. abstract def address: HDAddress

    Permalink
    Definition Classes
    HDPath

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def account: HDAccount

    Permalink
    Definition Classes
    HDPath
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def chain: HDChain

    Permalink
    Definition Classes
    HDPath
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def coin: HDCoin

    Permalink
    Definition Classes
    HDPath
  9. def diff(that: BIP32Path): Option[BIP32Path]

    Permalink

    BIP32 paths can be subsets/superset of each other.

    BIP32 paths can be subsets/superset of each other. If all elements in a path p is included in a path P, (i.e. p is a subset of P), p.diff(P) is the elements from P that is not in p.

    Definition Classes
    BIP32Path
    Example:
    1.  // equal paths
      m/44'/1' diff m/44'/1' == Some(BIP32Path.empty)
      // diffable path
      m/44'/0'/0' diff m/44'/0'/0'/0/2 = Some(m/0/2)
      m/44'/0'/0'/1 diff m/44'/0'/0'/1/2 = Some(m/2)
      // this is longer than other
      m/44'/1' diff m/44' == None
      // any fields are unequal along the way
      m/44'/1' diff m/43'/2' == None
      m/44'/1'/0 diff m/44'/2'/1 == None
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def next: NextPath

    Permalink

    Increments the address index and returns the new path that can be passed into a ExtKey

    Increments the address index and returns the new path that can be passed into a ExtKey

    Definition Classes
    HDPath
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val path: Vector[BIP32Node]

    Permalink
    Definition Classes
    HDPath → BIP32Path
  21. def purpose: HDPurpose

    Permalink
    Definition Classes
    HDPath
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    BIP32Path → AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HDPath

Inherited from BIP32Path

Inherited from AnyRef

Inherited from Any

Ungrouped