Commit graph

2335 commits

Author SHA1 Message Date
Ben Carman
47e305e1aa
Config CLI option, datadir correctly read from config (#1807)
* Config CLI option, datadir correctly read from config

* Change --config to --conf, add docs
2020-08-13 10:53:25 -05:00
Ben Carman
cb962f4d95
Optimize unmarkUTXOsAsReserved (#1804) 2020-08-12 14:02:02 -05:00
Ben Carman
1f6e2249ea
Address Tagging/Labeling Support from CLI (#1790)
* Address Tagging/Labeling Support from CLI

* Scaladoc
2020-08-12 10:55:15 -05:00
Ben Carman
e247289c34
Make Akka log to file correctly (#1801) 2020-08-12 07:52:51 -05:00
Nadav Kohen
9e5e2634f8
Fixed Transaction Signing doc (#1800) 2020-08-12 06:26:24 -05:00
Chris Stewart
fa388c7448
Create more of a project structure in org.bitcoins.core.api, move DbR… (#1799)
* Create more of a project structure in org.bitcoins.core.api, move DbRowAutoInc into the core project

* Get website compiling again
2020-08-12 06:13:23 -05:00
Scala Steward
1e41bf02e8
Update sbt-mdoc to 2.2.4 (#1786) 2020-08-11 09:11:39 -05:00
Ben Carman
e2294414bf
Send correct version message on node start up (#1793) 2020-08-11 09:11:04 -05:00
Ben Carman
d72316722d
Bump stop timeout (#1797) 2020-08-11 09:10:06 -05:00
Ben Carman
97ddf62b9f
Send GetHeadersMessage using all of our cached headers to prevent reorgs from stalling node (#1758)
* Send GetHeadersMessage using all of our cached headers to prevent reorgs from stalling node

* Add test, improve logging

* Start with correct chains

* Simplify error, change back to createAll
2020-08-10 13:04:12 -05:00
Scala Steward
84dfb33c37
Update sbt-buildinfo to 0.10.0 (#1792) 2020-08-10 12:23:07 -05:00
dependabot[bot]
0a16a79c75
Bump prismjs from 1.20.0 to 1.21.0 in /website (#1788)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 12:22:27 -05:00
Ben Carman
bed34f453e
Use safeRewind for signWithEntropy (#1774) 2020-08-10 10:17:41 -05:00
Ben Carman
931ad6b247
Revert scalaTest to 3.2.0 (#1791) 2020-08-09 11:09:47 -05:00
Ben Carman
1a8013242b
Fix for Wallet confirmed states (#1782)
* Fix for Wallet confirmed states

* Only process if we do not have the header
2020-08-08 08:12:30 -05:00
Ben Carman
f26d9e63d8
Docs: Remove WalletApi disclaimer (#1785) 2020-08-07 14:17:14 -05:00
Ben Carman
83906d738e
Docs: Address Queue (#1776)
* Docs: Address Queue

* docs: add configuration options
2020-08-07 12:32:22 -05:00
Ben Carman
26aee5eb6b
Better return message for bitcoin-s-cli stop (#1777) 2020-08-07 12:31:58 -05:00
Scala Steward
943c9e3112
Update scalatest to 3.2.1 (#1778) 2020-08-07 07:03:42 -05:00
Scala Steward
d09c5ccc39
Update scalacheck-1-14 to 3.2.1.0 (#1779) 2020-08-07 07:03:10 -05:00
Ben Carman
6f95c27aea
Replace localhost with 127.0.0.1 automatically (#1772) 2020-08-06 18:24:48 -05:00
Chris Stewart
d31806f76f
Add synchronous version of StartStop (#1771)
* Add synchronous version of StartStop

* Use ben's suggestion of StartStopAsync extending StartStop
2020-08-06 18:24:12 -05:00
Ben Carman
e4e81d8546
Allow NonWitness and Witness UTXOs in same InputPSBTMap (#1761) 2020-08-06 17:58:43 -05:00
Ben Carman
d9024b1752
Have wallet shuffle inputs and outputs (#1721) 2020-08-05 16:03:27 -05:00
Ben Carman
4323cd7048
Drop older headers on chain update (#1763) 2020-08-05 14:14:21 -05:00
Ben Carman
29c5bffb3c
Stop requesting merkle block messages while in neutrino mode (#1730) 2020-08-05 13:00:04 -05:00
Ben Carman
f8ca35b1c0
Add mempool.space as a fee provider (#1751) 2020-08-05 09:26:06 -05:00
rorp
b044b6400d
Implement Wallet.listTransactions() (#1744) 2020-08-05 07:21:12 -07:00
Ben Carman
576d455924
Add back chain index after creating a temp table (#1753) 2020-08-04 16:57:41 -05:00
Ben Carman
7db465f222
Callbacks to appconfig (#1740)
* Node Callbacks to appconfig

* Move WalletCallbacks to WalletAppConfig

* Update Docs
2020-08-04 12:27:21 -05:00
Ben Carman
eb09319c27
Have AppConfig use BitcoinNetwork.fromString (#1748) 2020-08-04 07:51:56 -05:00
Ben Carman
f4d4f8e8b9
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
82ab96c54d
Make ECDigitalSignature extend NetworkElement (#1750) 2020-08-04 07:29:52 -05:00
Ben Carman
1c2bc7081c
CLI: Handle non-json responses (#1749) 2020-08-04 07:24:11 -05:00
Ben Carman
5776eaede4
Start syncing filters on node startup (#1729) 2020-08-03 17:17:47 -05:00
Ben Carman
5426c01c9e
Fix CI failure in eclair test (#1735) 2020-08-03 14:08:46 -05:00
Scala Steward
626536ac58
Update sbt-scalafmt to 2.4.2 (#1736) 2020-08-01 15:47:02 -05:00
Ben Carman
9cd2c41e3d
Docs: Command line options (#1734) 2020-08-01 15:43:51 -05:00
Chris Stewart
5e80795c77
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
8f86c18076
Improved block parsing time by approx. 33% (#1728) 2020-07-31 06:13:27 -05:00
rorp
c3b7629e51
Fix Postgres types (#1723)
* Fix Postgres types

* update DbManagementTest
2020-07-30 16:42:49 -05:00
Ben Carman
930f184dca
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
26a2529f50
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
17e9c87cbc
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
5b2ad821ad
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
Nadav Kohen
7b8f17ade1
Added locks on start calls for loggers (#1713) 2020-07-29 10:12:49 -05:00
Ben Carman
728a4a841f
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
383aaa7639
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
89bb16a4e2
Update scodec-bits to 1.1.18 (#1716) 2020-07-29 07:07:18 -05:00
Ben Carman
d6ce8dee0b
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