Commit graph

3114 commits

Author SHA1 Message Date
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
Shruthii RG
1c6d728197
Made relay flag in version message configurable (#3416)
* relay flag in version message made configurable

* modified test classes as well

* Update configuration.md

* reverted few files and cleaned up format

* fixed mistake
2021-07-19 09:59:43 -05:00
Chris Stewart
b2b2ca45db
Add ability to configure postgres database backends for test cases via reference.conf (#3421) 2021-07-19 09:55:36 -05:00
Scala Steward
7f07ed7a7a
Update metrics-core to 4.2.3 (#3419) 2021-07-19 06:26:18 -05:00
Chris Stewart
b7b2a7099f
2021 07 15 dlc oracle pg (#3413)
* WIP

* Get postgres test passing by not allowing 0 byte (NULL character in UTF 8 string) in the utf8 generator
2021-07-17 12:19:49 -05:00
benthecarman
f20cdf667c
Pretty print PnL in table view (#3400) 2021-07-16 10:15:35 -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
benthecarman
892096d790
Disallow calling addDLCSigs as Initiator (#3411) 2021-07-15 17:05:32 -05:00
rorp
8b663d91b6
Tor support for P2P (#3311)
* Tor support for P2P

* fix stuck connections

* unit tests

* docs

* update docs

* respond to the PR comments

* fix docs
2021-07-13 14:27:24 -05:00
Scala Steward
6e04010cba
Update scala-async to 1.0.0 (#3392) 2021-07-13 12:39:47 -05:00
Scala Steward
74964ab145
Update sbt to 1.5.5 (#3391) 2021-07-12 06:16:47 -05:00
Shreyansh
fd7cd71848
Update .gitmodules (#3390) 2021-07-11 08:46:54 -05:00
benthecarman
c1715760c6
Add connection indicator to GUI (#3381) 2021-07-11 06:36:16 -05:00
Chris Stewart
c774ce3a34
Implement logic to automatically attach deb,dmg,msi installers to a release when i tag something (#3388) 2021-07-09 12:42:46 -05:00
Scala Steward
cddecc2075
Update sbt-scalafmt to 2.4.3 (#3386) 2021-07-09 12:26:46 -05:00
benthecarman
45233be22d
Update user agent (#3384)
* Update user agent

* update prev version
2021-07-09 06:54:10 -05:00
Scala Steward
38c55ad0c0
Update scala-collection-compat to 2.5.0 (#3387) 2021-07-09 06:28:00 -05:00
user411
79e11c6dce
Update path to secp256k1 library in docs (#3385) 2021-07-09 06:27:26 -05:00
Chris Stewart
028b6f896b
Add missing release webhook on the release.yml file (#3380) 2021-07-08 08:10:34 -05:00
Chris Stewart
895eb88e93
Add missing website docs (#3379) 2021-07-08 06:32:54 -05:00
Chris Stewart
79175cc097
1.7.0 version of website (#3373) 2021-07-08 06:21:00 -05:00
benthecarman
a82f5aa832
Use Wallet's transactionDAO instead of creating a copy (#3377)
* Use Wallet's transactionDAO instead of creating a copy

* remove import
2021-07-07 19:01:40 -05:00
user411
253f7444c6
Show error on SignedDigit contract (#3376) 2021-07-07 15:51:29 -05:00
Chris Stewart
b75d1259c1
Add first draft for release notes for 1.7 (#3346)
* Add first draft for release notes for 1.7

* Add high level descriptions of what changed in modules

* Add latest commits

* Add boilerplate section for verifying sigs
2021-07-07 15:50:39 -05:00
user411
bb838624ce
Export Result and Save Backup handle no file selection (#3370)
* Export Result and Save Backup handle no file selection, New Point in curve not marked Endpoint

* Revert endpoint defaullt change

* Change to Option[File] from Save Dialog

* Explicit no return from cases
2021-07-07 15:35:11 -05: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
5df7a8bdf3
Add test for ZMQ Polling backend (#3088)
* Add test for ZMQ Polling backend

* Use TestAsyncUtil, increase maxTries

* Add multiple attempts
2021-07-06 19:20:12 -05:00