Commit Graph

45 Commits

Author SHA1 Message Date
Chris Stewart
781e77844f
Implement ability to get proper version of BitcoindRpcClient from BitcoindRpcApConfig.clientF (#3699) 2021-09-29 06:43:15 -05:00
Chris Stewart
0fb2cd0149
Remove implicit conversions from BitcoinSAppConfig -> {WalletAppConfig,ChainAppConfig,NodeAppConfig} etc (#3652) 2021-09-08 13:54:18 -05:00
Shruthii RG
d53f164478
BitcoindRpcClient Improvements (#3600)
* Changes in bitcoind-rpc module

* Get things compiling

* Implement BitcoindInstanceRemote & BitcoindInstanceLocal

* Fix doc compile

* bitcoind remote instance test

* rename BitcoindInstanceRemote

* Scalafmt

* Applied requested changes(except one)

* implemented fromConfigFile and fromDataDir for BitcoindInstanceRemote

* implemented fromNetworkVersion

* BitcoindInstanceRemote changes

* Get things compiling

* Add implict type parameter to InstanceFactory

* Fix recursive reference of version <-> getNetworkInfo

* bug fix

* bug fix 2

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-09-07 08:49:01 -05:00
Chris Stewart
0746b14331
Move BitcoindRpcAppConfig into the bitcoind-rpc project (#3610) 2021-08-27 06:43:31 -05:00
Chris Stewart
b980f4894d
Implement BitcoinSAppConfig with ActorSystem (#3596) 2021-08-24 07:41:05 -05:00
user411
8cff5b6e33
Change bitcoind RPC Password to PasswordField (#3587) 2021-08-23 11:12:13 -05:00
Chris Stewart
e62615dc5e
Add guard to not allow us to check the network configuration on bitcoind (#3582)
* Add guard to not allow us to check the network configuration on bitcoind if we are using tor because tor isn't started yet

* Remove unecessary logs, revert config
2021-08-20 14:49:37 -05:00
user411
072c4164db
Add Tor running text to UI (#3546)
* Add Tor running text to UI

* Fix tor/proxy references

* Set network and proxy enabled from final config

* Cleanup

* Change to Tor Proxy indicator when enabled
2021-08-19 18:24:34 -05:00
Chris Stewart
9ef27e4d7e
Turn on bitcoin-s.node.relay=true by default on bundle/appServer (#3580) 2021-08-19 17:37:55 -05:00
user411
63ccfbe1a0
Add Network label to statusbar (#3541) 2021-08-13 08:45:01 -05:00
user411
da0d583471
Style wallet startup screens (#3542) 2021-08-13 07:54:49 -05:00
benthecarman
04678b5ed9
Add tor config to bundle application.conf (#3537)
* Add tor config to bundle application.conf

* Fix to correct proxy config
2021-08-12 14:18:15 -05:00
Chris Stewart
5aac4fd8d5
Bump server startup timeout from 60 seconds to 120seconds (#3514) 2021-08-10 14:03:22 -05:00
Chris Stewart
4f7b6422ea
2021 08 06 app config refacotr (#3498)
* Move AppConfig into app-commons, reduce classpath deps on keyManager,tor

* Move test ServerArgParserTest

* Fix compile error
2021-08-07 14:36:11 -05:00
user411
e315fb0563
Move to GridPane wallet, dynamic sizing (#3492) 2021-08-05 17:42:04 -05:00
user411
bc3140c6bb
Default Use Tor to config value, space login pages the same (#3472)
* Default Use Tor to config value, space login pages the same, GUIUtil updates

* Use socks5ProxyParams.isDefined for Use Tor and add types to GUIUtil
2021-08-04 13:34:18 -05:00
user411
ef16082b95
Add preferences for wallet window x,y,w,h persistence (#3473)
* Add preferences for wallet window x,y,w,h persistence

* Remove printlns
2021-08-03 18:42:31 -05:00
rorp
ca40af5d94
Tor support for BTC RPC (#3470)
* Tor support for BTC RPC

* change config format
2021-08-03 11:07:05 -05:00
user411
19fb1cf17a
Add network selection combobox for Neutrino (#3409)
* Add network selection combobox for Neutrino fixes 3406

* Internalized ComboBox items, added .onion proxy.enabled auto-flagging

* Change ComboBox to BitcoinNetwork type

* Separate proxy and config building

* Resolve network name to canonical dirName
2021-07-16 09:03:54 -06:00
Chris Stewart
bc79a24f53
Get both bundle and app server logging working (#3362)
* Get both bundle and app server logging working, oracleServer does not compile

* Get everythig compiling

* Fix bug where bundle wouldn't use command line param rpc port for ConsoleCli

* Add unit tests to make sure we are translating to config properly

* Fix bug where app config wasn't re-created after parsing bundle args

* Fix datadir resolution in BundleGUI

* Implement force-recalc-chainwork

* fix bug

* Try not using tilde on windows

* Try to print datadir on CI

* Try using stackoverflow answer

* Try escaping windows path

* Take ben's suggestion of using AppConfig.safePathToString

* Just check the paths are equal

* Fix nullpointerexceptions on startup

* Fix bug where bitcoin-s-bundle.conf was not being read

* Remove usage of --conf flag in bundle when starting backend server

* Fix compile

* Rename usedDir -> networkDir

* Fix passing in datadir
2021-07-07 10:59:11 -05:00
benthecarman
6af9e47e38
Fix showing error popups in GUI (#3353) 2021-07-01 10:27:23 -05:00
benthecarman
2f7e5876d3
Set default neutrino peer based on network (#3360) 2021-07-01 10:27:05 -05:00
benthecarman
d7b753a869
Add invariant and better error message for invalid numeric contract descriptor (#3338)
* Add invariant and better error message for invalid numeric contract descriptor

* Better error message

* Fix test name
2021-06-28 10:58:15 -05:00
benthecarman
d669bd58ae
Resolve bundle config and read/write in tmp file (#3327)
* Have it save config for next time

* Fix compile
2021-06-28 07:46:32 -05:00
Chris Stewart
cb5ec20eac
Silence all scaladoc warnings (#3336) 2021-06-28 07:14:09 -05:00
Chris Stewart
ea26c8b3a3
2021 06 23 scalafx dep (#3324)
* WIP

* Remove usage of JFXApp, use JfxApp3
2021-06-23 18:15:32 -05:00
Chris Stewart
94081502c8
Remove previous stable version usage for windows builds as for some reason it doesn't work when setting up dev envs for the first time (#3292) 2021-06-18 09:18:54 -05:00
benthecarman
d6878b0226
Use same network as bitcoind backend (#3285)
* Require same network for bitcoind and appServer

* Use same network as bitcoind backend

* touchups
2021-06-17 10:44:25 -05:00
benthecarman
898ebed4e9
Windows packaging (#3210) 2021-06-17 07:20:07 -05:00
Chris Stewart
63083bf642
Make getDLCs async to improve performance (#3222)
* Make getDLCs async to improve performance

* remove logs

* remove unecessary logs

* Fix unused
2021-06-15 09:38:36 -05:00
Chris Stewart
a61c11acfc
Implement sharing of actor systems across the GUI and backend app server (#3220)
* Implement sharing of actor systems across the GUI and backend app server

* Add timestamp to system names

* Fix test case
2021-06-07 11:38:33 -05:00
Chris Stewart
bd877c80a9
Get logging working in bundle (#3200)
* Get logging working in bundle by making sure the system property is first thing set

* Switch GUI to lazy
2021-05-31 08:00:23 -05:00
benthecarman
03a0ca5ee9
Add QR Code to get adress dialog (#3186) 2021-05-28 06:33:37 -05:00
benthecarman
604194293c
Replace GUI balance thread with a akka scheduler (#3174)
* Replace GUI balance thread with a akka scheduler

* Make actory system a param
2021-05-27 13:17:32 -05:00
Chris Stewart
4146876369
Add DatadirUtil to centralize logic for finding our actual datadir (#3171) 2021-05-27 13:08:14 -05:00
benthecarman
957c5c3a8a
Open bundle GUI at last used tab (#3164) 2021-05-27 07:48:26 -05:00
benthecarman
180d7dfcd3
Make loading icon appear until server is full started (#3168) 2021-05-27 07:05:41 -05:00
benthecarman
96fc544572
Fix logging in bundle (#3167) 2021-05-27 06:17:04 -05:00
Chris Stewart
6c9d82166e
Fix main class in bundle (#3161)
* Fix main class in bundle

* Fix missing gui mainclass
2021-05-26 18:09:53 -05:00
benthecarman
379ffebd9c
Add startup config flow for bundle (#3142)
* Add startup config flow for bundle

* Add explainers and bundle config
2021-05-26 16:07:24 -06:00
Chris Stewart
80e6a91056
Add application.conf to bundle (#3118)
* Add application.conf to bundle, move some configurations into db-commons/reference.conf

* Fix config
2021-05-21 10:59:23 -05:00
Chris Stewart
fcf55df165
2021 05 19 jpackage bundle release (#3108)
* Remove tags usage, as our current tags are invalid for mac

* First try trying to get jpackage to work with bitcoin-s bundle

* Simplify bundle name for now

* Try to fix linux formatting

* Empty commit to re-run ci

* Empty commit to re-run ci 2

* Fix references to krystal bull artifacts

* Add icon to deb file

* Add icns file for bitcoin-s for mac

* Use same icon as mac os x

* Try to get tagging logic correct

* Add fetch depth 0

* Try bumping java ubuntu version to 1.16

* Try using openjdk@1.16.0-1

* Remove jpackage feature branch to test

* Empty commit to re-run ci 2

* Remove unused ico file
2021-05-19 16:38:32 -05:00
Chris Stewart
ba91ba5596
Add assembly instructions for bundle project (#3104)
* Add assembly instructions for bundle project

* revert reference.conf
2021-05-19 06:35:31 -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
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