mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-20 02:11:40 +01:00
8d141ac450
* Add findAll() to CRUD * Add getAddressInfo to Wallet API * Insert pubkey into bloomfilter also inserts hash In this commit we also simplify parts of BloomFilterTest, and move what used to be in BloomFilterSpec into BloomFilterTest. * Add bloom filter generation to wallet * Add bloom false positive rate to wallet config * Add logging to SQL errors * Fix a bug where HDPath.next returned the wrong path * Add FutureUtil.sequentially * Make bloom filter size calculation more explicit * Return Vector of pubkeys instead of Seq * Verbose handling of address fetching in test |
||
---|---|---|
.. | ||
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.