Commit graph

2532 commits

Author SHA1 Message Date
benthecarman
ff6b85d195 Ignore block messages while syncing (#2587) 2021-01-29 09:28:57 -06:00
benthecarman
beac2be195 Update Oracle Server docs, fix oracle server bugs (#2581) 2021-01-29 08:14:28 -06:00
Scala Steward
36b8e755a8 Update metrics-core to 4.1.17 (#2580) 2021-01-29 07:57:45 -06:00
Chris Stewart
756bfc4427 2021 01 27 conectionpool (#2578)
* Give connection pool example config

* Get hikari logging working on postgres

* fix 2.12.x

* Bump metrics core to a supported version

* Add hikari-logging and hikari-logging-interval configuration options to turn off/on hikari and schedule how often logs appear

* Turn off hikari logging in the db-commons/reference.conf and add it to appserver/reference.conf

* default the logging to off in scala code

* Make sure connection pool is enabled in db-commons, add default database configuration to website

* Address code review, fix things that didn't need to be changed
2021-01-28 09:44:03 -06:00
Chris Stewart
092b5b2cab Add wallet sync documentation (#2565)
* Add wallet sync documentation

* Put bitcoin-s-cli call in the right place

* Add wallet.getSyncDescriptorOpt and heading for bitcoin-s-cli walletinfo

* Add walletinfo informations
2021-01-28 08:27:11 -06:00
benthecarman
45aa2988ad Fix oracle cli to use announcements (#2576) 2021-01-27 15:19:48 -08:00
benthecarman
fa27fb3fb1 Create BlockSyncState type (#2567) 2021-01-27 14:15:07 -06:00
Chris Stewart
d305dc50d5 Remove range event example from website docs (#2575) 2021-01-27 13:42:29 -06:00
benthecarman
33245b500e Bech32 address improvements (#2571)
* Bech32 address improvements

* Respond to review
2021-01-27 13:22:17 -06:00
benthecarman
0549fa355a Update website deps (#2573) 2021-01-27 07:18:28 -06:00
Scala Steward
1bba325687 Update sourcecode to 0.2.3 (#2557) 2021-01-23 20:53:23 -06:00
benthecarman
29bde74cb8 Fix all DAOs to use safeDatabase (#2556) 2021-01-22 16:13:45 -06:00
benthecarman
e10e278aa4 Add walletinfo rpc (#2546)
* Add walletinfo rpc

* Move rootXpub to key manager obj

* Make configuration keys for getinfo the same as the ones in our configuration files

* Cleanup

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-01-22 13:55:21 -06:00
benthecarman
983faa383a Updated DLC cli docs (#2551)
* Updated DLC cli docs

* Add stuff about from file for cli
2021-01-22 13:53:21 -06:00
rorp
05e21b1200 Bump Eclair version (#2405)
* Bump Eclair version

* cleanup

* Bump JVM version for CI

* Update docs

* Fix docs
2021-01-22 10:47:19 -06:00
benthecarman
0d07d558c4 Optimize node.start() and fetching filter & filter header heights (#2554)
* Make node.start() more async

* Add missing filter indexes

* Move queries to vals
2021-01-22 10:38:32 -06:00
benthecarman
e2ace38a1f Fix rescan to fetch blocks during scan (#2540) 2021-01-22 10:28:53 -06:00
benthecarman
523f1098fc Implement OracleAttestmentV0TLV, save outcome to db (#2516)
* Implement oracleAttestmentV0TLV, save outcome to db

* Update with tlv changes

* Update tlv to not have 2 list sizes

* small change

* Update OracleEvent.verifyAttestations

* Use correct pub key

* Verify correct outcomes
2021-01-22 09:45:45 -06:00
Scala Steward
382ed968d4 Update akka-actor, akka-slf4j, akka-stream, ... to 2.6.11 (#2517) 2021-01-22 08:29:35 -06:00
Chris Stewart
7de56cb075 Clarify getting-setup.md -- make distinctions between optional steps … (#2528) 2021-01-21 17:33:33 -06:00
benthecarman
09937e6ecf Fix rpc bind address from config (#2542)
* Fix rpc bind address from config

* Add to oracle server
2021-01-21 17:21:54 -06:00
benthecarman
906387c469 Default to native segwit wallet (#2548)
* Default to native segwit wallet

* Add to doc
2021-01-21 16:27:46 -06:00
benthecarman
667d651032 Fix native CI workflow for different branches (#2521)
* Fix native CI workflow for different branches

* Skip for documentation PRs
2021-01-21 15:57:14 -06:00
Chris Stewart
0b53788c26 Add comment about using defaultAccountType (#2549)
* Add comment about using defaultAccountType

* Fix nit
2021-01-21 14:57:31 -06:00
rorp
fc48964721 Fix 'client1.getDaemon.datadir.exists() was true' (#2544) 2021-01-21 12:38:17 -06:00
benthecarman
3435c2690b Add whitepaper to website (#2547) 2021-01-21 12:09:59 -06:00
benthecarman
2291bf0eae Create isChange function for wallet (#2535)
* Create isChange function for wallet

* Scaladocs
2021-01-20 12:11:24 -06:00
Scala Steward
7381a2339d Update sbt-mdoc to 2.2.16 (#2541) 2021-01-20 08:07:14 -06:00
benthecarman
4f60649521 Rescan/Restore wallet docs improvements (#2539) 2021-01-20 08:04:02 -06:00
benthecarman
962887dd0c Uniform GUI denominations (#2534) 2021-01-20 08:00:16 -06:00
benthecarman
811e96bb4f Fix BitcoindV21RpcClient testkit errors (#2533) 2021-01-18 16:19:00 -06:00
benthecarman
fcc258c5b2 Add unit test to make sure DataMessageHandler exception doesn't stop node (#2536) 2021-01-18 16:18:23 -06:00
Chris Stewart
4cf6f1153c Small cleanups on the chain docs (#2515)
* Small cleanups on the chain docs

* Remove extra whitespace
2021-01-18 11:32:03 -06:00
Scala Steward
d89ed9c461 Update native-lib-loader to 2.3.5 (#2523) 2021-01-18 06:27:09 -06:00
Chris Stewart
abc0a2b459 Refactor test case to be more idiomatic in hopes this kills CI failures (#2524) 2021-01-16 14:26:51 -06:00
Chris Stewart
1ec3092b2f 2021 01 15 dlc refactors (#2518)
* Kill DigitDecomp.isSigned

* Create TLVEndpoint, TLVMidpoint ADT. Also add helper method OutcomePayoutPoint.toTlvPoint
2021-01-16 07:55:42 -06:00
Chris Stewart
6193af7709 Remove WalletSync.sync() -> WalletSync.syncFullBlocks() (#2522) 2021-01-15 17:05:11 -06:00
benthecarman
36b3a1bd81 Use mainnet for default server (#2453)
* Use mainnet for default server

* Fix server tests
2021-01-14 14:07:35 -06:00
Chris Stewart
5de12311a8 Touch up bitcoind docs (#2514) 2021-01-14 14:02:12 -06:00
benthecarman
d69c60b8b2 Bitcoind v0.21.0 support (#2414)
* Bitcoind v0.21.0rc3 support

* Use v0.21.0 instead of Experimental in node tests

* Bump to rc5

* Use official release

* Fix rebase issues

* Remove DoNotDiscover tag

* Fix count for NeutrinoNodeTest
2021-01-14 14:01:44 -06:00
Scala Steward
6426158a1c Update sbt-native-image to 0.3.0 (#2511) 2021-01-13 12:59:53 -06:00
Chris Stewart
54cd05a7f2 Add new sbt-native-image plugin that helps generate a correct native … (#2494)
* Add new sbt-native-image plugin that helps generate a correct native image for the cli

* Initialize everything at build time to try and get cli working again

* Get server working with native image build

* Add '--no-fallback' which will report failures if we fail to build a standalone image

* Revert server project, file issue 2506 to indicate problems with server build

* Add native cli publishing using github actions

* Preprend 'app/' to paths

* Enable http,https protocols on cli

* Remove old graalvm plugin settings related to sbt native packager
2021-01-13 09:41:00 -06:00
Chris Stewart
2048cc0bbb Make ChainApi.processHeaders() return a failed future in the case we … (#2436)
* Rename NodeUnitTest.confg -> NodeUnitTest.getFreshConfig()

* Rename CachedBitcoinSAppConfig.config -> CachedBitcoinSAppConfig.cachedConfig

* Make CachedChainAppConfig extend CachedBitcoinSAppConfig

* Make ChainApi.processHeaders() return a failed future in the case we have no valid headers

* Run scalafmt

* Fix test case to check if promise is completed yet

* WIP: Get something working that isn't network specific

Start putting things back in place

Add comment

Revert logback file

Remove BitcoinSLogger object

* Fix unused import

* Get rid of annoying diff

* Fix spacing nit
2021-01-12 06:11:19 -06:00
Chris Stewart
a210c1ec3b 2021 01 09 issue 2496 (#2500)
* WIP: Get something working that isn't network specific

Start putting things back in place

Add comment

Revert logback file

Remove BitcoinSLogger object

* fix unit test

* Network specific log location

Co-authored-by: benthecarman <benthecarman@live.com>
2021-01-11 16:48:49 -06:00
Chris Stewart
51e9796b39 2021 01 11 issue 2493 (#2503)
* Rename NodeUnitTest.confg -> NodeUnitTest.getFreshConfig()

* Rename CachedBitcoinSAppConfig.config -> CachedBitcoinSAppConfig.cachedConfig

* Make CachedChainAppConfig extend CachedBitcoinSAppConfig

* use cached configs in both wallet/chain project as well taking ben's suggestion to fix those
2021-01-11 16:45:10 -06:00
Scala Steward
53df543f6f Update scalafx to 15.0.1-R21 (#2492)
* Update scalafx to 15.0.1-R21

* Update scalafx to 15.0.1-R21
2021-01-11 09:17:11 -06:00
benthecarman
03e36d5fa2 Recover errors in DataMessageHandler (#2460) 2021-01-10 12:17:51 -06:00
Chris Stewart
68af9760b3 Clean up fixture shutdown code a bit to try and see if this resolves … (#2498)
* Clean up fixture shutdown code a bit to try and see if this resolves issue on CI

* Rework fixtures so we aren't starting app configs in multiple places

* Fix scaladoc
2021-01-09 17:07:26 -06:00
Chris Stewart
bcfc0d51a8 Commit add Opt/T fromBytes/fromHex methods similar to StringFactory (#2499) 2021-01-09 13:04:07 -06:00
Scala Steward
44054e7f9a Update javafx-base, javafx-controls, ... to 16-ea+6 (#2489) 2021-01-09 11:24:15 -06:00