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
Chris Stewart
32f03bdf0b
2020 08 21 clean broadcast dao ( #1875 )
...
* Clean up code for BroadcastDAO test
* Extend StartStopAsync with BitcoinSAppConfig, create 'CachedAppConfig' test trait, clean up P2PClientTest
* Make MerkleBuffersTest use CachedAppConfig
* Start cleaning up after ourselves in the chainTest test suite
* Cancel background runnable for generating blocks after test case, add nodeAppConfig.stop() to tests in NodeAppConfigTest
* Stop mainnet nodeAppConfig in test as per ben's code review
2020-08-24 11:19:41 -05:00
Ben Carman
2f512364eb
Correcly use reference.conf file ( #1869 )
...
* Correcly use reference.conf file
* Fix for network specific filter header batch size config option
* Add to other conf files
2020-08-24 06:30:16 -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
29e380856b
Rolling log file location ( #1846 )
...
* Rolling log file location
* Fix file name
2020-08-18 14:37:22 -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
9e8e57505c
Fix case of cli command sendwithalgo ( #1835 )
2020-08-16 16:16:27 -05:00
Ben Carman
6131f29f15
Don't wait for rescan completion to send message ( #1836 )
2020-08-16 08:46:36 -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
701afe348a
Config CLI option, datadir correctly read from config ( #1807 )
...
* Config CLI option, datadir correctly read from config
* Change --config to --conf, add docs
2020-08-13 10:53:25 -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
b3a8f1d76b
Make Akka log to file correctly ( #1801 )
2020-08-12 07:52:51 -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
8c9c95bca8
Bump stop timeout ( #1797 )
2020-08-11 09:10:06 -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
0bf0655335
Better return message for bitcoin-s-cli stop ( #1777 )
2020-08-07 12:31:58 -05: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
e7b4ec5a1b
CLI: Handle non-json responses ( #1749 )
2020-08-04 07:24:11 -05:00
Chris Stewart
d39613e9b0
2020 07 25 optimize recalc chainwork ( #1697 )
...
* Optimize recalc Chainwork
* Typo and warning fixes
* Rename force recalc cli option
* Always update gensis header
* Add config option
* Fix config option
* Add to example config
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-07-31 10:43:04 -05:00
Ben Carman
51d35e24e9
Fix Node Startup Issue ( #1683 )
...
* Fix Node Startup Issue
* Small fixes
* Add option to force chain work recalc
2020-07-29 09:37:20 -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
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
Chris Stewart
87e9a279c6
Move where we call wallet.start() and node.start() to the same place to avoid initializaiton issue 1687 ( #1689 )
2020-07-21 12:04:29 -05:00
Ben Carman
9a35f16913
Start server before sync ( #1682 )
...
* Start server before sync
* Move promise call
2020-07-19 10:40:36 -05:00
Chris Stewart
feb279be9e
Remove the akka boiler plate needed to get around issue 1508 ( #1657 )
2020-07-10 12:39:43 -05:00
Ben Carman
120cca072b
Give more descriptive error when there are no peers set ( #1652 )
2020-07-09 15:28:47 -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
Ben Carman
365d98da10
Add extra logs, fix best filter bug ( #1624 )
...
* Add extra logs, fix best filter bug
* Fix to work for when filter count != header count
* Put blockheader items baack in place
2020-07-06 11:38:53 -05:00
Ben Carman
fdd5bc9ccc
Fix gui theme to correctly color the button bar ( #1626 )
2020-07-06 11:11:25 -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
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
Nadav Kohen
a1d17ab662
Added DLC GUI stuff to a new package in the existing GUI and made a new tab for DLCs ( #1590 )
...
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 15:23:53 -05:00
Nadav Kohen
9237074510
Pulled down dlc CLI code ( #1589 )
...
* Pulled down dlc CLI code (returns 400 Bad Request when called)
* Added decodeRawTransaction to server
* Moved decoderawtransaction to CoreRoutes
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 13:55:17 -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
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
3912a02f53
Added BlockTimeStamp abstraction for BlockStamps that aren't hashes ( #1573 )
...
* Added BlockTimeStamp abstraction for BlockStamps that aren't hashes
* Made BlockStamp and BlockTimeStamp extend StringFactory
2020-06-16 10:54:37 -05:00
Ben Carman
1731bd3163
Callback rework ( #1542 )
2020-06-15 17:30:08 -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
Chris Stewart
f9f1e89a07
Break things up in server/Main.scala, allow things to be done asynchr… ( #1522 )
...
* Break things up in server/Main.scala, allow things to be done asynchronously where they can be
* Rework Main.scala to have small methods that are used to initialize parts of our infra. Now it doesn't depend on global variables in Main either, they are implictly passed to these helper methods
2020-06-09 07:44:37 -05:00
Chris Stewart
b52ec8b041
Introduced bundle project and created main class that runs server and then gui ( #1531 )
...
Co-authored-by: nkohen <nadavk25@gmail.com>
2020-06-08 08:32:38 -05:00
Chris Stewart
32c06cbe81
2020 06 05 mv chainwork calc ( #1519 )
...
* Fix Chaindb chainwork Migration
* Move chain work calculation out of node, use the ChainApi returnd by runChainWorkCalc()
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-05 11:04:09 -05:00
Ben Carman
2f53379f16
Add docs for server endpoints ( #1505 )
2020-06-04 06:41:07 -05:00