Commit graph

2147 commits

Author SHA1 Message Date
Ben Carman
a9cd4450da
Add list unused addresses call (#1408) 2020-05-12 09:29:02 -05:00
Ben Carman
8f5c845a06
Add listFundedAddresses call (#1407) 2020-05-12 07:33:22 -05:00
Ben Carman
bf6d90acfb
Add listSpentAddresses call (#1406) 2020-05-12 07:24:52 -05:00
Ben Carman
1454bf6552
Wallet send from outpoints (#1405) 2020-05-12 07:24:36 -05:00
Scala Steward
9127603c16
Update akka-http, akka-http-testkit to 10.1.12 (#1415) 2020-05-12 06:42:26 -05:00
Scala Steward
1be72433f8
Update sbt-native-packager to 1.7.2 (#1416) 2020-05-12 06:29:17 -05:00
Chris Stewart
1cf7e2191d
2020 05 11 bech32 addr tostring (#1413)
* Make Bech32Address.toString actually print the string representation not the object one

* Remove Bech32Address.toString all together and use the super class definition

* Add test case

* Run scalafmt
2020-05-11 10:59:36 -05:00
Scala Steward
5d0caf1628
Update scalafx to 14-R19 (#1410) 2020-05-10 09:24:55 -05:00
Scala Steward
98421823ea
Update scalatest to 3.1.2 (#1412) 2020-05-10 09:24:43 -05:00
Chris Stewart
afd67b6292
Modify gui background color to be same as our website (#1404) 2020-05-09 08:03:29 -05:00
Ben Carman
171a6c15ef
Fix Oracle info in DLC doc (#1401) 2020-05-07 14:26:26 -05:00
Chris Stewart
c2c1c20518
DLC code snippet clarification (#1393)
* Give the different outcome amounts a val for clarity in documentation, add a missing import, and change the hash being signed by the oracle to more descriptive of a specific event

* Fix missing amounts

* Clarify comment even more
2020-05-06 16:47:21 -05:00
Scala Steward
13a7980fb1
Update sbt-mdoc to 2.2.0 (#1397) 2020-05-06 06:42:58 -05:00
Scala Steward
7e78b66b3a
Update sqlite-jdbc to 3.31.1 (#1396) 2020-05-05 07:18:07 -05:00
Chris Stewart
29e439d202
Add rpcport configuration options in both bitcoin-s.conf and as a command line parameter (#1387)
Implement ability to specify rpcport with bitcoin-s-cli
2020-05-04 19:09:32 -05:00
Scala Steward
be945fee0c
Update sbt-native-packager to 1.7.1 (#1395) 2020-05-04 19:08:58 -05:00
Nadav Kohen
4d9692f61e
Crypto Project Refactor (#1380)
* Added crypto project and decoupled BitcoinSLogger from NetworkElement

Decoupled BitcoinSLogger from Factory

Moved NetworkElement into crypto project

Moved Factory and BitcoinSUtil (renamed to BytesUtil) to crypto project

Moved MaskedToString to crypto project

Added BytesUtil to imports and cleaned up CryptoUtil.recoverPoint

Moved the rest of crypto stuff to the crypto project

Moved crypto tests to crypto-test project

* Added documentation for crypto project
2020-04-30 12:34:53 -05:00
Ben Carman
4284f3e2a2
Log correct type of node sync (#1384)
* Log correct type of node sync

* Fix stopped node logs
2020-04-30 12:10:48 -05:00
Ben Carman
38fe580c06
Neutrino Logging (#1382) 2020-04-30 09:05:26 -05:00
Ben Carman
556f713589
Add wallet creation time for rescans (#1353)
* Add wallet creation time for rescans

* Fix docs

* Clean up and add test

* Remove account bday

* Fix compile issue and docs

* Add more chain handler tests

* Use Instant over Long, add docs

* Fix docs
2020-04-29 09:49:41 -05:00
Chris Stewart
87af3795ea
Attempt to add a bit of delay on expecting rescan to fail so we dont' have as much of a async issue (#1381) 2020-04-28 16:34:07 -05:00
Ben Carman
4723dce744
Remove Unlocked vs Locked Wallet distinction (#1379)
* Remove Unlocked vs Locked Wallet distinction

* Add back TODO comment
2020-04-28 13:58:14 -05:00
Ben Carman
2194196e76
Re-enable NeutrinoNodeWithWalletTest for Linux (#1366)
* Re-enable NeutrinoNodeWithWalletTest with it disabled for mac

* Change to only Linux

* Only disable for CI runs

* Move IsCI to BitcoinSUtil

* Fix compile issue for earlier versions

* Fix syncing compact filters to not skip last filter

* Fix test to be compatible with new start state

* Use correct isCI

* Fix compile issue

* set CI env
2020-04-27 18:20:47 -05:00
Chris Stewart
ce3e37d9c9
Create KeyManagerTestUtil.bip39PasswordNonEmpty for test case that requires non empty password (#1373) 2020-04-27 13:41:18 -05:00
Chris Stewart
14dfc92e34
Remove compile for dlc.md as we don't have schnorr in master (#1378) 2020-04-26 21:04:16 -05:00
Chris Stewart
e49bb86e47
Add fixed dlc doc instructions (#1376) 2020-04-26 18:18:27 -05:00
Ben Carman
20c6e43df2
Batch processing compact filters (#1363)
* Batch processing compact filters

* Use one vector, rename param

* Fix compile issue on older versions

* Process sequentially
2020-04-26 09:34:41 -05:00
Scala Steward
d9de64d334
Update flyway-sbt to 6.4.0 (#1372) 2020-04-26 08:54:41 -05:00
Chris Stewart
64b13846d9
2020 04 08 multi db dao (#1355)
* Implement Slick's multi database support via our DAOs

WIP2 work on chain project

WIP make JdbcProfieComponent so we have a common JdbcProfile

WIP2

Clean up a few things

WIP got CRUDAutoInc compiling

Get closer to everything compiling in the chain project

Begin moving database code into JdbcProfileComponent

WIP source compiling

Get dbCommonsTest/ test cases passing

Get rest of tests compiling and passing

* Rebase onto master, fix conflicts

* Run scalafmt

* Run scalafmt again

* Cleanup a few compiler warnings by adding type annotations to thigns

* Explicitly cast tables where they are needed in the wallet project where we need TableQuery for foreignkey / joins in slick

* Redo definition of 'table' to use the profile.api.TableQuery in scope

* Rename all *Table.scala files to *Db.scala

* First crack at address ben's code review

* Fix docs compile issue

* Fixed casting (#30)

* Fixed AppConfig casting

* Fixed TableQuery casting in DbManagement subtypes

* Fixed casts in DAOs relating to internal types

* Address nadav's code review, move JdbcProfileComponent into it's own file

* Remove unused listTables() method

Co-authored-by: Nadav Kohen <nadavk25@gmail.com>
2020-04-25 11:28:58 -05:00
Ben Carman
6cfe7b438b
Ignore immature coinbase outputs when funding a transaction (#1365)
* Ignore immature coinbase outputs when funding a transaction

* Create Consensus.coinbaseMaturity
2020-04-24 18:04:42 -05:00
Ben Carman
260f52fe27
Make fundWalletWithBitcoind have the same utxo amounts as FundedWallet (#1364) 2020-04-24 09:43:19 -05:00
Ben Carman
8514d361b1
Fix isMinimalPush to not look for OP_1Negate when pushing 0x4f(79) (#1367) 2020-04-24 09:42:49 -05:00
Ben Carman
5881aff186
Rescan from account (#1348) 2020-04-24 09:37:12 -05:00
Chris Stewart
ddf060bcdd
Bump .travis.yml scala version (#1368) 2020-04-24 06:54:51 -05:00
Chris Stewart
ee852bd310
Remove redundant logic that computes an HDAccount. We don't need this because we are explicitly passing in the account we want to create (#1359) 2020-04-23 09:30:07 -05:00
Chris Stewart
ce33c57ed9
Bump scala version to 2.13.2 (#1360) 2020-04-23 07:38:20 -05:00
Ben Carman
ed825f33cd
Merge pull request #1356 from benthecarman/oops 2020-04-22 11:53:31 -05:00
Ben Carman
347625bdbc
Fix sendrawtransaction output again woops 2020-04-22 11:45:56 -05:00
Scala Steward
7fa2bc611f
Update sbt-ci-release to 1.5.3 (#1352) 2020-04-22 08:29:03 -05:00
Scala Steward
f8b3e81058
Update flyway-core to 6.4.0 (#1349) 2020-04-22 08:28:52 -05:00
Ben Carman
ee2d74b272
Change sendrawtransaction return to be just txId (#1354) 2020-04-22 08:01:56 -05:00
Ben Carman
220080ff02
Merge pull request #1351 from benthecarman/sendrawtx 2020-04-21 17:59:44 -05:00
Ben Carman
d83641b677
Fix test 2020-04-21 14:38:57 -05:00
Ben Carman
bd95d86bcb
Past tense 2020-04-21 13:23:07 -05:00
Ben Carman
be37fda2e3
Add sendrawtransaction CLI and Api commands 2020-04-21 13:14:02 -05:00
Chris Stewart
831e89c72b
Use FutureUtil.foldLeftAsync() to process messages we parsed on the p2p network. This moves the blocking with Await.result() from inside of each message we process, to after the entire batch of messages is processed (#1326) 2020-04-20 15:34:14 -05:00
Nadav Kohen
06db27af59
Added appCommons to project aggregate so that it can get published (#1347) 2020-04-20 15:07:40 -05:00
Scala Steward
443137262b
Update javafx-base, javafx-controls, ... to 14.0.1 (#1346) 2020-04-20 13:17:14 -05:00
Nadav Kohen
28aea46e33
Increased test coverage by 0.97% (#1343) 2020-04-20 12:53:51 -05:00
Chris Stewart
7b6c6c75e6
Add information on how to build libsecp256k1 to the secp README (#1318)
* Add information on how to build libsecp256k1 to the secp README

* Rebase and add link to internal docs
2020-04-20 12:25:31 -05:00