Ben Carman
9e06b826e1
Move AddressTagDb to Core ( #1850 )
...
* Move AddressTagDb to Core
* Move to wallet api package
2020-08-21 16:31:30 -05:00
Chris Stewart
adf6da5c5d
Start calling appConfig.stop() in destruction fixture code ( #1868 )
...
* Start calling appConfig.stop() in destruction fixture code
* Address ben's code review
2020-08-21 14:54:23 -05:00
Ben Carman
d187834e1a
Create KeyManager Api & move SpendingInfoDb to core ( #1848 )
...
* Create KeyManager Api & move SpendingInfoDb to core
* Fix docs, remove sealed form KeyManagerApi
* Move SpendingInfoDb to core wallet api
2020-08-21 14:37:12 -05:00
Ben Carman
683c11b2ab
Fix selecting Utxos twice in fundRawTransactionInternal ( #1866 )
...
* Fix selecting Utxos twice in fundRawTransactionInternal
* Simplify watch an arbitrary SPK test
2020-08-21 10:11:02 -05:00
rorp
2f8dcd1e57
Watch arbitrary SPKs ( #1860 )
...
* Watch arbitrary SPKs
* fix unit tests
* fix unit tests
* one more fix
* revert the compiler parameters
2020-08-20 14:33:18 -05:00
Ben Carman
113f97946c
Fix V8 Migration ( #1862 )
2020-08-19 17:04:04 -05:00
Ben Carman
a3f1399e95
Remove unnecessary parallelization in Wallet ( #1823 )
...
* Remove unnecessary parallelization in Wallet
* Fix things being called multiple times
* Move to independent function
* Move helper methods to be separate
* Move back to intermediate val
2020-08-18 15:30:52 -05:00
rorp
b5a40035ce
Refactor wallet DB ( #1798 )
...
* Refactor wallet DB
* fix create(), update() and upsert()
* remove accout foreign key
* fix wallet fixtures
* update Postgres schema
* update SQLite schema
* fix AddressHandlingTest
* fix SQLITE_BUSY exception in TransactionProcessing
* fix RescanHandlingTest
* revert NeutrinoNodeTest
* fix SpendingInfoDAOTest
* fix SQLITE_BUSY exceptions
* fix DbManagementTest
* fix "Task rejected" Slick exceptions in Postgres mode
* responded to the PR comments
2020-08-18 13:43:12 -05:00
Ben Carman
f7b9c5722f
Use database to calculate number of confirmations ( #1789 )
...
* Use database to calculate number of confirmations
* Check block is in best chain
* Use db
* Optimize getNumberOfConfirmations
* Fix compile issue for older versions
* Add better logging messages
* More logs
* Update confs sequentially
2020-08-16 16:15:13 -05:00
Ben Carman
a34599b7e8
Fix get missing utxos ( #1832 )
2020-08-16 16:14:13 -05:00
Ben Carman
562f789504
Create primary key of (address, tag_type) for AddressTag table ( #1828 )
2020-08-15 12:52:00 -05:00
Chris Stewart
2445003503
Fix address tag issue where we weren't adding tags to an address, we were replacing existing tags ( #1824 )
2020-08-14 10:06:28 -05:00
Ben Carman
48a7f6f86e
Remove default false for useLogbackConf ( #1816 )
...
* Remove default false for useLogbackConf
* Fix docs
* Set logging level to WARN for tests
2020-08-14 08:53:07 -05:00
Ben Carman
403ed33dbd
Require utxos aren't spent when sending from outpoints ( #1817 )
2020-08-14 08:43:18 -05:00
Ben Carman
099c33ff02
Optimize unmarkUTXOsAsReserved ( #1804 )
2020-08-12 14:02:02 -05:00
Ben Carman
62e9e08cf6
Address Tagging/Labeling Support from CLI ( #1790 )
...
* Address Tagging/Labeling Support from CLI
* Scaladoc
2020-08-12 10:55:15 -05:00
Chris Stewart
ae81dd3bb3
Create more of a project structure in org.bitcoins.core.api, move DbR… ( #1799 )
...
* Create more of a project structure in org.bitcoins.core.api, move DbRowAutoInc into the core project
* Get website compiling again
2020-08-12 06:13:23 -05:00
Ben Carman
4ab65abec4
Fix for Wallet confirmed states ( #1782 )
...
* Fix for Wallet confirmed states
* Only process if we do not have the header
2020-08-08 08:12:30 -05:00
Ben Carman
ce2601002e
Have wallet shuffle inputs and outputs ( #1721 )
2020-08-05 16:03:27 -05:00
rorp
628fd80d30
Implement Wallet.listTransactions() ( #1744 )
2020-08-05 07:21:12 -07:00
Ben Carman
e542a00d19
Callbacks to appconfig ( #1740 )
...
* Node Callbacks to appconfig
* Move WalletCallbacks to WalletAppConfig
* Update Docs
2020-08-04 12:27:21 -05:00
rorp
8f03551e99
Fix Postgres types ( #1723 )
...
* Fix Postgres types
* update DbManagementTest
2020-07-30 16:42:49 -05:00
Ben Carman
26d5a09532
Move Node type of out Wallet API ( #1708 )
...
* Move Node type of out wallet api
* Remove extensions, add scaladocs
2020-07-29 05:57:48 -05:00
Ben Carman
82ba6fc09f
Wallet API remove app config ( #1706 )
2020-07-28 15:19:10 -05:00
Nadav Kohen
faf2e0148a
Fix All Loggers! ( #1695 )
...
* Fixed logging so that appenders are always started when logging is happening
* Started rolling policy so that file appenders could start in getLoggerImpl
2020-07-28 07:13:38 -05:00
Ben Carman
38f3fc2074
Wallet API, widen key manager definition, remove unlock functions ( #1705 )
2020-07-28 07:02:15 -05:00
Ben Carman
ece26c08e6
Wallet API move execution context ( #1707 )
2020-07-28 07:00:59 -05:00
Ben Carman
4abcf3f321
Create HDWalletApi ( #1693 )
...
* Create HDWalletApi
* Rename createWallet to createHDWallet, add listDefaultAccountUtxos function
* Change return types to HDWalletApi
* Fix warning
2020-07-27 14:06:48 -05:00
Ben Carman
d6289eb5e7
Move function defs from wallet api to wallet ( #1694 )
2020-07-25 16:37:48 -05:00
Ben Carman
5c9cbbdfc1
Skip downloadBlocks if given an empty Vector ( #1690 )
2020-07-21 13:59:07 -05:00
Ben Carman
5e8a049fd2
Unreserve spent utxos ( #1676 )
2020-07-19 10:40:09 -05:00
Ben Carman
f26909b356
Fix CoinSelector for KiloX fee rates ( #1664 )
2020-07-16 10:18:22 -05:00
Ben Carman
2ef3f48313
Enforce unique outpoints for SpendingInfoDb ( #1673 )
2020-07-15 14:09:44 -05:00
Ben Carman
d29a04c480
Let Wallet find utxos by state ( #1668 )
2020-07-15 13:07:55 -05:00
Ben Carman
38489e146a
Random Coin Selection ( #1663 )
2020-07-14 10:12:05 -05:00
Ben Carman
ecd3449100
Address Tagging Attempt 2 ( #1320 )
...
* Address & UTXO tagging
* Fix docs
* Remove useless function, improve docs
* Fix rebase errors
* Rebase fixes
* Fix docs
* Fix small test errors
* Fix Postgres migration
* Fix postgres
2020-07-08 14:38:39 -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
Ben Carman
876d419939
Fix WalletAppConfig.hasWallet for Postgres ( #1576 )
2020-06-24 14:05:43 -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
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
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
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
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
027bd39474
Fixed all walletTest threads not being closed ( #1552 )
2020-06-15 10:50:53 -05:00
Chris Stewart
c54d6dcbdc
2020 06 09 addr invoice string factory ( #1538 )
...
* Implement StringFactory with Address and LnInvoice
* Address code review
* Run scalafmt
2020-06-11 10:44:12 -05:00