Commit graph

3303 commits

Author SHA1 Message Date
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
Scala Steward
90c3f69713
Update scalajs-stubs to 1.1.0 (#3508) 2021-08-10 06:54:49 -05:00
Chris Stewart
9666e9d296
2021 08 09 init delay broadcast freq (#3509)
* Adjust the init broadcast delay to be 60 seconds

* Fix import
2021-08-10 06:11:56 -05:00
user411
b98aa7c8e1
GUI code cleanup (#3504)
* GUI cleanup

* Remove import {}
2021-08-09 17:55:38 -05:00
benthecarman
8979ac2932
Don't use tor proxy for localhost connections (#3500) 2021-08-07 14:36:33 -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
Sam Bradbury
c37f982f02
Update tor.md (#3495)
changes for mac osx user clarity
2021-08-06 06:53:36 -05:00
Chris Stewart
a8fa96b0a4
Add where tor.md modifications need to be made explicitly (#3493)
* Add where tor.md modifications need to be made explicitly

* Add another sentence to say create it if it dne
2021-08-06 06:53:02 -05:00
Mateusz Faltyn
e61be252bd
Updated README (#3489)
* Updated README

* READEM2 v2

* Update README.md
2021-08-06 05:13:39 -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
Scala Steward
3cdc0d19c7
Update akka-http, akka-http-testkit, ... to 10.2.6 (#3488) 2021-08-05 13:57:10 -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
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
00841160e0
Modifer keys per OS, Mac native menubar (#3474)
* Modifer keys per OS, Mac native menubar

* Remove menuUtil in favor of ShortcutDown
2021-08-04 13:31:26 -05:00
benthecarman
7cac44de4d
DLC P2P in AppServer and GUI (#3462) 2021-08-04 07:06:19 -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
Scala Steward
004b6cc59d
Update sbt-scalajs, scalajs-compiler, ... to 1.7.0 (#3475) 2021-08-03 18:23:59 -05:00
user411
c022261c4f
Remove colons from DLC view labels (#3471) 2021-08-03 16:57:10 -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
benthecarman
1051e6365a
DLC P2P Client (#3402)
* DLC P2P WIP

* P2PClient refactor (#10)

* Add to CI

* Remove unused

* Attempt to create DLCNode and Tests

* Full Tor support

* Get DLCNegotiationTest passing

* Config options, connect & send func

* Test for DLCNode

* Add createDLCNode to config

* Fix formatting

* Update DLC state after all other data is set

* Remove unneeded line

* Respond to some review

* 2021 07 26 dlc node code review (#13)

* WIP

* WIP2

* Rewrite tests not use Await.result()

* Skip Tor test on CI

* Cleanup threadpool leaks in tests

* Handle actor pattern matching better

* Respond to review

* Implement DLCNode.stop

* sock5 -> socks5

* Use Tcp.Unbind

* Respond to review

* Implement postStop

* Switch to unbind

Co-authored-by: rorp <rorp@users.noreply.github.com>
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-08-02 18:15:56 -05:00
Shreyansh
1426c31483
Multi peer: Sync with random peer (#3454)
* ensure random peer used for sync supports compact filters

* test file

* fix

* refactor

* rerun ci

* rerun ci

* changes from comments

* fix

* fix tests

* changes from comments

* refactor

* remove unintended diffs
2021-07-31 07:54:31 -05:00
user411
9aadf9053d
Dialogs to CliCommandProducers with buildView(), common fileChooser (#3456)
* Dialogs to CliCommandProducers with buildView(), common fileChooser

* Fix Insets import error

* Code cleanup

* Parameterize CliCommandProducer to allow us to be more specific about the CliCommand

* Refactor CliCommandProducer to return just T rather than Some[T]

* Use Option rather than null

* Add error-label style

* Move Dialog tracking to Option[Dialog]

* Move GUIUtil params to Options

* Fix buildView param ordering and Try() notation

* Use match notation on file handling Options

* Fix Option variable naming/handling

* Add privates and style cleanup

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-07-30 12:30:11 -05:00
Scala Steward
520e8e5715
Update janino to 3.1.6 (#3457) 2021-07-28 09:56:02 -05:00
benthecarman
c1ce9ca115
Disallow signing your own DLCAccept (#3453)
* Disallow signing your own DLCAccept

* Fix formatting
2021-07-27 10:47:31 -05:00
Scala Steward
07b4e722c1
Update akka-http, akka-http-testkit, ... to 10.2.5 (#3455) 2021-07-27 10:45:41 -05:00
Scala Steward
7b1c5639cc
Update logback-classic to 1.2.5 (#3452) 2021-07-26 16:07:12 -05:00
Shreyansh
85975b8b07
complete handshake with peers (#3446)
fix
2021-07-25 11:11:01 -05:00
Chris Stewart
98ecdf7ac3
Refactor DLCOracle construction to be more safe (#3449) 2021-07-25 11:08:56 -05:00
Shruthii RG
e2c2798e60
Implemented the ability to fetch unconfirmed transactions (#3429)
* relay flag in version message made configurable

* modified test classes as well

* Update configuration.md

* reverted few files and cleaned up format

* fixed mistake

* enabled neutrino node to receive transactions as a callback

* added txid to log message

* changed txId to txIdBE

* unit test added for checking if we're getting transaction as a callback
2021-07-23 13:01:07 -05:00
Chris Stewart
1032669f21
Add unit test for moving seeds and making sure we can get the same public key after moving (#3441) 2021-07-23 13:00:27 -05:00
Scala Steward
fc88aa077b
Update sbt-mdoc to 2.2.22 (#3439) 2021-07-22 12:24:28 -05:00