rorp
c62be8b5f6
Update callbacks for LN support ( #1938 )
...
Update callbacks for LN support
2020-09-09 11:02:31 -07:00
Ben Carman
5f7356c526
Fix Two KeyManagers in scope for fundRawTransactionInternal ( #1986 )
...
* Fix Two KeyManagers in scope for fundRawTransactionInternal
* Only fetch txs once
2020-09-09 09:40:38 -05:00
Ben Carman
edc80bf13e
Don't spend immature coinbases, fix tests ( #1981 )
2020-09-07 15:08:41 -05:00
Ben Carman
babab55eac
Validate key manager matches account db on wallet startup ( #1948 )
2020-09-02 07:33:40 -05:00
Ben Carman
cc2a118ff0
Only mark utxos as reserved on successful coin selection ( #1944 )
...
* Only mark utxos as reserved on successful coin selection
* Add recoverWith
* Fix compile for 2.12.12
2020-09-01 06:34:46 -05:00
Ben Carman
c1d0d66398
Calculate correct TxoState when processing a transaction ( #1929 )
...
* Calculate correct TxoState when processing a transaction
* Test balance
2020-08-28 15:31:48 -05:00
Ben Carman
8d47b68764
Fix rescans that are larger than the batch size ( #1916 )
...
* Fix rescans that are larger than the batch size
* Add test
2020-08-27 14:09:25 -05:00
Ben Carman
2c3342492c
Create DatabaseDriver ADT instead of booleans ( #1902 )
2020-08-27 12:41:52 -05:00
Chris Stewart
3ab280a12b
Remove AppConfig.initialize() in favor of AppConfig.start() ( #1907 )
...
* Remove AppConfig.initialize() in favor of AppConfig.start()
* Fix docs
2020-08-26 16:24:38 -05:00
rorp
23685f124e
Add an ability to one Postgres database for all sub-projects ( #1897 )
...
* Add an ability to one Postgres database for all sub-projects
2020-08-26 12:20:18 -07:00
Ben Carman
304896e171
Move WalletApi to Core ( #1890 )
2020-08-25 07:05:20 -05:00
Ben Carman
98164bc5e3
Move WalletApi necessities to core ( #1886 )
2020-08-24 17:26:58 -05:00
Scala Steward
bef9c2648e
Update scalafmt-core to 2.6.4 ( #1686 )
...
* Update scalafmt-core to 2.6.4
* Format everything
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-08-24 14:24:16 -05:00
Ben Carman
cfde581d0c
Move all remaining wallet db representations ( #1885 )
2020-08-24 13:13:52 -05:00
Ben Carman
c6ad90139a
Move TransactionDb to Core ( #1849 )
...
* Move TransactionDb to Core
* Move to api package
2020-08-22 08:04:30 -05:00
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