Commit graph

2229 commits

Author SHA1 Message Date
Scala Steward
b1fbd0e2d0
Update sbt to 1.3.13 (#1619) 2020-06-28 08:05:39 -05:00
Scala Steward
0d52199699
Update sbt-mdoc to 2.2.3 (#1609) 2020-06-26 06:30:32 -05:00
Ben Carman
6556c536b9
BitcoindV17RpcClientTest get system time closer to getNewAddress call (#1612) 2020-06-26 06:22:46 -05:00
Ben Carman
a2ce5e5a8c
Rework signing logic to take full funding transaction (#1560) 2020-06-25 16:10:36 -05:00
Ben Carman
021e21d61b
Rescan when UTXOs don't have associated transactions (#1562)
* Rescan for missing utxos

* Move to Wallet.start

* Start and stop wallet threads with wallet

* Fix warning
2020-06-25 07:58:10 -05:00
Ben Carman
fdb4026356
Formatting Fix (#1606) 2020-06-24 19:50:07 -05:00
Nadav Kohen
24f60c0833
ScriptSignature from P2WSH Witness (#1605) 2020-06-24 15:44:16 -05:00
Ben Carman
ea62374fc6
Fix WalletAppConfig.hasWallet for Postgres (#1576) 2020-06-24 14:05:43 -05:00
Ben Carman
d3641c3fff
scalafmt On Compile (#940)
* scalafmt On Compile

* Disable scalafmtOnCompile for all CI runs

* Make CI use travis default CI var
2020-06-23 14:34:18 -05:00
Nadav Kohen
1eadf098c9
Made P2SHScriptSignature.isP2SHScriptSig less forgiving (#1594)
* Made P2SHScriptSignature.isP2SHScriptSig less forgiving

* Allow P2SHScriptSig(UnassignedWitnessSPK) and P2SHScriptSig(NestingSPK(EmptyScriptPubKey))
2020-06-23 06:26:11 -05:00
Ben Carman
ac21e0418d
Cap the amount of threads an actor system can spin up to 2 in tests (#1578)
* Cap the amount of threads an actor system can spin up to 2 in tests

* Add limits for internal dispatcher and default blocking io dispatcher

* Fix config

* Increase thread count to 2, remove unneeded lines
2020-06-22 14:05:21 -05:00
Ben Carman
102e5775f7
AppConfig Start Interface (#1598)
* AppConfig Start Interface

* Use StartStop interface
2020-06-21 09:33:43 -05:00
Scala Steward
6ca09c714d
Update scodec-bits to 1.1.17 (#1587) 2020-06-20 12:25:40 -05:00
Ben Carman
f7efc25a42
Add tests that NodeCallbacks are executed (#1582)
* Add tests that NodeCallbacks are executed

* Respond to review

* Rebase fixes

* Formatting changes

* Formatting
2020-06-20 08:47:51 -05:00
Ben Carman
586075e9f8
Temporary fix for update all on CRUDAutoInc Tables (#1596)
* Temporary fix for update all on CRUDAutoInc Tables

* Add comment
2020-06-20 08:46:59 -05:00
Scala Steward
d1ea0bebbe
Update scalatest to 3.2.0 (#1592)
* Update scalatest to 3.2.0

* Fix tests to be compatible

Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-20 08:46:32 -05:00
Scala Steward
63e6ad2468
Update sbt-bloop to 1.4.2 (#1599) 2020-06-20 08:43:07 -05:00
Scala Steward
9f3580b593
Update sqlite-jdbc to 3.32.3 (#1600) 2020-06-20 08:12:26 -05:00
Scala Steward
ff2afbc9ca
Update scalacheck-1-14 to 3.2.0.0 (#1593) 2020-06-19 14:44:24 -05:00
Ben Carman
b7504edf48
Have BroadcastTransactionTest rebroadcast on failure (#1561) 2020-06-19 14:41:53 -05:00
Scala Steward
e6d1471af0
Update scalafmt-core to 2.6.0 (#1579)
* Update scalafmt-core to 2.6.0

* Upgrade scalafmt, fix all formatting errors

* Scalafmt on 2.12

* fix test

* More fixes

Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-19 10:38:12 -05:00
Ben Carman
fac75a8ada
Bump spread for address info tests in BitcoindV17RpcClientTest (#1591) 2020-06-19 08:21:34 -05:00
Nadav Kohen
4683d41568
Added DLC GUI stuff to a new package in the existing GUI and made a new tab for DLCs (#1590)
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 15:23:53 -05:00
Nadav Kohen
a84543cff5
Pulled down dlc CLI code (#1589)
* Pulled down dlc CLI code (returns 400 Bad Request when called)

* Added decodeRawTransaction to server

* Moved decoderawtransaction to CoreRoutes

Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 13:55:17 -05:00
Nadav Kohen
de048e448c
Refactored to allow support and disabling of RBF (#1588)
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 13:23:14 -05:00
Nadav Kohen
ea38e827e8
Fixed compilation on bitcoin-s-bench (#1585) 2020-06-18 11:44:37 -05:00
Ben Carman
e63061e9b9
Wallet callbacks (#1543)
* Wallet Callbacks

* Move noop to Callback

* Add docs

* Add tests for wallet callbacks

* Use BitcoinAddress instead of AddressDb, improve tests
2020-06-17 17:21:19 -05:00
Chris Stewart
1305e53f1a
2020 06 14 wallet root accounts (#1556)
* Implement unit test cases for initializing a wallet twice, and failing with an exception when we initialize a wallet with a different key-manager

* Use bip39PasswordOpt cached in the WalletUnitTest suite

* Turn off logging

* Run scalafmt

* Turn log level back to WARN

* Run scalafmt
2020-06-17 15:11:42 -05:00
Nadav Kohen
38a73de48f
Lots of misc. improvements from dlc branch (#1583) 2020-06-17 14:34:01 -05:00
Ben Carman
105052d877
Have travis only run tests if it compiles (#1577)
* Have Travis only run tests if it compiles

* Fix warnings + fix compile issue

* Fix compilation issue

* Check formatting in first stage

* Fix name

* Fix formatting error
2020-06-17 14:05:44 -05:00
Ben Carman
0928fcae46
Optimize UpdateBloomFilterTest (#1548)
* Change UpdateBloomFilter to not rely on callbacks

* Fix rebase issues
2020-06-17 14:02:05 -05:00
Chris Stewart
d9079678eb
Update broken slack link (#1580) 2020-06-17 08:51:57 -05:00
Nadav Kohen
e504d8dfb7
Added DLC json data structures (#1575) 2020-06-16 15:21:33 -05:00
Nadav Kohen
2b91c39616
Added compile scope scalafmtCheck to travis runs (#1563) 2020-06-16 15:16:43 -05:00
Chris Stewart
4ee234d999
2020 06 12 mv to appconfig (#1553)
* Move hasWallet() to WalletAppConfig

* Move helper methods to create data dstructures in a project to their respective AppConfig file
2020-06-16 12:49:32 -05:00
Nadav Kohen
fb99307867
Added BlockTimeStamp abstraction for BlockStamps that aren't hashes (#1573)
* Added BlockTimeStamp abstraction for BlockStamps that aren't hashes

* Made BlockStamp and BlockTimeStamp extend StringFactory
2020-06-16 10:54:37 -05:00
Chris Stewart
a66ead6cbb
Make it so wallet fixtures take a bip39PasswordOpt as a paramter (#1555)
* Make it so wallet fixtures take a bip39PasswordOpt as a paramter

* Fix doc
2020-06-16 10:45:41 -05:00
Nadav Kohen
665b585002
Schnorr Data Structures (#1564)
* Pulled down crypto things from dlc branch including: Schnorr data structures, Schnorr Bouncy Castle implementation, FieldElement, and tests for these things

* Call fromValidHex in CryptoUtil
2020-06-16 09:52:45 -05:00
Scala Steward
0c0a19b6d6
Update play-json to 2.9.0 (#1566)
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2020-06-16 07:45:39 -05:00
Scala Steward
f1d3dcc583
Update sbt-mdoc to 2.2.2 (#1571) 2020-06-16 07:44:53 -05:00
Scala Steward
8d7d71cf5b
Update sbt-native-packager to 1.7.3 (#1567) 2020-06-16 07:06:00 -05:00
Scala Steward
b11d1f0c68
Update postgresql to 42.2.14 (#1569) 2020-06-16 07:05:18 -05:00
Scala Steward
d09ac7511c
Update akka-actor, akka-stream, ... to 2.6.6 (#1565) 2020-06-16 06:45:46 -05:00
Scala Steward
582fdbc504
Update sbt to 1.3.12 (#1570) 2020-06-16 06:37:04 -05:00
Scala Steward
94658c8b28
Update scodec-bits to 1.1.16 (#1572) 2020-06-16 06:27:03 -05:00
Ben Carman
041f805730
Callback rework (#1542) 2020-06-15 17:30:08 -05:00
Nadav Kohen
6b1973264e
Fixed all walletTest threads not being closed (#1552) 2020-06-15 10:50:53 -05:00
Chris Stewart
94568aba22
Change ChainApi.getBestFilterHeader() return type to Future[Option[Co… (#1550)
* Change ChainApi.getBestFilterHeader() return type to Future[Option[CompactFilterHeaderDb]] to resolve issue 1549

* Run scalafmt
2020-06-13 17:01:51 -05:00
Ben Carman
aa53ee5f57
Fix and Optimize Broadcast Transaction Test (#1545)
* Fix and Optimize Broadcast Transaction Test

* Use variable
2020-06-12 10:43:26 -05:00
Chris Stewart
2c78d9ff0d
Create safeRewind() helper method in secp256k1jni (#1546) 2020-06-12 06:07:57 -05:00