Ben Carman
8df2fcd1fd
Account for rounding of fee rate in CPFP test ( #2423 )
2020-12-23 07:18:42 -06:00
Ben Carman
8996be43ec
Add extra checks for RBF transactions ( #2416 )
...
* Add extra checks for RBF transactions
* Move to util function, don't allow CPFP of confirmed txs
2020-12-22 14:12:15 -06:00
Ben Carman
f7671a4f99
Add wallet function to bump fee with CPFP ( #2399 )
...
* Add wallet function to bump fee with CPFP
* Add bump fee integration tests
2020-12-21 07:04:01 -06:00
Chris Stewart
4d9c9415d9
2020 12 20 root dependson ( #2404 )
...
* Make bitcoin-s root project depend on all other modules
* remove unused import
* Remove crossScalaVersion in root project
2020-12-21 06:47:04 -06:00
Ben Carman
fcfc3d076f
Add wallet function to bump fee with RBF ( #2392 )
...
* Add wallet function to bump fee
* Bump sequence number
* Respond to review
* Fix test
2020-12-20 07:43:18 -06:00
Chris Stewart
d204056ad8
2020 12 19 enable test compileropts ( #2400 )
...
* Fix bug where test compiler opts were not enabled
* Fix all exsting compiler warnings in test project
* Add scalaCollectionCompat dependency to bitcoindRpcTest so we can use @nowarn annotation on scala 2.12
2020-12-20 07:09:07 -06:00
Ben Carman
cd13bdb77a
Rescan Improvements ( #2379 )
...
* Rescan Improvements
* Make test use fetchFilters instead
2020-12-18 07:05:59 -06:00
Ben Carman
52ef1fa185
Add ability to store ExtPrivateKey instead of Mnemonic ( #2372 )
...
* Add ability to store ExtPrivateKey instead of Mnemonic
* Use private vals, change name
* Fix docs
* private to km
* Correct scaladocs
2020-12-17 13:25:04 -06:00
Ben Carman
1225584526
Multi Wallet support ( #2345 )
...
* Multi Wallet support
* Fix Oracle tests
* Fix some CI errors
* Increase KeyManagerAppConfig code coverage
* Add test for multiple seeds in seed folder
* Move things in reference.conf files
* Lower key manager coverage requirement
* Fix postgres test issues
* Create DbAppConfig
* Add some docs, fix hardcoded postgres db name
* Clarify db vs schema
* Add character types
* Fix chaindb in conf
* Always copy default seed
* Remove need for driverName config
2020-12-16 17:27:56 -06:00
Ben Carman
685d5b0273
Let wallet sign PSBTs ( #2236 )
...
* Let wallet sign PSBTs
* Add example to docs
* Add logs and test case
2020-11-07 09:25:59 -06:00
Ben Carman
47a38f88db
Make aesPassword option for wallet config ( #2217 )
...
* Make aesPassword option for wallet config
* Add to docs
* Make AesPassword optional
* Small touchups
* Fix for oracle server
* Fix docs
* Increase code coverage
2020-11-06 07:00:18 -06:00
Chris Stewart
581d46c2c8
2020 11 02 cleanup ( #2233 )
...
* Cleanup a bunch of imports in test
* Use @nowarn annotation for testing things that are deprecated
* Fix base58 test
* Cleanup crypto-test
* Use scala collection compat dependency to get access to the @nowarn annotation on scala 2.12.x
* Rework more scala 2.13.x compile failures in chain-test and key-manager-test
* Optimize imports for entire project
* Fix nits
2020-11-03 11:07:04 -06:00
Ben Carman
9787e89403
Add Wallet State Descriptors ( #2157 )
...
* Add Wallet State Descriptors
* Sync blocks while offline w/ bitcoind backend
* Add to WalletDbManagement
* Update db management test
* Respond to review
* Rename function
2020-10-14 14:17:51 -05:00
Ben Carman
d54c15d4cb
Remove requirement for ZMQ with bitcoind backend ( #2137 )
...
* Remove requirement for ZMQ with bitcoind backend
* Add test, move poller to BitcoindRpcBackendUtil
* Add docs & logs, fix niche case
* Use AtomicReference, reset prevCount on failure
2020-10-12 07:59:57 -05:00
Ben Carman
09dfd5eb73
Add BIP45 Multisig Purpose ( #2103 )
...
* Add BIP45 Multisig Purpose
* Fix multisig purpose, add tests
2020-10-02 10:43:25 -05:00
Ben Carman
ed5228310b
Use SubtractFeeFromOutputsFinalizer when sending full utxos ( #2072 )
2020-10-01 17:32:24 -05:00
Ben Carman
a694ef16b7
Add ability to fully spend utxos ( #2063 )
...
* Let RawTxSigner dummy sign transactions
* Add ability to fully spend utxos
* Fix NeutrinoNodeWithWalletTest
* Fix test, simplify call
2020-09-27 08:16:26 -05:00
Ben Carman
3ec3b5d699
Merge pull request #2029
...
* Add more processing blocks tests
* Add immature coinbase txo state
* Test balance, add doc
2020-09-20 10:39:31 -05:00
Ben Carman
1e3aee55c3
Merge pull request #2019
...
* Refactor logging to only use grizzled slf4j
* Fix docs
* test travis config change
2020-09-19 14:09:12 -05:00
Chris Stewart
00480cc391
Use randomized fee rates for wallet tests ( #1977 )
...
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-09-09 16:46:33 -05:00
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
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
Chris Stewart
955978f635
Apply string factory to a bunch of easy things ( #1891 )
...
* Apply string factory to a bunch of easy things
* Refactor HDPath, ExtKey, and LnTagPrefix to use StringFactory
* Implemen StringFactory on LnHumanReadablePart, ScriptType, ServiceIdentifier
* Implement StringFactory on AesCrypt, NodeUri, AddressTag, PSBT, TxoState
* Fix failing tests, fix website compile
* Apply StringFactory to all ScriptOperations, ChannelState, Script Parsing
2020-08-25 10:48:37 -05: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
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
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
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
562f789504
Create primary key of (address, tag_type) for AddressTag table ( #1828 )
2020-08-15 12:52:00 -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
62e9e08cf6
Address Tagging/Labeling Support from CLI ( #1790 )
...
* Address Tagging/Labeling Support from CLI
* Scaladoc
2020-08-12 10:55:15 -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
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
73628e7e1f
Add ProcessBlockTest ( #1674 )
2020-07-27 14:14:24 -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
5e8a049fd2
Unreserve spent utxos ( #1676 )
2020-07-19 10:40:09 -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