Bitcoin Implementation in Scala
Go to file
Chris Stewart 4c3f6f8e67 2020 04 08 multi db dao (#1355)
* Implement Slick's multi database support via our DAOs

WIP2 work on chain project

WIP make JdbcProfieComponent so we have a common JdbcProfile

WIP2

Clean up a few things

WIP got CRUDAutoInc compiling

Get closer to everything compiling in the chain project

Begin moving database code into JdbcProfileComponent

WIP source compiling

Get dbCommonsTest/ test cases passing

Get rest of tests compiling and passing

* Rebase onto master, fix conflicts

* Run scalafmt

* Run scalafmt again

* Cleanup a few compiler warnings by adding type annotations to thigns

* Explicitly cast tables where they are needed in the wallet project where we need TableQuery for foreignkey / joins in slick

* Redo definition of 'table' to use the profile.api.TableQuery in scope

* Rename all *Table.scala files to *Db.scala

* First crack at address ben's code review

* Fix docs compile issue

* Fixed casting (#30)

* Fixed AppConfig casting

* Fixed TableQuery casting in DbManagement subtypes

* Fixed casts in DAOs relating to internal types

* Address nadav's code review, move JdbcProfileComponent into it's own file

* Remove unused listTables() method

Co-authored-by: Nadav Kohen <nadavk25@gmail.com>
2020-04-25 11:28:58 -05:00
.github/ISSUE_TEMPLATE Update bug report template 2019-06-20 17:26:02 +02:00
app 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
app-commons Move Json Reader, Writers, and Serializers to App Commons (#1328) 2020-04-10 14:33:37 -05:00
bench Move Json Reader, Writers, and Serializers to App Commons (#1328) 2020-04-10 14:33:37 -05:00
bitcoin-s-docs Bump scalac version to 2.13.1 (#747) 2019-12-12 09:00:15 -06:00
bitcoind-rpc Bump scala version to 2.13.2 (#1360) 2020-04-23 07:38:20 -05:00
bitcoind-rpc-test Move Json Reader, Writers, and Serializers to App Commons (#1328) 2020-04-10 14:33:37 -05:00
chain 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
chain-test/src/test Move Json Reader, Writers, and Serializers to App Commons (#1328) 2020-04-10 14:33:37 -05:00
core Ignore immature coinbase outputs when funding a transaction (#1365) 2020-04-24 18:04:42 -05:00
core-test Fix isMinimalPush to not look for OP_1Negate when pushing 0x4f(79) (#1367) 2020-04-24 09:42:49 -05:00
db-commons 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
db-commons-test/src/test/scala/org/bitcoins/db 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
docs 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
eclair-rpc Move Json Reader, Writers, and Serializers to App Commons (#1328) 2020-04-10 14:33:37 -05:00
eclair-rpc-test Move Json Reader, Writers, and Serializers to App Commons (#1328) 2020-04-10 14:33:37 -05:00
key-manager Fix hardcoded network for the default wallet account (#1277) 2020-03-30 12:30:48 -05:00
key-manager-test/src/test/scala/org/bitcoins/keymanager Add testkit md (#1234) 2020-03-15 12:39:43 -05:00
node 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
node-test/src/test/scala/org/bitcoins/node 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
project Bump scala version to 2.13.2 (#1360) 2020-04-23 07:38:20 -05:00
secp256k1@e0239255f1 Update Secp256k1 (#1310) 2020-04-14 15:42:58 -05:00
secp256k1jni Update Secp256k1 (#1310) 2020-04-14 15:42:58 -05:00
testkit 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
wallet 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
wallet-test/src/test 2020 04 08 multi db dao (#1355) 2020-04-25 11:28:58 -05:00
website Update Secp256k1 (#1310) 2020-04-14 15:42:58 -05:00
zmq 2019 09 05 scalafmt update (#735) 2019-09-05 20:02:58 -05:00
.dockerignore WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
.gitignore 2019 11 30 key manager (#904) 2019-12-04 07:43:29 -06:00
.gitmodules Update Secp256k1 (#1310) 2020-04-14 15:42:58 -05:00
.scalafmt.conf Revert "Update scalafmt-core to 2.2.1 (#833)" (#839) 2019-10-27 17:21:15 -05:00
build.sbt Added appCommons to project aggregate so that it can get published (#1347) 2020-04-20 15:07:40 -05:00
CONTRIBUTING.md WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
docker-compose.yml Docs: removes blog from website 2019-06-11 12:59:58 +02:00
Dockerfile WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
inThisBuild.sbt Bump scala version to 2.13.2 (#1360) 2020-04-23 07:38:20 -05:00
LICENSE updating license 2018-01-17 17:15:18 -06:00
README.md Actually add all files for 0.3.0 on the website so they show up (#1256) 2020-03-19 07:32:02 -05:00
try-bitcoin-s.sh Update try-bitcoin-s.sh (#1165) 2020-02-26 07:50:17 -06:00

Bitcoin-S logo Build Status Coverage Status Maven Central Gitter chat

Feature rich toolkit for making Bitcoin and Lightning applications on the JVM.

For a complete guide on how to get started with Bitcoin-S, see our website at Bitcoin-S.org

The latest release of bitcoin-s is v0.3.0, here is how you can use the dependencies in your projects:

libraryDependencies +="org.bitcoin-s" % "bitcoin-s-secp256k1jni" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-core" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-chain" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-bitcoind-rpc" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-eclair-rpc" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-key-manager" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-node" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-wallet" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-testkit" % "0.3.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-zmq" % "0.3.0"