Bitcoin Implementation in Scala
Go to file
Chris Stewart 98ace6f14e 2021 01 02 issue 2457 (#2461)
* WIP

* Get neutrino node with wallet 'receive information about received payments' working again

* Fix compile

* Remove initial sync logic from test case

* Remove sync logic in NeutrinoNodeWithWallet test cases

* Improve logging and rename a few things

* WIP2

* WIP3

* Get NeutrinoNodeWithWallet tests working

* Implement WalletSync, which allows you to sync a wallet from a arbitrary data source

* Get all tests passing again

* Use spv.appConfig in DataMessageHandlerTest rather than caching the config

* Modify cleanup to hopefully get CI passing

* Fix postgres tests by cleaning the table during the destroy phase of the test fixture. This is needed because the same postgres database is shared between tests in the same test suite

* Revert logback-test.xml

* Get sqlite/postgres tests passing pt 2

* syncHeight -> syncDescriptorOpt()

* Add case for genesis block hash in WalletSync

* Fix SpvNodeWithWallet test case to actually test spv functionality

* Remove nodeCallbacks parameters, callbacks should be registered on nodeAppConfig
2021-01-09 09:33:37 -06:00
.github Skip CI tests for docs PRs (#2435) 2020-12-29 08:07:15 -06:00
app Rename wallet.getSyncHeight() -> wallet.getSyncDescriptorOpt(). We don't just use height in the descriptor, the hash is just as valuable for connecting to chains (#2479) 2021-01-07 07:40:30 -06:00
app-commons Import Seed cli commands (#2376) 2020-12-21 06:53:20 -06:00
app-commons-test/src/test/scala/org/bitcoins/commons 2020 12 19 enable test compileropts (#2400) 2020-12-20 07:09:07 -06:00
bench 2020 11 02 cleanup (#2233) 2020-11-03 11:07:04 -06:00
bitcoin-s-docs Change versions in readme (#2065) 2020-09-27 08:16:59 -05:00
bitcoind-rpc Bitcoind Version from String (#2421) 2020-12-23 07:16:54 -06:00
bitcoind-rpc-test Fixed Low R signing (#2408) 2020-12-21 14:50:34 -06:00
chain 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
chain-test/src/test Rework BlockHeaderDAO.chainTips into two methods: BlockHeaderDAO.{get… (#2443) 2021-01-01 09:04:29 -06:00
core 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
core-test Limit bech32 addresses to segwitv0 (#2471) 2021-01-07 08:13:31 -06:00
crypto/src/main/scala/org/bitcoins/crypto 2020 12 18 enable lint options (#2454) 2021-01-03 08:01:26 -06:00
crypto-test Bump size of data for AesCryptTest (#2483) 2021-01-07 07:55:29 -06:00
db-commons 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
db-commons-test/src/test/scala/org/bitcoins/db Simplify DBConfig Test to fix failures (#2459) 2021-01-04 07:12:38 -06:00
dlc-oracle/src/main Update DLC Oracle Signing Algo (#2465) 2021-01-05 08:19:53 -06:00
dlc-oracle-test/src/test/scala/org/bitcoins/dlc/oracle Update DLC Oracle Signing Algo (#2465) 2021-01-05 08:19:53 -06:00
docs Fix docs sidebar (#2466) 2021-01-04 06:13:46 -06:00
eclair-rpc Add officially supported version of bitcoind by eclair, also add the ability to specify which version of bitcoind you are using for EclairRpcTestUtil.getBitcoindRpc (#2490) 2021-01-08 11:43:48 -06:00
eclair-rpc-test 2020 12 19 enable test compileropts (#2400) 2020-12-20 07:09:07 -06:00
fee-provider/src/main/scala/org/bitcoins/feeprovider 2020 12 18 enable lint options (#2454) 2021-01-03 08:01:26 -06:00
fee-provider-test/src/test/scala/org/bitcoins/feeprovider Create more of a project structure in org.bitcoins.core.api, move DbR… (#1799) 2020-08-12 06:13:23 -05:00
key-manager Make KeyManager return better error messages (#2464) 2021-01-04 12:43:55 -06:00
key-manager-test/src/test/scala/org/bitcoins/keymanager Make KeyManager return better error messages (#2464) 2021-01-04 12:43:55 -06:00
node 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
node-test/src/test/scala/org/bitcoins/node 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
project Update play-json to 2.9.2 (#2468) 2021-01-06 10:20:59 -06:00
release-notes Add old release notes (#2385) 2020-12-23 14:17:37 -06:00
secp256k1@e2e7cf2fba Update secp branch with synced java files (#2448) 2020-12-30 17:34:27 -06:00
secp256k1jni Windows Secp Update & fix for parsing Windows paths (#2398) 2020-12-21 16:34:53 -06:00
testkit 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
wallet 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
wallet-test/src/test 2021 01 02 issue 2457 (#2461) 2021-01-09 09:33:37 -06:00
website Add download link to navbar & downloads page (#2473) 2021-01-07 07:08:26 -06:00
zmq 2020 11 02 cleanup (#2233) 2020-11-03 11:07:04 -06:00
.dockerignore WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
.gitignore PostgreSQL support (#1315) 2020-06-02 16:37:48 -05:00
.gitmodules Update Secp256k1 (#1310) 2020-04-14 15:42:58 -05:00
.jvmopts Add hardcoded jvmopts file that starts with a 2g heap (#1436) 2020-05-20 07:31:58 -05:00
.scalafmt.conf Update scalafmt-core to 2.6.4 (#1686) 2020-08-24 14:24:16 -05:00
build.sbt 2020 12 18 enable lint options (#2454) 2021-01-03 08:01:26 -06: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 Get Scala 2.13.4 compiling (#2294) 2020-11-28 07:36:07 -06:00
LICENSE Update LICENSE year (#2474) 2021-01-06 06:41:18 -06:00
README.md Change CI Status to use Github Actions badge (#2364) 2020-12-15 12:16:14 -06: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

Getting started

https://bitcoin-s.org/docs/getting-setup

Adding bitcoin-s to your library

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

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

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

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

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

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

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

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

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

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

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