Commit Graph

400 Commits

Author SHA1 Message Date
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
benthecarman
515e85b1c5
Decode DLC messages cli commands (#3636)
* Decode DLC messages cli commands

* Move decoding to picklers, add contractInfo decoder

* Add decoding examples
2021-09-03 09:46:09 -05:00
benthecarman
40f89af597
Give help messages for DLC cli commands and document them (#3642) 2021-09-02 08:18:17 -05:00
benthecarman
ba21c24d6f
Give funding txid in DLC Signed state (#3640)
* Give funding txid in DLC Signed state

* Improve test
2021-09-02 08:17:20 -05:00
benthecarman
656e9b1b5d
Sort DLC table by last updated (#3607)
* Sort DLC table by last updated

* Add LastUpdatedDb

* Make visible

* Fix compile

* Add time, fix sorting

* Switch to local time

* fix compile

* Fix test

* Fix postgres migration

* Specify zoneId
2021-08-31 14:27:36 -05:00
user411
11dd28085a
Add debug window button to unreserve all utxos (#3633) 2021-08-30 12:31:38 -05:00
Chris Stewart
f5ed232946
Bump fee by more to make sure our fee rate is increasing the test case (#3625) 2021-08-29 18:08:07 -05:00
user411
55c57c487e
Add CORS handling for running from a local dev server (#3612) 2021-08-27 07:57:36 -05:00
Chris Stewart
0746b14331
Move BitcoindRpcAppConfig into the bitcoind-rpc project (#3610) 2021-08-27 06:43:31 -05:00
Chris Stewart
a5f4f9663c
Add BitcoinSServerMain test to connect to bitcoind (#3591)
* Add BitcoinSServerMain test to connect to bitcoind

* Add tor tests

* Fix compile

* Remove println

* Allow to reset BitcoinSServer promise

* Remove println

Co-authored-by: benthecarman <benthecarman@live.com>
2021-08-26 09:08:38 -05:00
benthecarman
479f8e249c
Remove unneeded CoreApi (#3599) 2021-08-24 14:17:04 -05:00
Chris Stewart
b980f4894d
Implement BitcoinSAppConfig with ActorSystem (#3596) 2021-08-24 07:41:05 -05:00
Chris Stewart
75bbda66dd
Add AppConfigActorSystem (#3590) 2021-08-23 14:49:13 -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
benthecarman
68afe90778
Flip buttons for Offer and Accept (#3579) 2021-08-19 17:31:54 -05:00
benthecarman
0a31d6a4e2
Have wallet broadcast transaction for sendrawtransaction (#3578) 2021-08-19 17:24:17 -05:00
user411
01617be190
Add welcome pane to right view on startup (#3577) 2021-08-19 17:24:02 -05:00
user411
fd02d3642e
Add dialog to show transaction id and link after wallet Send (#3570)
* Add dialog to show transaction id and link after wallet Send

* Add transaction sent to rebroadcast closing tx

* Add Platform.runLater() for Ubuntu support

* Add block explorer timing warning

* Add Funding Transaction dialog, mempool.space urls
2021-08-19 12:24:41 -05:00
user411
5567d2214f
Move DLC/Event loading operations to Pane (#3567)
* Move DLC/Event loading operations to Pane

* Change labeling to Accept Offer / Build Offer

* Cleanup comment
2021-08-19 11:16:22 -06:00
rorp
c915711908
Make Tor setup Docker compatible (#3552) 2021-08-19 08:13:23 -07:00
user411
589077f2f3
Enum outcome labels to match numeric outcome labels (#3568)
* Enum outcome labels to match numeric outcome labels

* Add vertical space above outcomes

* Bump vertical spacing
2021-08-18 06:49:24 -05:00
user411
b545915fc0
Implement rebroadcast closing tx (#3564)
* Implement rebroadcast closing tx

* Add minWidth to Rebroadcast buttons
2021-08-17 12:16:46 -05:00
Chris Stewart
7cd21edb12
2021 08 17 rebroadcast funding tx (#3561)
* Add check for valid broadcast states

* Add rebroadcast funding tx button

* remove printlns

* Add status to error message to get compile working

* println -> logger.info

Co-authored-by: Ivan <erickson.ivan@gmail.com>
2021-08-17 08:41:55 -05:00
Chris Stewart
b7d85264a0
Implement TorAppConfig.start(), use tor logs to detect when the tor is fully started (#3549)
* Implement TorAppConfig.start(), use tor logs to detect when the tor binary is fully started

* Clean up comments

* take ben's suggestion and only start the binary when tor is enabled

* Add cases for when binary is alreayd started

* Actually set the stop flag correctly

* Scalafmt
2021-08-15 14:01:12 -05:00
Chris Stewart
bbd3cd2bc4
Stop tor binary when server is shutdown (#3543) 2021-08-13 10:24:47 -05:00
user411
e08dc636a1
Wallet on top UI, minWidth on DLC View fields (#3540) 2021-08-13 10:22:51 -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
user411
e0ecafc5f9
Add debug window to view log fixes #3516 (#3536)
* Add debug window to view log

* Test with Desktop.open() vs Desktop.edit()

* Use Runtime.exec() to open unix file

* Ubuntu log file open works

* Cleanup

* Brace cleanup

* Add logging for unsupported platforms
2021-08-13 07:20:03 -05:00
user411
77539c570a
Adjust DLCTableView column widths and "counter party" to "counterparty" (#3539) 2021-08-13 07:14:11 -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
user411
309d9ec217
Add proxy and tor sections to reference conf (#3530) 2021-08-12 07:07:44 -05:00
Chris Stewart
037ab7341e
Reduce logs for inv messages and wallet callbacks to DEBUG (#3524) 2021-08-11 11:13:04 -05:00
user411
b2065a9c02
SplitPane flat Dialog UI (#3505)
* SplitPane flat Dialog UI

* Fix Scala 2.12 nits

* Cleanup bool names and unused code
2021-08-11 07:29:59 -05:00
Chris Stewart
5aac4fd8d5
Bump server startup timeout from 60 seconds to 120seconds (#3514) 2021-08-10 14:03:22 -05:00
benthecarman
43e0287fed
Package Tor with Bitcoin-s (#3483)
* Tor packaged in Bitcoin-S

* Ensure not a bridge relay

* Respond to review

* Move repeat function
2021-08-10 11:56:17 -05:00
rorp
3d4cf1fc91
Tor support for all sub-projects (#3506) 2021-08-10 08:07:12 -05:00
user411
b98aa7c8e1
GUI code cleanup (#3504)
* GUI cleanup

* Remove import {}
2021-08-09 17:55:38 -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
5524f7d393
Add style classes, center Rounding Info (#3496) 2021-08-07 11:39:54 -05:00
user411
84e6097d48
Set disable to context menu items based on selection, add Refund/Execute (#3477)
* Set disable to context menu items based on selection, add Refund/Execute

* Fix DLCStatus.state matching for disabling

* Add all explicit states to match
2021-08-06 16:17:32 -05:00
benthecarman
66813dc7c5
Fix error parsing address in AcceptOfferDialog (#3491) 2021-08-05 17:44:05 -05:00
user411
e315fb0563
Move to GridPane wallet, dynamic sizing (#3492) 2021-08-05 17:42:04 -05:00
user411
831e0fd96d
Evenly space footer status items (#3485) 2021-08-05 06:51:11 -05:00
user411
3177b1586b
Adds Tor Address to UI, if set (#3481)
* Adds Tor Address to UI, if set

* Put .error-label back in

* Use GUIUtil.getCopyToClipboardButton
2021-08-04 15:55:07 -05:00
user411
2dd348a79f
Fix dialog results optionality nesting to match dialogOpt (#3479) 2021-08-04 14:25:53 -05:00
benthecarman
b39ca47268
Create TorAppConfig (#3476) 2021-08-04 14:16:22 -05:00