Commit graph

3090 commits

Author SHA1 Message Date
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
benthecarman
462ffc53e6
Give TLVs subtypes, add LnMessage utilities (#3437) 2021-07-21 15:50:51 -05:00
benthecarman
2597904019
Move DLCWalletApi to core module (#3438) 2021-07-21 15:25:18 -05:00
benthecarman
35d2c6db4e
Update LND to v0.13.1-beta (#3435) 2021-07-21 15:19:32 -05:00
Shreyansh
4be2b2109b
[WIP] Adding multi-peer support (#3401)
* establish conn with multiple peers

squash 1

squash 2

squash 3

* add tests

* change log msg level

* minor changes

* fix

* formatting

* fix docs

* commit to rerun ci

* changes from comments

* fix bug

* rerun ci
2021-07-21 15:18:45 -05:00
benthecarman
36c4da7c95
Use AtomicInteger for keyIndex in DLCOracle (#3433)
* Use AtomicInteger for keyIndex in DLCOracle

* Make nextKeyIndexF private
2021-07-21 13:30:30 -05:00
benthecarman
2d96a9c519
Fix typo in DLCOracle (#3434) 2021-07-21 12:04:41 -05:00
Chris Stewart
91b88b60ec
Add large digits test in DLCOracle (#3432)
* Add large digits test in DLCOracle

* Add issue in comment
2021-07-21 12:01:09 -05:00
Chris Stewart
ea1ead9a3f
Add nonces to error message for easier debugging (#3430)
* Add nonces to error message for easier debugging

* Add .hex calls
2021-07-21 11:53:31 -05:00
Scala Steward
62a8897d7f
Update slf4j-api to 1.7.32 (#3427) 2021-07-20 13:32:45 -05:00
benthecarman
a295b363bd
Fix bug where we couldn't execute a DLC twice (#3426) 2021-07-20 10:43:27 -05:00
rorp
59963156bc
Hidden service setup helper (#3423) 2021-07-19 12:24:07 -07:00
rorp
16e8554756
SOCKS5 client transport (#3396)
* SOCKS5 client transport

* disable unit tests

* update unit tests

* respond to the PR comments

* cleanup

* some more changes
2021-07-19 12:55:23 -05:00
benthecarman
9aa9a424c2
Implement init message from BOLT 1 (#3407)
* Implement init message from BOLT 1

* fix compile
2021-07-19 12:39:44 -05:00