Aris
85087b0f70
Refactoring chain
( #2662 )
2021-02-13 14:10:40 -06:00
Chris Stewart
8f958bf5d9
Update scalafmt ( #2619 )
2021-02-03 16:37:12 -06:00
benthecarman
36b3a1bd81
Use mainnet for default server ( #2453 )
...
* Use mainnet for default server
* Fix server tests
2021-01-14 14:07:35 -06:00
benthecarman
d69c60b8b2
Bitcoind v0.21.0 support ( #2414 )
...
* Bitcoind v0.21.0rc3 support
* Use v0.21.0 instead of Experimental in node tests
* Bump to rc5
* Use official release
* Fix rebase issues
* Remove DoNotDiscover tag
* Fix count for NeutrinoNodeTest
2021-01-14 14:01:44 -06:00
benthecarman
84cde975d8
Add createmultisig cli command ( #2495 )
2021-01-09 09:54:34 -06:00
benthecarman
214dba8a8f
Move RPC server logic into separate project ( #2440 )
2020-12-29 14:57:11 -06:00
Ben Carman
f10bdce179
Add getblockheader cli command ( #2424 )
2020-12-23 07:15:35 -06:00
Ben Carman
4da53d5569
Bump Fee Cli commands ( #2415 )
...
* Bump Fee Cli commands
* Clarify fee rate, add to docs
2020-12-22 14:19:46 -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
2c25057fd6
Add get transaction cli command ( #2370 )
...
* Add get transaction cli command
* Fix return, add to docs
2020-12-18 07:18:13 -06:00
Nadav Kohen
b7ffea2525
Pulled down work from adaptor-dlc onto master ( #2339 )
...
* Pulled down work from adaptor-dlc onto master
* Reverted some accidental deletions
* Removed unused import
* Added scaladocs
* Responded to Ben's review
* Added some scaladocs and invariants
* Responded to chris' review
* Responded to more review
* Added some comments
2020-12-11 17:32:35 -06:00
Ben Carman
c29b787ab5
Add ability to change aes password ( #2254 )
...
* Add ability to change aes password
* Add docs
* Rename, add logs + tests
2020-11-15 08:07:49 -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
b02eb07cf0
Add listreservedutxos cli command ( #2247 )
2020-11-07 09:08:33 -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
d267f66a93
Have api endpoints return json ( #2178 )
2020-10-13 10:13:57 -05:00
Ben Carman
8d58df8d42
BitcoindRpcConfig Test ( #2181 )
2020-10-13 06:10:36 -05:00
Ben Carman
3bd8764fa8
Add test for server startup ( #2171 )
...
* Add test for server startup
* Clear log location property after test
2020-10-12 12:15:27 -05:00
Ben Carman
3f066d47e7
Fix NPE and log location on server start up ( #2163 )
2020-10-10 00:14:04 -05:00
Ben Carman
47388efcc0
Refactor Mains to use common BitcoinSRunner ( #2141 )
...
* Refactor Mains to use common BitcoinSRunner
* Give better name
2020-10-08 07:17:48 -05:00
Ben Carman
6bd12f1f19
Bitcoind backend on server start up ( #2088 )
2020-10-02 10:33:24 -05:00
Ben Carman
c59b3baf01
Create Cli function for reserving and unreserving utxos ( #2035 )
2020-09-21 12:37:15 -05:00
Chris Stewart
76b9577181
Introduce 'FilterSyncMarker' to ChainApi, make it clearier what exact… ( #2003 )
...
* Introduce 'FilterSyncMarker' to ChainApi, make it clearier what exactly the (Int,DoubleSha256Digest) tuple is returned from ChainApi.nextBlockHeaderRange()
* Fix doc
* Add scaladoc to FilterSyncMarker
* Rebase onto master, fix conflicts to use FilterSyncMarker
2020-09-11 13:48:40 -05:00
Ben Carman
2806ac8a95
Throw errors that occurr in startup ( #1950 )
...
* Throw errors that occurr in startup
* Add testing ability to runMain
2020-09-10 08:11:46 -05:00
Ben Carman
ee85f463f5
Fix RoutesSpec to assert results ( #1979 )
2020-09-07 15:52:23 -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
f468fff7ea
Move ChainApi to core ( #1888 )
...
* Move Chain Db Reps to core
* Move ChainApi to Core
2020-08-25 07:08:42 -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
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
cfd6f4fa79
Fix server parsing for send to address ( #1819 )
2020-08-17 09:49:50 -05:00
Ben Carman
4d46094d72
Add missing route for getaddressinfo ( #1834 )
2020-08-17 06:27:16 -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
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
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
194370622d
Move BIP 143 invariant for PSBTs to allow signed transactions ( #1631 )
...
* Move BIP143 invariant for PSBTs to allow signed transactions
* Fix RoutesSpec test
* Fix test
2020-07-07 14:36:03 -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
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
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
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
Ben Carman
c10d5bc89b
Fee Rate Api Support ( #1470 )
...
* Fee Rate Api Support
* FeeRateProvider Tests
* Rename folder
* Fix docs
2020-05-29 13:01:20 -05:00
Ben Carman
51fcb793be
Add ability to make OP_RETURN commitments ( #1417 )
2020-05-18 14:27:05 -05:00
Ben Carman
e44a08bd39
Wallet Send with coin selection algorithim ( #1409 )
2020-05-18 11:26:39 -05:00
Ben Carman
867e2a9755
Add list unused addresses call ( #1408 )
2020-05-12 09:29:02 -05:00
Ben Carman
711f5cb99c
Add listFundedAddresses call ( #1407 )
2020-05-12 07:33:22 -05:00
Ben Carman
721b28aefd
Add listSpentAddresses call ( #1406 )
2020-05-12 07:24:52 -05:00