Commit graph

87 commits

Author SHA1 Message Date
Scala Steward
ae02d609e3
Update flyway-core to 6.2.1 (#1082) 2020-01-31 13:07:54 +01:00
Scala Steward
94ae919a00 Update akka-actor, akka-stream, ... to 2.5.29 (#1077) 2020-01-28 18:42:20 +01:00
Scala Steward
ec543bbbf7 Update akka-actor, akka-stream, ... to 2.5.28 (#1072) 2020-01-28 06:16:02 -06:00
Scala Steward
96b1515086 Update flyway-core to 6.2.0 (#1062) 2020-01-23 13:59:50 -06:00
Ben Carman
c4ade3ba3c Txo state flyway (#1052)
* Add flyway migrations

* Make different project's migrations independent of each other

* Rework all AppConfig.initialize() to use migrations rather than what we were doing before

* TXO State migration

* Move to new file, drop old column

* Add block hash column

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2020-01-22 15:34:36 -06:00
Scala Steward
d95ccd7dee Update sourcecode to 0.2.0 (#1024) 2020-01-14 07:16:27 -06:00
Scala Steward
55d3048981 Update scalacheck-1-14 to 3.1.0.1 (#987) 2019-12-27 05:54:10 -06:00
Scala Steward
4ce9a11ce5 Update sqlite-jdbc to 3.30.1 (#982) 2019-12-25 07:33:24 -06:00
Scala Steward
629d2b52eb Update sourcecode to 0.1.9 (#979) 2019-12-21 17:06:50 -06:00
Scala Steward
03064087d5 Update slf4j-api to 1.7.30 (#953) 2019-12-17 05:55:15 -06:00
Scala Steward
4c5c997f6a Update scalacheck to 1.14.3 (#946) 2019-12-15 18:29:30 -06:00
Scala Steward
c762a9fed7 Update akka-actor, akka-stream, ... to 2.5.27 (#937) 2019-12-10 15:32:30 -06:00
Chris Stewart
ade8bea831
2019 12 10 scalatest 3.1.0 (#933)
* Update scalatest to 3.1.0

* Modify code to support scalatest 3.1.0
2019-12-10 09:12:47 -06:00
Chris Stewart
72097e31bd
2019 11 30 key manager (#904)
* Segregate key manager from wallet

* More consistent naming in build.sbt, run scalafmt

* Add test case making sure we don't overwrite a mnemonic seed

* Add key-manager.md

* Fix compile issues with older scala versions

* Address code review
2019-12-04 07:43:29 -06:00
Chris Stewart
7e6f489fee
2019 11 28 cli native image doc (#903)
* Add documentation about how the cli can be built with a native image

* Finish rest of documentation on building command line client for bitcoin-s

* Add missing akka actor on walletServer classpath, add plugins to be able to build the walletServer as a standalone jar

* Add server.md

* Rename walletServer -> appServer

* Address code review, add missing main class in server project

* Address code review
2019-12-04 07:25:03 -06:00
Scala Steward
1a9cf577db Update akka-http, akka-http-testkit to 10.1.11 (#908) 2019-12-03 10:07:02 -06:00
rorp
43ec85af39 Rescan RPC (#854)
* Rescan RPC

* cleanup

* fix optional args

* cleanup

* unit tests

* fix build error

* fix unit tests

* scalaMock

* cleanup

* more unit tests

* some more validation checks
2019-11-21 08:03:32 -06:00
Chris Stewart
7063b985a1
Bump micro pickle/json to 0.8.0 (#853) 2019-11-05 15:13:54 -06:00
Scala Steward
c237cbbabf Update scalacheck to 1.14.2 (#849) 2019-11-01 09:06:44 -05:00
Scala Steward
9e7050ee32 Update slf4j-api to 1.7.29 (#848) 2019-11-01 06:11:03 -05:00
Scala Steward
f169a6b1e9 Update sourcecode to 0.1.8 (#841) 2019-10-28 20:11:00 -05:00
Scala Steward
d351d04393 Update sttp:core to 1.7.2 (#808) 2019-10-22 14:25:45 -05:00
Scala Steward
d141508b02 Update akka-actor, akka-stream, ... to 2.5.26 (#817) 2019-10-20 01:54:12 -05:00
Scala Steward
b240b3c4ab Update typesafe:config to 1.4.0 (#803) 2019-10-13 19:30:09 -05:00
Scala Steward
3973b8d2b4 Update sttp:core to 1.7.0 (#785) 2019-10-07 06:10:48 -05:00
Scala Steward
b23fa50be6 Update sttp:core to 1.6.8 (#773) 2019-10-06 09:33:31 -05:00
Scala Steward
f9ec76009e Update akka-http, akka-http-testkit to 10.1.10 (#751) 2019-09-22 16:11:21 -05:00
Scala Steward
de41d63017 Update sttp:core to 1.6.6 (#741) 2019-09-10 01:27:38 -05:00
Scala Steward
6170b0cd69 Update sttp:core to 1.6.4 (#664) 2019-08-26 13:54:56 +02:00
Torkel Rogstad
a303818c1e Bump Scala versions (#697)
* 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
2019-08-23 13:53:00 -05:00
Scala Steward
6a69228bae Update akka-actor, akka-stream, ... to 2.5.25 (#700) 2019-08-20 10:46:21 -05:00
Scala Steward
c82197934a Update slf4j-api to 1.7.28 (#687) 2019-08-10 10:50:48 -05:00
Scala Steward
6a6011179e Update akka-actor, akka-stream, ... to 2.5.24 (#686) 2019-08-09 16:03:15 -05:00
Scala Steward
1471983d27 Update slf4j-api to 1.7.27 (#677) 2019-08-06 07:13:32 -05:00
Torkel Rogstad
31642aff44 Add configurable logging to data directory (#640)
* Add logging to data directory

In this commit we add the ability for the node, chain
and wallet projects (+ the server) to log to the users
data directory instead of whatever directory the
binaries was launched from. This is inherently a bit
more complicated than our previous setup, because
we need to read the user directory before we can create
loggers. As a result of this, some files/methods were
moved around, so the relevant app config could be
found in scope.

We also  introduce several logging categories that can be
tuned individually through user configuration. These logggers
are exposed both as traits that give a field `logger`, or
as methods that return the required logger.

* Add datadir configuration to AppConfig

In this commit we add support for AppConfig to pick up
the data directory configuration file. We also add
a section to the contributing guide on how to tune
logging levels.

* Pass data directories explicitly for configuration
2019-08-01 06:01:56 -05:00
cwaldron97
1b3a964027 Killing Joda Dependency (#643)
Remove Joda dependency
2019-07-29 12:22:25 +02:00
Torkel Rogstad
3be3353aec
Merge pull request #637 from cwaldron97/2019-07-16-remove-bitcoinj-dep
Remove BitcoinJ from dependencies
2019-07-18 11:01:19 +02:00
cwaldron97
aff51cb7f3 more removal 2019-07-17 14:47:45 -05:00
Scala Steward
d0bcaa9363 Update akka-http, akka-http-testkit to 10.1.9 (#639) 2019-07-17 13:17:58 -05:00
cwaldron97
30b8aab1cf started to remove bitcoinj deps 2019-07-16 15:12:38 -05:00
Scala Steward
e5f05cbb3e Update sqlite-jdbc to 3.28.0 (#616) 2019-07-16 06:18:40 -05:00
Scala Steward
31ddb89fa3 Update native-lib-loader to 2.3.4 (#614) 2019-07-13 08:08:23 -05:00
Scala Steward
fe73fb58ed Update slick, slick-hikaricp to 3.3.2 (#607) 2019-07-13 08:06:47 -05:00
Scala Steward
fa8d30cd32 Update scodec-bits to 1.1.12 (#615) 2019-07-13 07:55:06 -05:00
Scala Steward
d403932446 Update scalatest to 3.0.8 (#613) 2019-07-12 17:38:55 -05:00
Scala Steward
73392dfd04 Update play-json to 2.7.4 (#605) 2019-07-12 17:38:20 -05:00
Torkel Rogstad
70ce5a0ba8 Somewhat dirty standalone server and CLI binary (#558)
* PoC bitcoin-s-cli

* Add CLI, Server sbt projects, remove Ammonite

In this commit we set up sbt configuration for
CLI, Server (in-work-name) and corresponding
test projects.

We also remove Ammonite shell from sbt, as that
isn't really being used. bloop console offers
the same functionality way more ergonimic.

* Move BitcoinSAppConfig into new server project

Server project depends on node, chain wand wallet
so this is a good time for introducing this class
into main sources. We also introduce
BitcoinSTestAppConfig in testkit, to replace the
functionality in BitcoinSAppConfig related to
tests.

* Type chain in blockchainresult

* MVP server setup for node, chain and wallet

* Extremely dirty CLI for interacting with server

* initial attempt at mimicking Bitcoin Core API

* WalletStorage: add method for checking for seed existance

* Check for seed existance on wallet startup

* Fix bug where MnemonicNotFound was not an error

* Segregate confirmed and unconfirmed balance methods

* Add error handling, improve formatting of CLI output

* Tweak build

Bump Sttp version, downgrade to uPickle 2.11 compat,
skip publish in cli-test and server-test

* Add CLI, server and picklers to root project
2019-07-10 06:33:17 -05:00
Chris Stewart
27f31f7405 Add scalameter test dependency and sbt settings 2019-07-01 06:44:30 -05:00
Torkel Rogstad
90b9b6aa9a Pass bloom filter to SPV node (#514)
* Add getAddressInfo to Wallet API

* Add Bloom filter and event callbacks to SPV node

* Move wallet test trait to testkit

* Test for connecting SPV node with wallet

* Tune logging in SPV node

* Clean up BloomFilter

* Proper toString in inventory and inventorymessage

* Actually pass in callbacks to SPV node

* Fix rebase screwup and partially respond to code review

* Default to file based databases in tests

This is due to issues with deadlocks with
in-memory based databases. We need DBs
to stay alive between connections, but
not across tests.

In DB intensive chain validation tests we
use in-memory databases instead. This
seems like a reasonable tradeoff between
simplicity and speed.

* Make SpvNodeCallbacks contain sequence of functions within

* Make Bloom filter non-optional in SpvNode
2019-06-17 06:48:26 -05:00
Chris Stewart
5908d9c7c2 bump play-json version to 2.7.2 2019-06-11 08:47:34 -05:00