mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
c2f37335b8
* Bump Scala versions Support Scala 2.12.9 and 2.13.0. To make this easier, we delete the `scripts` project. Everything that was in here was covered by content on the website. We also delete the `doc` folder, as that was a remnant from when `scripts` was called `doc`. * Crib uPickle akka-http support while we wait for publish * Fix compiler warnings * Add note on test logging to contribution guide * Reduce duplication in Blockchain implementation * Use Scala 2.12 for website * Introduce compat package object for collections converters * Fix Either compiler warnings * Add sync-chain and create-wallet docs from deleted scripts * Fix rebase goofup |
||
---|---|---|
.. | ||
src/main | ||
README.md |
db-commons
This is a project that is meant to contain re-usable database related infrastructure for bitcoin-s. This project is a dependency of wallet
and node
.
The library that bitcoin-s currently uses for database related things is called Slick
.
The most important file in this project is DbConfig
. This provides a
common way for databases to be accessed from configuration files. For more information on how Slick configuration files
work please see this reference.
This project expects the following keys for databases
- mainnetDb
- testnet3Db
- regtestDb
- unittestDb
This will be read by DbConfig
to specify database information related
to a specific project. You can look at the database configuration for the node
project for an example
of how this works.