Commit Graph

2098 Commits

Author SHA1 Message Date
Ben Carman
34cc2a80ce Add back chain index after creating a temp table (#1753) 2020-08-04 16:57:41 -05:00
Ben Carman
e542a00d19 Callbacks to appconfig (#1740)
* Node Callbacks to appconfig

* Move WalletCallbacks to WalletAppConfig

* Update Docs
2020-08-04 12:27:21 -05:00
Ben Carman
0978256818 Have AppConfig use BitcoinNetwork.fromString (#1748) 2020-08-04 07:51:56 -05:00
Ben Carman
a022fbaed1 Batch add filters to database (#1725)
* Process filter headers in batch

* Use correct batch

* Cache filter heights

* Convert to option
2020-08-04 07:30:42 -05:00
Ben Carman
231b692fdf Make ECDigitalSignature extend NetworkElement (#1750) 2020-08-04 07:29:52 -05:00
Ben Carman
e7b4ec5a1b CLI: Handle non-json responses (#1749) 2020-08-04 07:24:11 -05:00
Ben Carman
db7af37ac5 Start syncing filters on node startup (#1729) 2020-08-03 17:17:47 -05:00
Ben Carman
bc1255e2a2 Fix CI failure in eclair test (#1735) 2020-08-03 14:08:46 -05:00
Scala Steward
43075bb7b7 Update sbt-scalafmt to 2.4.2 (#1736) 2020-08-01 15:47:02 -05:00
Ben Carman
3d80140cfe Docs: Command line options (#1734) 2020-08-01 15:43:51 -05:00
Chris Stewart
d39613e9b0 2020 07 25 optimize recalc chainwork (#1697)
* Optimize recalc Chainwork

* Typo and warning fixes

* Rename force recalc cli option

* Always update gensis header

* Add config option

* Fix config option

* Add to example config

Co-authored-by: Ben Carman <benthecarman@live.com>
2020-07-31 10:43:04 -05:00
Nadav Kohen
ce3667857d Improved block parsing time by approx. 33% (#1728) 2020-07-31 06:13:27 -05:00
rorp
8f03551e99 Fix Postgres types (#1723)
* Fix Postgres types

* update DbManagementTest
2020-07-30 16:42:49 -05:00
Ben Carman
870609a406 Optimize getBestFilter functions (#1715)
* Optimize getBestFilter functions

* Remove debug statement

* Change varbinary to varchar, create index

* Fix getBlockchainFrom for tests

* Create index for postgres
2020-07-30 10:47:48 -05:00
Ben Carman
0ece51379e CRUD Test suite + updateAll improvements (#1618)
* CRUD Tests

* Remove some hard coded values

* DeleteAll test optimization

* Make deleteAll transactional

* Fix deleteAll test
2020-07-30 10:10:56 -05:00
Ben Carman
cad6fbeaaf Fix getBlockchainsBetweenHeights (#1710)
* Fix getBlockchainsBetweenHeights

* Fix getBlockchainsBetweenHeights

* Fix compile issue for older version

* Improve test

* Optimizations
2020-07-29 16:36:22 -05:00
Nadav Kohen
666d53d94a Add low R signing (#1342)
* Added signing with entropy to the JNI and implemented low R signing

* Added check for determinism of low R signing

* Cleaned up test

* Implemented signing with entropy in Bouncy Castle

* Added docs for signing with entropy

* Fixed things after rebase

* De-parallelized signLowR and added scaladoc warnings to signWithEntropy
2020-07-29 15:03:18 -05:00
Ben Carman
51d35e24e9 Fix Node Startup Issue (#1683)
* Fix Node Startup Issue

* Small fixes

* Add option to force chain work recalc
2020-07-29 09:37:20 -05:00
Ben Carman
f41039b31b Remove need to parse every header in a blockchain on instantiation (#1704)
* Remove need to parse every header in a blockchain on instantiation

* Require height is descending

* Fix invariant
2020-07-29 07:25:24 -05:00
Scala Steward
b6efa76186 Update scodec-bits to 1.1.18 (#1716) 2020-07-29 07:07:18 -05:00
Ben Carman
26d5a09532 Move Node type of out Wallet API (#1708)
* Move Node type of out wallet api

* Remove extensions, add scaladocs
2020-07-29 05:57:48 -05:00
Scala Steward
c3dfb369d7 Update sqlite-jdbc to 3.32.3.2 (#1718) 2020-07-29 05:56:18 -05:00
Nadav Kohen
1cea1f3bb2 Fixed getblockchaininfo for v19 (#1711) 2020-07-28 15:29:42 -05:00
Ben Carman
82ba6fc09f Wallet API remove app config (#1706) 2020-07-28 15:19:10 -05:00
Nadav Kohen
faf2e0148a Fix All Loggers! (#1695)
* Fixed logging so that appenders are always started when logging is happening

* Started rolling policy so that file appenders could start in getLoggerImpl
2020-07-28 07:13:38 -05:00
Ben Carman
38f3fc2074 Wallet API, widen key manager definition, remove unlock functions (#1705) 2020-07-28 07:02:15 -05:00
Ben Carman
ece26c08e6 Wallet API move execution context (#1707) 2020-07-28 07:00:59 -05:00
Ben Carman
73628e7e1f Add ProcessBlockTest (#1674) 2020-07-27 14:14:24 -05:00
Ben Carman
4abcf3f321 Create HDWalletApi (#1693)
* Create HDWalletApi

* Rename createWallet to createHDWallet, add listDefaultAccountUtxos function

* Change return types to HDWalletApi

* Fix warning
2020-07-27 14:06:48 -05:00
Ben Carman
b2b9ca7eec Create getBlockchainsBetweenHeights for BlockHeaderDAO (#1703)
* Create getBlockchainsBetweenHeights for BlockHeaderDAO

* Use reconstructFromHeaders instead
2020-07-27 13:14:29 -05:00
Chris Stewart
cac1729bf0 Add .transactionally to CRUD.updateAll(), CRUD.upsertAll(), CRUDAutoInc.createAll() (#1698) 2020-07-25 16:47:04 -05:00
Ben Carman
d6289eb5e7 Move function defs from wallet api to wallet (#1694) 2020-07-25 16:37:48 -05:00
Ben Carman
6e76600e3f Shuffle Finalizer Tests + bug fix (#1680) 2020-07-23 11:14:53 -05:00
dependabot[bot]
ec86b9e653 Bump lodash from 4.17.15 to 4.17.19 in /website (#1681)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-23 09:10:08 -05:00
Scala Steward
d757aa3125 Update scalamock to 5.0.0 (#1684) 2020-07-22 06:26:24 -05:00
Scala Steward
53629997f3 Update javafx-base, javafx-controls, ... to 14.0.2.1 (#1685) 2020-07-22 06:10:49 -05:00
Ben Carman
5c9cbbdfc1 Skip downloadBlocks if given an empty Vector (#1690) 2020-07-21 13:59:07 -05:00
Chris Stewart
87e9a279c6 Move where we call wallet.start() and node.start() to the same place to avoid initializaiton issue 1687 (#1689) 2020-07-21 12:04:29 -05:00
Ben Carman
9a35f16913 Start server before sync (#1682)
* Start server before sync

* Move promise call
2020-07-19 10:40:36 -05:00
Ben Carman
5e8a049fd2 Unreserve spent utxos (#1676) 2020-07-19 10:40:09 -05:00
Nadav Kohen
714d5a06fd Fixed getAddressInfo for versions 18 and 19 (#1679) 2020-07-17 13:20:36 -05:00
Ben Carman
4935b513c7 Create ShuffleFinalizer (#1660) 2020-07-16 16:09:26 -05:00
Ben Carman
af67b9ada3 Create BIP 69 finalizer (#1661) 2020-07-16 11:37:43 -05:00
Ben Carman
f26909b356 Fix CoinSelector for KiloX fee rates (#1664) 2020-07-16 10:18:22 -05:00
Scala Steward
1ba10a8c69 Update akka-actor, akka-stream, ... to 2.6.8 (#1677) 2020-07-16 06:08:31 -05:00
Ben Carman
2ef3f48313 Enforce unique outpoints for SpendingInfoDb (#1673) 2020-07-15 14:09:44 -05:00
Scala Steward
88eb145a37 Update sqlite-jdbc to 3.32.3.1 (#1671) 2020-07-15 13:32:59 -05:00
Ben Carman
d29a04c480 Let Wallet find utxos by state (#1668) 2020-07-15 13:07:55 -05:00
Nadav Kohen
8a8817f8c8 Segwit Signing Bug Fix (#1670)
* Various signing improvements and a fix for badly rebuilt segwit scripts when signing

* Responded to review
2020-07-14 16:15:12 -05:00
Chris Stewart
4ee0113fbd Bump scala 2.12 compiler to 2.12.12 (#1669)
* Bump scala 2.12 compiler to 2.12.12

* Bump travis scalac version
2020-07-14 10:44:10 -05:00