Commit Graph

2840 Commits

Author SHA1 Message Date
Scala Steward
b73607fbbb
Update sbt-scoverage to 1.8.0 (#3066) 2021-05-11 11:49:16 -05:00
Chris Stewart
db486163f9
Remove caveat for supressing 2.12.x warnings on lnd rpc (#3057) 2021-05-10 12:05:44 -05:00
Scala Steward
d223829a37
Update sbt to 1.5.2 (#3062) 2021-05-10 06:54:24 -05:00
Scala Steward
526d8d345d
Update scalacheck to 1.15.4 (#3060) 2021-05-08 13:58:39 -05:00
Scala Steward
3a0b1af759
Update janino to 3.1.4 (#3058) 2021-05-08 13:36:50 -05:00
Scala Steward
0668ae541f
Update sbt-scoverage to 1.7.3 (#3061) 2021-05-08 13:36:28 -05:00
benthecarman
8e29b5c6f6
Change outpoint output format for cli commands (#3048)
* Change outpoint output format for cli commands

* Use lockunspent format

* update docs
2021-05-08 08:15:49 -05:00
Chris Stewart
9b06cdd832
2021 05 07 cleanup build (#3055)
* Apply all prodSettings and testSettings to appropriate projects

* Remove caveat for scala 2.12 as all these warnings are supported in the latest version scalac 2.12.13
2021-05-08 07:34:40 -05:00
Chris Stewart
97a854c5bb
2021 05 07 fix getting setup (#3053)
* Fix getting-setup, add prodSettings,testSettings to new tor module

* Fix missing wallet rpc examples on 0.6
2021-05-07 17:55:21 -05:00
rorp
02c4505948
Initial Tor support (#3043)
* Initial Tor support

* cleanup
2021-05-07 06:43:39 -05:00
Nadav Kohen
6bc0943a62
Call decompression on public keys less (#2988)
* Removed type parameter from PublicKey

* Deduplicated call to public key decompression in isFullyValid

* Fixed FieldElement

* Added CurveCoordinate to replace FieldElement in places where it was being misused

* Added edge case tests
2021-05-07 02:05:10 -05:00
Nadav Kohen
78f4dfb8c6
Pubkey Refactor (#2936)
* Removed ExecutionContext from ECKey

* Refactored ECPublicKey to remove compression state and introduced ECPublicKeyBytes to handle cases where serialization of input is important

* Fixed the rest of bitcoin-s so that it passes all tests

* Made all ECKeys into case classes

* Successfully added isFullyValid invariant to ECPublicKey!

* Fixed docs

* Added scaladocs and fixed a RpcPsbtResult bug

* Reject private keys of length < 32 and fix WIF parsing bug
2021-05-06 13:19:52 -05:00
Chris Stewart
b854f7b16a
Fix javafx on mac osx new m1 arch (#3041) 2021-05-05 13:08:09 -05:00
Nadav Kohen
63a6f9309d
Introduced AsyncAdaptorSign and AdaptorSign traits (#3037) 2021-05-05 09:34:03 -05:00
Nadav Kohen
aacba1c077
Pulled down core diff from adaptor-dlc (#3038) 2021-05-05 09:26:09 -05:00
benthecarman
1cda5cbf1e
Allow remote bitcoind backend (#3034) 2021-05-04 17:51:35 -05:00
Chris Stewart
f0a5833e6b
Fix compiler error (#3035) 2021-05-04 16:32:14 -05:00
Chris Stewart
a55a97ba6f
Optimize shift operations in Number (#3025)
* Optimize shift operations in Number

* Fix imports
2021-05-04 13:35:45 -05:00
benthecarman
f86f90dc32
Add getbalances cli command (#3022)
* Add getbalances cli command

* Add docs

* Locked -> reserved
2021-05-04 12:19:15 -05:00
Aris
507f5c772e
Remove request rejection duplication in ServerRoute (#3010) 2021-05-04 12:17:50 -05:00
Chris Stewart
4381b93afb
2021 05 03 improve release notes (#3019)
* Move things around, remove redundancy

* Add more stuff to release notes

* Finish section paragraphs

* Add caveat about lnd rpc

* Add latest commits
2021-05-03 12:17:31 -05:00
Chris Stewart
d25dff14b4
Add 0.6.0 website (#3020) 2021-05-03 12:17:16 -05:00
Chris Stewart
ff39945777
More release notes updates, mostly add boiler plate (#3018) 2021-05-03 08:35:20 -05:00
Chris Stewart
2e8790f3e5
Add descriptions for new projects (#3016) 2021-05-03 08:13:10 -05:00
Chris Stewart
7dc6acdce6
Add missing list resevedutxos docs (#3015) 2021-05-03 08:08:23 -05:00
Chris Stewart
1339abe410
2021 05 02 m1 secp256k1 natives (#3014)
* Add protoc exception for apples new chip arch. This requires protoc to be built manually as they do not natively ship m1 support yet

* Add osx_arm64 secp256k1 native binaries
2021-05-03 07:41:41 -05:00
Chris Stewart
8ec93c6632
Add protoc exception for apples new chip arch. This requires protoc to be built manually as they do not natively ship m1 support yet (#3013) 2021-05-03 07:11:59 -05:00
Chris Stewart
d6f275b359
Redo release notes draft as we rewrote the git history (#3011) 2021-05-03 06:31:30 -05:00
benthecarman
52f609e235
Use bitcoind v0.21.1 (#3006) 2021-05-03 06:30:46 -05:00
Chris Stewart
43d9f05d9a
Reduce workers from 2 -> 1 (#3007) 2021-05-02 10:42:24 -05:00
benthecarman
682a759977
Fix wallet v11 postgres migration (#3009) 2021-05-02 10:27:07 -05:00
Chris Stewart
a2911f31ed
Fix race condition with BitcoindChainHandlerViaZmqTest (#2990)
Turn off logging again

Try to move things around even more to make sure zmq is started

Turn logging level down to ERROR to hopefully get some meaningful output

Adjust both valdiation & ChainHandler to be ERROR level logging

switch zmqpubrawblock to be the port we know is free

Reduce logging to WARN

Bump bitcoind max retries to 120

Fix rebase

Revert logging

Remove some noisy logs

Restore logs to trace level

Add explicit tag
2021-05-01 13:11:13 -05:00
Scala Steward
e7d34a9ba9 Update metrics-core to 4.1.21 (#3003) 2021-05-01 06:41:52 -05:00
Chris Stewart
38baea5e24 refactor BitcoindRpcTestUtil test methods to take ZmqConfig rather than zmqPort (#3002) 2021-04-30 10:59:16 -05:00
Chris Stewart
f792fb3480 Fix database pool name for postgres database connection pools (#2997)
* Fix database pool name for postgres database connection pools

* Add timestamp to pool name
2021-04-30 06:38:37 -05:00
Scala Steward
56d177bb67 Update javafx-base, javafx-controls, ... to 17-ea+8 (#2978) 2021-04-29 16:45:43 -05:00
Chris Stewart
84661bd122 Refactor BitcoinSRunner to use StartStop[Async] (#2986)
* Refactor BitcoinSRunner to use StartStop[Async]. This makes it easier to have a uniform interface to write for destruction code in BitcoinSRunnerTest

* Fix other ServerRunTest to cleanup after itself
2021-04-29 16:43:15 -05:00
benthecarman
b874c1c54d Add Lnd macaroon to GRPC client settings (#2996)
* Add Lnd macaroon to GRPC client settings

* Move to val
2021-04-29 14:12:21 -05:00
Chris Stewart
0f8903e67e Upgrade to scalac 2.12.13 (#2509)
* Bump to 2.12.13

* Bump secp256k1jni.sbt
2021-04-29 09:15:36 -05:00
benthecarman
bf831ae32e Fix lockunspent RPC (#2984)
* Fix lockunspent RPC

* Fix test
2021-04-29 07:57:14 -05:00
Chris Stewart
77cd94ac41 2021 04 27 wallet fixtures config (#2980)
* Refactor MultiWalletTest to actually shutdown the walletAppConfigs

* Remove 'implicit' modifier from getFreshWalletConfig. This is a problem as it can be used implicitly to bind resources (threads, files etc) that need to be cleaned up. Since it is implicitly passed, it is very hard to remember to clean up these resources

* Cleanup TrezorAddressTest

* Remove unecessary BitcoinSWalletTest.afterAll()

* Fix docs

* Removal of datadir race condition

* Cleanup nodeTest to shutdown the transitive chainAppConfig required by NodeAppConfig

* remove experimental tag on NeutrinoNodeTest

* Remove extra line

* Cleanup after BitcoindChainhandlerViaZmqTest

* Push to github to force re-run of CI 2
2021-04-29 06:30:58 -05:00
benthecarman
6fbaf9f9ce Add estimate fee cli command (#2983) 2021-04-28 16:43:20 -05:00
Chris Stewart
93822c71ec Make sure call ci matrixs run on java11 (#2985) 2021-04-28 16:21:09 -05:00
Scala Steward
e6d78c7c08 Update sbt-scoverage to 1.7.0 (#2982) 2021-04-28 11:55:59 -05:00
Chris Stewart
991ce38208 Use release flag rather than target flag as that is what is intended (#2976)
* Use release flag rather than target flag as that is what is intended

* add comment

* Fix usage of URI that doesn't work -release 8
2021-04-28 07:01:09 -05:00
Chris Stewart
85fed08c58 Reduce pg connections from 300 -> 50 in test cases (#2974)
* Reduce pg connections from 300 -> 50 in test cases

* Reduce connection count to 25

* Push to github to force re-run of CI

* Switch explorer over to prod for now as test is down to get CI passing

* Reduce shared buffers memory size

* Push to github to force re-run of CI 2
2021-04-28 06:22:56 -05:00
benthecarman
e3017fd17d Peer Message Receiver Refactor (#2938) 2021-04-27 15:54:44 -05:00
Chris Stewart
73939a15fc Call WalletAppConfig.stop() when destroying wallet in test fixtures (#2975)
* Fix bug introduced in PR 2597, we need to explicitly call WalletAppConfig.stop() now rather than transitively calling it via Wallet.stop()

* Fix calls to wallet.stop() -> wallet.walletAppConfig.stop() in BitcoindBlockPolling,BitcoindBackend. Also add some explicit type annotations
2021-04-26 15:48:33 -05:00
Chris Stewart
279b93f9e0 Rework P2SHScriptSignature.isStandardNonP2SH() (#2963)
* Take ben's suggestion for parsing the entire tx hex

* Add assertion that the secondSPK is NOT a P2SHScriptPubKey, revert the classification of P2SHScriptPubKey in P2SHScriptSignature.isStandardNonP2SH()

* Revert conditionalSPK match logic

* Fixed ConditionalScriptPubKeyTest.scala (#32)

Co-authored-by: Nadav Kohen <nadavk25@gmail.com>
2021-04-26 12:46:50 -05:00
Chris Stewart
3483a461f1 Don't wrap pg.close() in a Try and then do nothing with it, propogate the exception (#2972) 2021-04-26 09:45:19 -05:00