Commit graph

2728 commits

Author SHA1 Message Date
benthecarman
f34f35ae2b
Default to native segwit wallet (#2548)
* Default to native segwit wallet

* Add to doc
2021-01-21 16:27:46 -06:00
benthecarman
93fea25c32
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
663d94d1c0
Add comment about using defaultAccountType (#2549)
* Add comment about using defaultAccountType

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

* Scaladocs
2021-01-20 12:11:24 -06:00
Scala Steward
a16018bf17
Update sbt-mdoc to 2.2.16 (#2541) 2021-01-20 08:07:14 -06:00
benthecarman
4891838000
Rescan/Restore wallet docs improvements (#2539) 2021-01-20 08:04:02 -06:00
benthecarman
827f0f3b6a
Uniform GUI denominations (#2534) 2021-01-20 08:00:16 -06:00
benthecarman
d5f162ee09
Fix BitcoindV21RpcClient testkit errors (#2533) 2021-01-18 16:19:00 -06:00
benthecarman
7e942ba66d
Add unit test to make sure DataMessageHandler exception doesn't stop node (#2536) 2021-01-18 16:18:23 -06:00
Chris Stewart
e44a620ea1
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
1903ee30b0
Update native-lib-loader to 2.3.5 (#2523) 2021-01-18 06:27:09 -06:00
Chris Stewart
8c918ac0a7
Refactor test case to be more idiomatic in hopes this kills CI failures (#2524) 2021-01-16 14:26:51 -06:00
Chris Stewart
abc1fdd23f
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
f3e81d027d
Remove WalletSync.sync() -> WalletSync.syncFullBlocks() (#2522) 2021-01-15 17:05:11 -06:00
benthecarman
a1a2524b56
Use mainnet for default server (#2453)
* Use mainnet for default server

* Fix server tests
2021-01-14 14:07:35 -06:00
Chris Stewart
65919e135b
Touch up bitcoind docs (#2514) 2021-01-14 14:02:12 -06:00
benthecarman
648e7d9aba
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
d21657e18b
Update sbt-native-image to 0.3.0 (#2511) 2021-01-13 12:59:53 -06:00
Chris Stewart
0f84e3d158
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
4e285e6746
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
93dae6c239
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
da54d2e9fb
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
0c0e209013
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
1ddd7bec1d
Recover errors in DataMessageHandler (#2460) 2021-01-10 12:17:51 -06:00
Chris Stewart
84ce69eac8
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
2c2646c78d
Commit add Opt/T fromBytes/fromHex methods similar to StringFactory (#2499) 2021-01-09 13:04:07 -06:00
Scala Steward
27e50b2c34
Update javafx-base, javafx-controls, ... to 16-ea+6 (#2489) 2021-01-09 11:24:15 -06:00
benthecarman
94c71543fb
Add createmultisig cli command (#2495) 2021-01-09 09:54:34 -06:00
Chris Stewart
2b94b33052
2021 01 02 issue 2457 (#2461)
* WIP

* Get neutrino node with wallet 'receive information about received payments' working again

* Fix compile

* Remove initial sync logic from test case

* Remove sync logic in NeutrinoNodeWithWallet test cases

* Improve logging and rename a few things

* WIP2

* WIP3

* Get NeutrinoNodeWithWallet tests working

* Implement WalletSync, which allows you to sync a wallet from a arbitrary data source

* Get all tests passing again

* Use spv.appConfig in DataMessageHandlerTest rather than caching the config

* Modify cleanup to hopefully get CI passing

* Fix postgres tests by cleaning the table during the destroy phase of the test fixture. This is needed because the same postgres database is shared between tests in the same test suite

* Revert logback-test.xml

* Get sqlite/postgres tests passing pt 2

* syncHeight -> syncDescriptorOpt()

* Add case for genesis block hash in WalletSync

* Fix SpvNodeWithWallet test case to actually test spv functionality

* Remove nodeCallbacks parameters, callbacks should be registered on nodeAppConfig
2021-01-09 09:33:37 -06:00
Chris Stewart
c4650e3930
Make allFactories lazy so we don't hit NPE exceptions (#2491) 2021-01-08 14:35:55 -06:00
Chris Stewart
e38569db10
Add officially supported version of bitcoind by eclair, also add the ability to specify which version of bitcoind you are using for EclairRpcTestUtil.getBitcoindRpc (#2490) 2021-01-08 11:43:48 -06:00
Chris Stewart
056702f61c
Add explicit signing version associated with a EventDescriptor (#2487) 2021-01-07 11:31:00 -06:00
benthecarman
223be80573
Limit bech32 addresses to segwitv0 (#2471)
* Limit bech32 addresses to segwitv0

* extend ScriptFactory, make check exhuastive
2021-01-07 08:13:31 -06:00
benthecarman
e944ed083f
Bump size of data for AesCryptTest (#2483) 2021-01-07 07:55:29 -06:00
Chris Stewart
b76be736b8
Rename wallet.getSyncHeight() -> wallet.getSyncDescriptorOpt(). We don't just use height in the descriptor, the hash is just as valuable for connecting to chains (#2479) 2021-01-07 07:40:30 -06:00
benthecarman
1ea4e1b0be
Add download link to navbar & downloads page (#2473)
* Add download link to navbar

* Downloads page
2021-01-07 07:08:26 -06:00
Nadav Kohen
141fc548bc
Modified rounding on DLCPayoutCurve interpolation to match spec (#2470) 2021-01-07 06:42:01 -06:00
benthecarman
ecc4532bf7
Remove callbacks param from DataMessageHandler & PeerMessageReceiver (#2476) 2021-01-06 13:23:47 -06:00
benthecarman
78e28baf3c
Rename v0.4 version to 0.4.0 in docs (#2478) 2021-01-06 10:48:16 -06:00
Scala Steward
9eb6ec8458
Update play-json to 2.9.2 (#2468) 2021-01-06 10:20:59 -06:00
benthecarman
663a951430
Update LICENSE year (#2474) 2021-01-06 06:41:18 -06:00
benthecarman
166440b34b
Update DLC Oracle Signing Algo (#2465) 2021-01-05 08:19:53 -06:00
benthecarman
fb43748d97
Version Number in logs & Cli Command (#2467) 2021-01-05 07:27:40 -06:00
Chris Stewart
cc2c438da1
Remove -Xfatal-warnings flag for tests (#2469) 2021-01-05 05:57:56 -06:00
benthecarman
f5dae42761
Make KeyManager return better error messages (#2464)
* Make KeyManager return better error messages

* Increase test coverage

* Refactor

* Create type for raw strings
2021-01-04 12:43:55 -06:00
benthecarman
0cc85cc0b3
Simplify DBConfig Test to fix failures (#2459) 2021-01-04 07:12:38 -06:00
benthecarman
238bd02595
Request filters after processing (#2463) 2021-01-04 06:37:48 -06:00
benthecarman
4cd3079d89
Fix docs sidebar (#2466) 2021-01-04 06:13:46 -06:00