case class AddressDAO()(implicit ec: ExecutionContext, config: WalletAppConfig) extends CRUD[AddressRecord, BitcoinAddress] with SlickUtil[AddressRecord, BitcoinAddress] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddressDAO
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SlickUtil
  7. CRUD
  8. JdbcProfileComponent
  9. Logging
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AddressDAO()(implicit ec: ExecutionContext, config: WalletAppConfig)

Type Members

  1. class AddressTable extends slick.jdbc.JdbcProfile.API.Table[AddressRecord]

    todo: this needs design rework.

    todo: this needs design rework. todo: https://github.com/bitcoin-s/bitcoin-s-core/pull/391#discussion_r274188334

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. implicit val appConfig: DbAppConfig
    Definition Classes
    CRUD → JdbcProfileComponent
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def count(): Future[Int]
    Definition Classes
    CRUD
  8. def create(addressDb: AddressDb): Future[AddressDb]
  9. def create(t: AddressRecord): Future[AddressRecord]
    Definition Classes
    CRUD
  10. def createAll(ts: Vector[AddressRecord]): Future[Vector[AddressRecord]]
    Definition Classes
    AddressDAO → CRUD
  11. def createAllNoAutoInc(ts: Vector[AddressRecord], database: SafeDatabase)(implicit ec: ExecutionContext): Future[Vector[AddressRecord]]
    Definition Classes
    SlickUtil
  12. lazy val database: slick.jdbc.JdbcProfile.API.Database
    Definition Classes
    JdbcProfileComponent
  13. lazy val dbConfig: DatabaseConfig[JdbcProfile]
    Definition Classes
    JdbcProfileComponent
  14. def debug(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def debug(msg: ⇒ Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def delete(addressDb: AddressDb): Future[Int]
  18. def delete(t: AddressRecord): Future[Int]
    Definition Classes
    CRUD
  19. def deleteAll(): Future[Int]
    Definition Classes
    CRUD
  20. def deleteAll(ts: Vector[AddressRecord]): Future[Int]
    Definition Classes
    CRUD
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def error(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def error(msg: ⇒ Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def find(t: AddressRecord): slick.jdbc.JdbcProfile.API.Query[slick.jdbc.JdbcProfile.API.Table[_], AddressRecord, Seq]
    Attributes
    protected
    Definition Classes
    CRUD
  27. def findAddress(addr: BitcoinAddress): Future[Option[AddressDb]]
  28. def findAll(ts: Vector[AddressRecord]): slick.jdbc.JdbcProfile.API.Query[AddressTable, AddressRecord, Seq]
    Definition Classes
    AddressDAO → CRUD
  29. def findAll(): Future[Vector[AddressRecord]]
    Definition Classes
    CRUD
  30. def findAllAddressDbForAccount(account: HDAccount): Future[Vector[AddressDb]]
  31. def findAllAddresses(): Future[Vector[AddressDb]]
  32. def findAllForAccount(account: HDAccount): Future[Vector[AddressRecord]]
  33. def findAllPubkeys(): Future[Vector[ECPublicKey]]

    Finds all public keys in the wallet

  34. def findAllSPKs(): Future[Vector[ScriptPubKey]]

    Finds all SPKs in the wallet

  35. def findByPrimaryKey(id: BitcoinAddress): slick.jdbc.JdbcProfile.API.Query[slick.jdbc.JdbcProfile.API.Table[_], AddressRecord, Seq]
    Attributes
    protected
    Definition Classes
    CRUD
  36. def findByPrimaryKeys(addresses: Vector[BitcoinAddress]): slick.jdbc.JdbcProfile.API.Query[AddressTable, AddressRecord, Seq]

    Finds the rows that correlate to the given primary keys

    Finds the rows that correlate to the given primary keys

    Definition Classes
    AddressDAO → CRUD
  37. def findByScriptPubKey(spk: ScriptPubKey): Future[Option[AddressDb]]
  38. def findByScriptPubKeys(spks: Vector[ScriptPubKey]): Future[Vector[AddressDb]]
  39. def findMostRecentChange(hdAccount: HDAccount): Future[Option[AddressDb]]

    Finds the most recent change address in the wallet, if any

  40. def findMostRecentExternal(hdAccount: HDAccount): Future[Option[AddressDb]]

    Finds the most recent external address in the wallet, if any

  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def getFundedAddresses: Future[Vector[(AddressDb, CurrencyUnit)]]
  43. def getSpentAddresses: Future[Vector[AddressDb]]
  44. def getUnusedAddresses(hdAccount: HDAccount): Future[Vector[AddressDb]]
  45. def getUnusedAddresses: Future[Vector[AddressDb]]
  46. def info(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def info(msg: ⇒ Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  50. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  51. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  54. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  55. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  56. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  59. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. lazy val numThreads: Int
    Definition Classes
    JdbcProfileComponent
  61. lazy val password: String
    Definition Classes
    JdbcProfileComponent
  62. lazy val profile: JdbcProfile
    Definition Classes
    JdbcProfileComponent
  63. def read(id: BitcoinAddress): Future[Option[AddressRecord]]
    Definition Classes
    CRUD
  64. def safeDatabase: SafeDatabase
    Definition Classes
    CRUD
  65. val schemaName: Option[String]
    Definition Classes
    CRUD
  66. def startHikariLogger(interval: Duration): HikariLogging
    Attributes
    protected
    Definition Classes
    JdbcProfileComponent
  67. def stopHikariLogger(): Unit
    Attributes
    protected
    Definition Classes
    JdbcProfileComponent
  68. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  69. val table: slick.jdbc.JdbcProfile.API.TableQuery[AddressTable]
    Definition Classes
    AddressDAO → CRUD
  70. implicit def tableQuerySafeSubtypeCast[SpecificT <: AbstractTable[_], SomeT <: SpecificT](tableQuery: slick.jdbc.JdbcProfile.API.TableQuery[SomeT]): slick.jdbc.JdbcProfile.API.TableQuery[SpecificT]
    Attributes
    protected
    Definition Classes
    CRUD
  71. def trace(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  72. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  73. def trace(msg: ⇒ Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  74. def update(t: AddressRecord): Future[AddressRecord]
    Definition Classes
    CRUD
  75. def updateAll(ts: Vector[AddressRecord]): Future[Vector[AddressRecord]]
    Definition Classes
    CRUD
  76. def upsert(addressDb: AddressDb): Future[AddressDb]
  77. def upsert(t: AddressRecord): Future[AddressRecord]
    Definition Classes
    CRUD
  78. def upsertAll(ts: Vector[AddressRecord]): Future[Vector[AddressRecord]]
    Definition Classes
    CRUD
  79. lazy val username: String
    Definition Classes
    JdbcProfileComponent
  80. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  83. def warn(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def warn(msg: ⇒ Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CRUD[AddressRecord, BitcoinAddress]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped