Commit Graph

2131 Commits

Author SHA1 Message Date
Ben Carman
2181a1dc1a Node broadcast tx twice test (#1611)
* Fix Node to be able to broadcast tx twice

* Change back to old broadcast logic

* Optimize test
2020-07-07 12:46:05 -05:00
Ben Carman
f7037c00a2 Drop AutoInc col for Broadcastable Transaction Table (#1630) 2020-07-07 09:56:34 -05:00
Scala Steward
02453db411 Update bcprov-jdk15on to 1.66 (#1632) 2020-07-07 09:51:30 -05:00
Ben Carman
365d98da10 Add extra logs, fix best filter bug (#1624)
* Add extra logs, fix best filter bug

* Fix to work for when filter count != header count

* Put blockheader items baack in place
2020-07-06 11:38:53 -05:00
Ben Carman
fdd5bc9ccc Fix gui theme to correctly color the button bar (#1626) 2020-07-06 11:11:25 -05:00
Ben Carman
16dd256716 Override correct equals functions (#1621)
* Override correct equals functions

* Remove no longer needed function
2020-07-06 06:37:19 -05:00
Ben Carman
60deb25f35 Update website deps (#1622) 2020-07-01 17:07:26 -05:00
Ben Carman
36d5bc3d3e Only fail CallbackTest if promise is not completed (#1607)
* Only fail if promise is not completed

* Use schedule once instead of Thread.Sleep

* Have callbacks return promise.future
2020-07-01 14:47:15 -05:00
Scala Steward
f23f13083e Update sbt-bloop to 1.4.3 (#1620) 2020-06-30 18:47:05 -05:00
Scala Steward
e1fe07da12 Update sbt to 1.3.13 (#1619) 2020-06-28 08:05:39 -05:00
Scala Steward
64f7ea6011 Update sbt-mdoc to 2.2.3 (#1609) 2020-06-26 06:30:32 -05:00
Ben Carman
0189a787e2 BitcoindV17RpcClientTest get system time closer to getNewAddress call (#1612) 2020-06-26 06:22:46 -05:00
Ben Carman
1957b0508c Rework signing logic to take full funding transaction (#1560) 2020-06-25 16:10:36 -05:00
Ben Carman
9016f0bbca 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
fc6b5712bc Formatting Fix (#1606) 2020-06-24 19:50:07 -05:00
Nadav Kohen
b92a93c912 ScriptSignature from P2WSH Witness (#1605) 2020-06-24 15:44:16 -05:00
Ben Carman
876d419939 Fix WalletAppConfig.hasWallet for Postgres (#1576) 2020-06-24 14:05:43 -05:00
Ben Carman
11af7f4498 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
26d2e81d15 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
f1b9e312a3 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
cd594ab069 AppConfig Start Interface (#1598)
* AppConfig Start Interface

* Use StartStop interface
2020-06-21 09:33:43 -05:00
Scala Steward
b147304a1d Update scodec-bits to 1.1.17 (#1587) 2020-06-20 12:25:40 -05:00
Ben Carman
5fba40a210 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
40d0c7337d 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
ea39f38443 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
ba39d9598a Update sbt-bloop to 1.4.2 (#1599) 2020-06-20 08:43:07 -05:00
Scala Steward
ab3d634d5f Update sqlite-jdbc to 3.32.3 (#1600) 2020-06-20 08:12:26 -05:00
Scala Steward
a69bff97cd Update scalacheck-1-14 to 3.2.0.0 (#1593) 2020-06-19 14:44:24 -05:00
Ben Carman
157c84a4e0 Have BroadcastTransactionTest rebroadcast on failure (#1561) 2020-06-19 14:41:53 -05:00
Scala Steward
97a4886c6e 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
6880561d27 Bump spread for address info tests in BitcoindV17RpcClientTest (#1591) 2020-06-19 08:21:34 -05:00
Nadav Kohen
a1d17ab662 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
9237074510 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
35822f4f33 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
46e26e6be1 Fixed compilation on bitcoin-s-bench (#1585) 2020-06-18 11:44:37 -05:00
Ben Carman
5319b4c927 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
ba0f38ccf6 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
914c905bd7 Lots of misc. improvements from dlc branch (#1583) 2020-06-17 14:34:01 -05:00
Ben Carman
80930e07c2 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
0a3191040d Optimize UpdateBloomFilterTest (#1548)
* Change UpdateBloomFilter to not rely on callbacks

* Fix rebase issues
2020-06-17 14:02:05 -05:00
Chris Stewart
8ac3595217 Update broken slack link (#1580) 2020-06-17 08:51:57 -05:00
Nadav Kohen
9c5d7645cf Added DLC json data structures (#1575) 2020-06-16 15:21:33 -05:00
Nadav Kohen
e5bd6e53a3 Added compile scope scalafmtCheck to travis runs (#1563) 2020-06-16 15:16:43 -05:00
Chris Stewart
dec503f561 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
3912a02f53 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
1753f53fd1 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
baf49b7452 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
001d1c9d7a 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
0dad44a0e5 Update sbt-mdoc to 2.2.2 (#1571) 2020-06-16 07:44:53 -05:00
Scala Steward
80c01436e9 Update sbt-native-packager to 1.7.3 (#1567) 2020-06-16 07:06:00 -05:00