Commit graph

166 commits

Author SHA1 Message Date
Ben Carman
3314cd36d0
docs: Add DLC Oracle db conf to docs (#2269) 2020-11-17 12:49:12 -06:00
Chris Stewart
2de17bb4e4
2020 11 13 issue 2258 (#2260)
* Introduce ChainHandlerCached which behaves like the old ChainHandler. Now Chainhandler.getBestBlockHeader() will read headers from the database

* Remove ChainHandler.blockchains field, now it's only available in ChainHandlerCached

* De-futurify ChainHandler.fromDatabase()

* Adjust logging

* Patch test case

* Use BlockHeaderDAO.chainTips when getting best header rather thean BlockHeaderDAO.getBlockchains(). Implement a helper method ChainHandler.toChainHandlerCached()

* Fix chain.md,wallet.md

* Make ChainHandler.getBestBlockHeader() consider time of header if chainwork is the same. Make test cases less strict on what header is the best header when both chainwork and time are the same on the eader

* Only execute callbacks on headers that are going to be created in the database, not all headers passed into ChainHandler.processHeadersWithChains()

* Turn up log level again

* Small optimizations, check if we have seen a header before before processing it in ChainHandler.processHeadersWithChains(). Fix FilterSyncMarker.toString(). Use ChainHandlerCached in Node

* Remove ChainHandlerCached in appServer, re-add it in Node.scala
2020-11-17 06:19:07 -06:00
Ben Carman
744d8d18ab
Add ability to change aes password (#2254)
* Add ability to change aes password

* Add docs

* Rename, add logs + tests
2020-11-15 08:07:49 -06:00
Ben Carman
15bb935769
Use same config option for key manager projects (#2252)
* Use same config option for key manager projects

* Use BIP39KeyManager.initialize
2020-11-11 12:18:02 -06:00
Ben Carman
cc42849864
Use New Oracle TLVs in DLCOracle (#2162)
* Update Oracle to use new TLVs

* Rename things to use new names, scaladoc, small clean ups

* Add descomposition tests, docs, sign numbers outside of range
2020-11-10 06:08:43 -06:00
Ben Carman
641b2236d6
Let wallet sign PSBTs (#2236)
* Let wallet sign PSBTs

* Add example to docs

* Add logs and test case
2020-11-07 09:25:59 -06:00
Ben Carman
aaf1a81d4c
Bitcoind RPC Multi-wallet support (#2231)
* Bitcoind RPC Multi-wallet support

* Add to docs
2020-11-07 09:24:09 -06:00
Ben Carman
42e9cbb1f2
Make aesPassword option for wallet config (#2217)
* Make aesPassword option for wallet config

* Add to docs

* Make AesPassword optional

* Small touchups

* Fix for oracle server

* Fix docs

* Increase code coverage
2020-11-06 07:00:18 -06:00
Ben Carman
c08379b236
Decode PSBT function (#2237)
* Decode PSBT function

* Add test
2020-11-06 06:56:46 -06:00
Ben Carman
7b72d82440
Make BIP 39 password a config option (#2234) 2020-11-05 07:36:02 -06:00
Ben Carman
641538440f
Fee Provider from config (#2219)
* Fee Provider from config

* Use block targets, add docs

* Add FeeProviderFactory
2020-11-03 09:06:18 -06:00
Ben Carman
881d3b0b78
docs: Oracle Server setup docs (#2187) 2020-10-13 15:04:50 -05:00
Chris Stewart
1997f22e7d
Refactor db configuration to use the key 'user' rather than 'username' inline with slick documentation (#2184) 2020-10-13 10:02:02 -05:00
Ben Carman
25bc97765e
docs: Clarify there are 2 options for node backend (#2177) 2020-10-13 06:13:03 -05:00
Ben Carman
8577bfd34d
Remove requirement for ZMQ with bitcoind backend (#2137)
* Remove requirement for ZMQ with bitcoind backend

* Add test, move poller to BitcoindRpcBackendUtil

* Add docs & logs, fix niche case

* Use AtomicReference, reset prevCount on failure
2020-10-12 07:59:57 -05:00
Ben Carman
c662cf802d
Make tx an argument for decoderawtransaction (#2155)
* trivial: Make tx an argument for decoderawtransaction

* docs: Fix help command, add to docs
2020-10-10 00:13:20 -05:00
Chris Stewart
6db248de03
docs: Fix internal database configuration docs (#2156) 2020-10-08 19:31:03 -05:00
Ben Carman
08ac5cc9f1
docs: Add Bitcoind Backend Docs (#2136) 2020-10-06 13:40:24 -05:00
Ben Carman
0c31a9d3e6
Update slack links (#2134) 2020-10-06 12:53:38 -05:00
Ben Carman
2882956f30
docs: DLC Oracle Server (#2125)
* docs: DLC Oracle Server

* docs: Add sign event example
2020-10-05 17:05:06 -05:00
rorp
ffc42a1ed3
Server installation guide (#2091) 2020-10-02 10:29:49 -05:00
Ben Carman
23d0d7e0ea
Create BitcoindRpcAppConfig (#2077)
* Create BitcoindRpcAppConfig

* Fix to lazy val

* Override stop function to not use db

* Add new config options to docs
2020-09-30 07:36:23 -05:00
Ben Carman
856f88f0dd
Initial SigNet support (#2057) 2020-09-25 12:29:13 -05:00
Ben Carman
40db826ffc
docs: Calculate correct hashes in dlc doc (#2059) 2020-09-25 11:54:03 -05:00
Ben Carman
fb7335d758
Create Cli function for reserving and unreserving utxos (#2035) 2020-09-21 12:37:15 -05:00
Ben Carman
8361ff6e08
Merge pull request #2019
* Refactor logging to only use grizzled slf4j

* Fix docs

* test travis config change
2020-09-19 14:09:12 -05:00
Chris Stewart
449e205b8b
Introduce 'FilterSyncMarker' to ChainApi, make it clearier what exact… (#2003)
* Introduce 'FilterSyncMarker' to ChainApi, make it clearier what exactly the (Int,DoubleSha256Digest) tuple is returned from ChainApi.nextBlockHeaderRange()

* Fix doc

* Add scaladoc to FilterSyncMarker

* Rebase onto master, fix conflicts to use FilterSyncMarker
2020-09-11 13:48:40 -05:00
rorp
8d1d0fcba8
Update callbacks for LN support (#1938)
Update callbacks for LN support
2020-09-09 11:02:31 -07:00
Ben Carman
09556a072d
docs: Fix broken links in Docs + minor touchups (#1908) 2020-08-27 14:11:24 -05:00
Chris Stewart
9a1dfdfdbd
Remove AppConfig.initialize() in favor of AppConfig.start() (#1907)
* Remove AppConfig.initialize() in favor of AppConfig.start()

* Fix docs
2020-08-26 16:24:38 -05:00
rorp
1c84dc330f
Add an ability to one Postgres database for all sub-projects (#1897)
* Add an ability to one Postgres database for all sub-projects
2020-08-26 12:20:18 -07:00
Chris Stewart
e345227561
docs: Remove e2e dlc info from documentation, add some notes about using gui bundled with node (#1905) 2020-08-26 12:31:08 -05:00
Chris Stewart
b9095035ba
docs: dlc branch -> adaptor-dlc branch (#1903) 2020-08-26 10:48:34 -05:00
Chris Stewart
a9ad927a9c
Apply string factory to a bunch of easy things (#1891)
* Apply string factory to a bunch of easy things

* Refactor HDPath, ExtKey, and LnTagPrefix to use StringFactory

* Implemen StringFactory on LnHumanReadablePart, ScriptType, ServiceIdentifier

* Implement StringFactory on AesCrypt, NodeUri, AddressTag, PSBT, TxoState

* Fix failing tests, fix website compile

* Apply StringFactory to all ScriptOperations, ChannelState, Script Parsing
2020-08-25 10:48:37 -05:00
Nadav Kohen
3805fc6286
docs: Updated setup and dlc docs (#1895)
Removed graalvm from cli instructions
2020-08-25 10:33:05 -05:00
Ben Carman
4cdbeafb58
Move ChainApi to core (#1888)
* Move Chain Db Reps to core

* Move ChainApi to Core
2020-08-25 07:08:42 -05:00
Ben Carman
66ec89bcab
Move WalletApi to Core (#1890) 2020-08-25 07:05:20 -05:00
Ben Carman
acbdbfac41
Move all remaining wallet db representations (#1885) 2020-08-24 13:13:52 -05:00
Ben Carman
350928beca
Correcly use reference.conf file (#1869)
* Correcly use reference.conf file

* Fix for network specific filter header batch size config option

* Add to other conf files
2020-08-24 06:30:16 -05:00
Ben Carman
02f02fb22b
Create KeyManager Api & move SpendingInfoDb to core (#1848)
* Create KeyManager Api & move SpendingInfoDb to core

* Fix docs, remove sealed form KeyManagerApi

* Move SpendingInfoDb to core wallet api
2020-08-21 14:37:12 -05:00
Ben Carman
9dc7b2c0dd
Remove default false for useLogbackConf (#1816)
* Remove default false for useLogbackConf

* Fix docs

* Set logging level to WARN for tests
2020-08-14 08:53:07 -05:00
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
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
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
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
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
Ben Carman
4b03dcc4fa
Fix nightly build docs section (#1639) 2020-07-08 14:45:42 -05:00