Commit Graph

3089 Commits

Author SHA1 Message Date
benthecarman
495ab62104
Tor in Testkit (#3484)
* Tor packaged for testkit

* Add CI row

* Small fixes

* More fixes

* Keep tor running

* Skip tor test for old version of bitcoind

* Respond to review

* Fix with master

* Bump tor start time to same as app config

* Use cached tor for DLCNodeTest

* Disable parallel execution for dlc node test with tor

* Fix DLCNodeTest for tor and clearnet

* Fix name of CI rows
2021-08-23 13:06:14 -05:00
user411
8cff5b6e33
Change bitcoind RPC Password to PasswordField (#3587) 2021-08-23 11:12:13 -05:00
Chris Stewart
ac8bdb120c
Implement PeerMessageReceiverState.InitializedDisconnect. This allows us to distinguish between disconnections we initalized and connections the peer intialized. This is needed for determining whether we should reconnect or not (#3583) 2021-08-21 17:04:50 -05:00
Chris Stewart
20575bcd68
Fix missing afterAll in ReConnectionTest (#3584) 2021-08-20 15:52:42 -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
rorp
54ce2ebeb2
P2P reconnect logic (#3572)
* P2P reconnect logic

* some fixes

* more changes

* fix DuplicateFilters exception in case of  disconnect in the middle of syncing filters

* more fixes

* Repurpose maxconnections test to be just a generic reconnection test

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-08-20 05:51:51 -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
benthecarman
cebd289dd6
Implement versioning for packaged tor (#3576) 2021-08-19 13:49: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
benthecarman
d2a7bc02b6
Fix app server docker docs (#3575) 2021-08-19 10:16:56 -05:00
rorp
c915711908
Make Tor setup Docker compatible (#3552) 2021-08-19 08:13:23 -07:00
rorp
fa45c74c36
Improve filter header verification (#3566)
* Improve filter header verification

* unit test
2021-08-18 06:57:01 -05:00
Chris Stewart
114fbf35fe
Update version, userAgent for bitcoin-s (#3565) 2021-08-18 06:50:04 -05: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
Shruthii RG
7f7bc1f4bf
Update configuration.md (#3503)
* Update configuration.md

* Update configuration.md

* Update configuration.md

* Update configuration.md
2021-08-17 10:46:07 -05:00
benthecarman
addb1254ee
Fix for if tor is already running (#3562) 2021-08-17 09:47:31 -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
706c9fe961
Add check for valid broadcast states (#3560) 2021-08-17 07:51:12 -05:00
Chris Stewart
f2e68bbfc5
Add guard for the case where tor binary hasn't created log file yet (#3558)
* Add guard for the case where tor binary hasn't created log file yet

* Bump timeout

* Bump tor timeout to 1 minute
2021-08-16 17:45:55 -05:00
Chris Stewart
f85f969500
Revert 60 second delay on broadcast to go back to 4 hour default to not break IBD (#3557) 2021-08-16 17:45:46 -05:00
Sam Bradbury
6a66f9bfcd
Update tor.md (#3507)
* Update tor.md

Typo correction and further clarification for mac users

* Update tor.md

Moved torrc CooieAuthFile setting to the newly created 'optional settings section' and added extra clarity for the issue described here (https://github.com/bitcoin-s/bitcoin-s/issues/3547) which is similar to the issue I experienced.
2021-08-16 06:29:10 -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
902f4aa332
The spaces after the log level cause logging levels not to work (#3545) 2021-08-13 11:07:58 -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
Chris Stewart
ddd27c3d89
Add TorBundle, make all mac files executable that are required (#3534)
* Add TorBundle, make all mac files executable that are required

* Remove old comment
2021-08-12 11:20:50 -05:00
rorp
560edf66d8
update osx64 secp256k1 binaries (#3531) 2021-08-12 07:08:11 -05:00
user411
309d9ec217
Add proxy and tor sections to reference conf (#3530) 2021-08-12 07:07:44 -05:00
Chris Stewart
60dbd0252d
Update secp256k1 precompiled binaries to use safegcd code on linux64 (#3528) 2021-08-12 06:44:10 -05:00
Chris Stewart
e3ab76fe6b
update arm64 secp256k1 binaries (#3527) 2021-08-12 06:43:58 -05:00
Chris Stewart
1d6ede492f
Invert updating of DLC state and broadcasting the funding tx (#3526)
* Invert updating of DLC state and broadcasting the funding tx

* Move log message
2021-08-11 15:06:28 -05:00
Chris Stewart
037ab7341e
Reduce logs for inv messages and wallet callbacks to DEBUG (#3524) 2021-08-11 11:13:04 -05:00
Chris Stewart
e829d03249
Add better CETSignaturesV0TLV.toString so we don't accidentally DOS in the case of large amoutns of adaptor signatures (#3521) 2021-08-11 10:23:01 -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
benthecarman
621e8e9033
Rescan DLC Tests (#3515) 2021-08-11 07:29:33 -05:00
Mateusz Faltyn
c27291a7a2
Getting Setup Fixes (#3517) 2021-08-11 07:25:27 -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