Bitcoin Implementation in Scala
Go to file
Chris Stewart 44e4ab9a7e 2020 03 15 chainhandler getnancestor (#1247)
* Rename BlockHeaderDAO.getNChildren() to BlockHeaderDAO.getNAncestor() as that is what it actually does

* This changes the behavior of BlockHeaderDAO.getNAncestors from the previous implementation which just fetched headers in between two heights, to actually validating the headers that are fetched from the database with Blockchain.reconstructFromheaders()

* Run scalafmt

* Replace BlockHeader.getNAncestors call to Blockchain.reconstructFromHeaders() with Blockchain.connectWalkBackwards() so that we don't do full POW validation from the database, just make sure the headers connect to avoid reorg problems. Also add some more informative logs

* Address Roman's code review
2020-03-18 05:51:31 -05:00
.github/ISSUE_TEMPLATE Update bug report template 2019-06-20 17:26:02 +02:00
app Remove requirement for sats parameter (#1190) 2020-03-03 08:59:25 -06:00
bench Got rid of warning messages! (#1133) 2020-02-19 08:02:33 -06:00
bitcoin-s-docs Bump scalac version to 2.13.1 (#747) 2019-12-12 09:00:15 -06:00
bitcoind-rpc 2020 03 06 wallet rescan test (#1218) 2020-03-13 16:11:02 -05:00
bitcoind-rpc-test Fix the time based test cases in BitcoindV17RpcClientTest (#1224) 2020-03-13 11:24:43 -07:00
chain 2020 03 15 chainhandler getnancestor (#1247) 2020-03-18 05:51:31 -05:00
chain-test/src/test 2020 03 15 chainhandler getnancestor (#1247) 2020-03-18 05:51:31 -05:00
core 2020 03 15 chainhandler getnancestor (#1247) 2020-03-18 05:51:31 -05:00
core-test Bouncy Castle Fallback (#1232) 2020-03-17 13:20:06 -05:00
db-commons Scalafmt Fix (#1117) 2020-02-12 14:22:55 -06:00
db-commons-test/src/test/scala/org/bitcoins/db Run test:scalafmt, and enforce it on CI (#1023) 2020-01-23 14:46:57 -06:00
docs Add headings for both Node and cofiguration on the sidebar (#1241) 2020-03-15 15:52:58 -05:00
eclair-rpc Move binaries to be stored inside of the HOME/.bitcoin-s/binaries instead of usrdir/binaries. This makes it so different projects that use bitcoin-s can re-use binaries instead of having to download them for every project (#1128) 2020-02-17 12:07:04 -06:00
eclair-rpc-test Add testkit md (#1234) 2020-03-15 12:39:43 -05:00
key-manager Added server handling for empty account tables while a seed exists (#1094) 2020-02-09 11:14:53 -06:00
key-manager-test/src/test/scala/org/bitcoins/keymanager Add testkit md (#1234) 2020-03-15 12:39:43 -05:00
node Got rid of warning messages! (#1133) 2020-02-19 08:02:33 -06:00
node-test/src/test/scala/org/bitcoins/node Automated wallet recovery (#985) 2020-01-02 13:18:41 -06:00
project Update akka-actor, akka-stream, ... to 2.5.30 (#1221) 2020-03-15 13:21:36 -05:00
secp256k1@2e16ac7d6c Changing TxSigComponent to take a TransactionOutput instead of a ScriptPubKey, refactoring ScriptProgram into 3 companion objects PreExecutionScriptProgram, ExecutionInProgressScriptProgram, ExecutedScriptProgram 2018-05-19 09:25:32 -05:00
secp256k1jni Bouncy Castle Fallback (#1232) 2020-03-17 13:20:06 -05:00
testkit Add testkit md (#1234) 2020-03-15 12:39:43 -05:00
wallet Fix scala 2.11 compile (#1233) 2020-03-14 08:18:26 -05:00
wallet-test/src/test 2020 03 06 wallet rescan test (#1218) 2020-03-13 16:11:02 -05:00
website Bump docusaraus dependency to the latest version 1.14.4 (#1243) 2020-03-16 06:01:07 -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 Adding specific commit for secp256k1 2018-04-25 16:44:48 -05:00
.scalafmt.conf Revert "Update scalafmt-core to 2.2.1 (#833)" (#839) 2019-10-27 17:21:15 -05:00
build.sbt Add build config to skip publishing the new db-commons-test library (#1057) 2020-01-23 07:00:30 -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 Bump scalac version to 2.13.1 (#747) 2019-12-12 09:00:15 -06:00
LICENSE updating license 2018-01-17 17:15:18 -06:00
README.md Add version 0.2.0 of the website (#948) 2019-12-16 05:57: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