Commit graph

10391 commits

Author SHA1 Message Date
wiz
442281ce0c
Fix seednode install script causing gradle to hang 2019-12-20 23:12:42 +09:00
wiz
a57d33a484
Fix seednode uninstallation script paths 2019-12-20 22:12:53 +09:00
wiz
4b0f25cdf6
Fix seednode installation script URL 2019-12-20 21:44:04 +09:00
wiz
485f8e8c37
Add one command installation script for tor + btcnode + seednode 2019-12-20 21:35:12 +09:00
wiz
97b0651669
Re-enable mbm6ffx6j5ygi2ck.onion btcnode operated by @KanoczTomas
Fixes #3810
2019-12-20 02:10:10 +09:00
Steven Barclay
4b03f06af8
Fix doc comment warnings in TradeWalletService & OfferUtil
Add missing @param, @return and @throws tags and improve formatting.

(Also add some missing @Nullable method parameter annotations.)
2019-12-19 14:35:22 +00:00
sqrrm
ab35dbcad7
Merge pull request #3808 from ripcurlx/fix-remaining-dark-mode-bugs
Fixes remaining dark mode bugs (except chat bubbles)
2019-12-19 15:17:21 +01:00
Christoph Atteneder
35ef9b62f9
Fix wrong styling of link icon in dark mode
It also removes a style workaround that is not needed anymore.
Side note: the style that was set never existed anyways.
2019-12-19 11:35:48 +01:00
Christoph Atteneder
26044d8ce1
Not use style workaround
After some testing on Regtest it seems that this workaround is no longer needed.
This fixes the issue for the remove button mentioned in #3185.
2019-12-19 11:23:44 +01:00
sqrrm
0efbe069e2
Merge pull request #3803 from ripcurlx/fix-dark-mode-issues
Improve dark mode styles
2019-12-19 10:53:32 +01:00
beingindot
aecd536692
creating altcoin offer not throwing error during previously set high
security deposit.

Fixes #3717
2019-12-19 15:12:21 +05:30
Christoph Atteneder
334ebfc794
Merge pull request #3804 from SimoneBovi/days_repeated
Fix double presence of the word "days"
2019-12-19 10:36:29 +01:00
Christoph Atteneder
b5ddb630ef
Remove unused method parameters (#3806)
* Remove unused parameters from assorted methods

Exclude abstract or default methods, as well as cases where the
parameter is currently unused but is probably intended to be used later.

* Actually use the injected Clock param of isDateInTolerance

Use 'clock.millis()' instead of "new Date().getTime()" in SignedWitness
& AccountAgeWitness, as the latter may have been left as an oversight.

Also tidy the date field of the toString() methods.

* Suppress warnings of unused method params which may be needed later

Also fix forwarding of telescoping method parameters in FormBuilder and
FormattingUtils.
2019-12-19 10:23:16 +01:00
Simone Bovi
4b68f45f56
Fix double presence of the word days 2019-12-19 10:19:31 +01:00
Steven Barclay
d0a76b9ff2
Suppress warnings of unused method params which may be needed later
Also fix forwarding of telescoping method parameters in FormBuilder and
FormattingUtils.
2019-12-19 03:43:02 +00:00
Steven Barclay
cc7d0dec26
Actually use the injected Clock param of isDateInTolerance
Use 'clock.millis()' instead of "new Date().getTime()" in SignedWitness
& AccountAgeWitness, as the latter may have been left as an oversight.

Also tidy the date field of the toString() methods.
2019-12-19 03:43:02 +00:00
Steven Barclay
78d61e0958
Remove unused parameters from assorted methods
Exclude abstract or default methods, as well as cases where the
parameter is currently unused but is probably intended to be used later.
2019-12-19 03:42:54 +00:00
Christoph Atteneder
7c190ca9c5
Make progress bar track styleable 2019-12-18 13:00:34 +01:00
Christoph Atteneder
aa538992f0
Make popover text readable in dark mode 2019-12-18 12:50:50 +01:00
Christoph Atteneder
8a279c7e4e
Merge pull request #3802 from wiz/fix-bsq-explorer-always-picking-wiz
Fix random BSQ block explorer selection by setting Nullable
2019-12-18 10:05:10 +01:00
wiz
f85ef5b7eb
Fix random BSQ block explorer selection by setting Nullable 2019-12-18 17:54:00 +09:00
Christoph Atteneder
2782e58c65
Add user preference combobox for BSQ block explorer with random default (#3792)
* Add user preference combobox for BSQ block explorer with random default

* Remove betanet and testnet BSQ block explorers

* Always check if a valid BSQ block explorer is set
2019-12-18 08:55:33 +01:00
wiz
8b23cacd2c
Always check if a valid BSQ block explorer is set 2019-12-18 16:38:31 +09:00
Christoph Atteneder
543a11e1ec
Merge pull request #3777 from beingindot/revolut-phonenumber-validation
Revolut account should accept only phone number
2019-12-18 08:33:03 +01:00
beingindot
da683e8b49
Revolut account should accept only phone number
For issue #3728
	Till now we used to accept email or phone number
	Now we are accepting only phone number in input though
	for display we will provide backward compatibility.

	Added list of countries accepted from official revolut website
	https://www.revolut.com/en-US/help/getting-started/verifying-identity/what-countries-are-supported

	Based on the country selected, we will validate the given
	phone number input.
2019-12-17 21:02:39 +05:30
wiz
e41df654b0
Remove betanet and testnet BSQ block explorers 2019-12-17 19:41:32 +09:00
Christoph Atteneder
6f1dbf1c09
Add shortcut list (#3695)
* Remove short cut for legacy arbitrator registration

* Change shortcut for reRepublishAllGovernanceData

* Use isAltOrCtrlPressed for removeFailedTrade

* Remove showStatisticsPopup

This was useful for legacy arbitrators as they received the trade fee

* Cleanup

- Remove setColumnSpan for titledGroupBg
- Fix row length

* Add list of shortcuts

* Update comment

* Change "click" to "press"
2019-12-17 11:22:34 +01:00
sqrrm
737a4190f1
Merge pull request #3796 from ripcurlx/fix-rendering-issue-of-disputes
Remove listener before setting a new one
2019-12-16 19:04:15 +01:00
Christoph Atteneder
c8848e1ef5
Remove listener before setting a new one
This fixes update issues reported in #3731.
2019-12-16 15:42:16 +01:00
Christoph Atteneder
3e378b99dd
Merge pull request #3790 from chimp1984/add-report-feature-for-disputes
Add report feature for disputes
2019-12-16 15:40:07 +01:00
Christoph Atteneder
20b56c7bde
Merge pull request #3773 from stejbac/add-tx-map-to-daostate
Add transient tx map to DaoState to speed up getTx queries
2019-12-16 15:21:03 +01:00
sqrrm
db6c13a591
Merge pull request #3772 from ripcurlx/add-windows-signing
Add command for signing windows executables with the default code signing certificate
2019-12-16 15:14:08 +01:00
sqrrm
65d3dd3c93
Merge pull request #3783 from ripcurlx/only-connect-to-localhost-when-detected
Not allow bitcoinj to auto connect to localhost when localhost was not detected by client
2019-12-16 15:03:38 +01:00
wiz
78a72a2cc8
Add user preference combobox for BSQ block explorer with random default 2019-12-16 00:19:13 +09:00
chimp1984
7af7fa10a6
Add duration 2019-12-13 22:06:21 -05:00
chimp1984
b47b0aa2b9
Add report feature for disputes
At the dispute views (mediator, refund agent both for trader and
dispute agents) the shortcut cmd+k (or crtl+k or alt+k) will open a
popup displaying all disputes as compact summary. A copy to clipboard
button make it easy to copy the text to a text editor and post the
relevant disputes for the mediators/refund agents report.
2019-12-13 21:48:26 -05:00
Christoph Atteneder
26291eb0ee
Not allow bitcoinj to auto connect to localhost when localhost was not detected by client
This fixes the problem if the local bitcoin core node is not detected by our client,
but bitcoinj is able to connect to it because of the auto connect to localhost behavior.
In that case the minimum required nodes to broadcast a transaction will be 4 (provided nodes settings),
but bitcoinj will only connect to one node. The requirement of 4 nodes will be never fulfilled and
the transaction never broadcasted.
2019-12-12 17:27:15 +01:00
Steven Barclay
b22e4ad113
Encapsulate mutable Block tx list and DaoState tx cache
Avoid mutating the Block tx list or the DaoState tx cache/index via a
Lombok getter. Instead wrap each in an unmodifiable[List|Map] & provide
specific mutator methods for use by DaoStateService to add newly parsed
transactions or load a DAO snapshot.

Also rename txMap to txCache, replace remaining use of getTxStream() in
the JSON file exporter with getUnorderedTxStream() (as this is safe) and
swap the arguments of the txCache initialisation merge function, for
exact consistency with the pre-caching behaviour.

Finally, add a missing assertDaoStateChange() and remove a potentially
harmful assertion from DaoStateService.onNewTxForLastBlock.

This is based on a suggested patch by @chimp1984 in the PR #3773 review.
2019-12-12 03:08:56 +00:00
Steven Barclay
4277cf83ca
Use unordered Tx stream from daoState.txMap wherever possible
Add getUnorderedTxStream() method to DaoStateService to stream directly
from the txMap cache/index wherever it is obviously safe to do so,
instead of iterating through the entire block list via getTxStream().

Also make getTxs() return a view of the txMap values in place of a copy.

This should improve efficiency slightly.
2019-12-11 12:44:34 +00:00
Steven Barclay
0fa21b5f1a
Add transient tx map to DaoState to speed up getTx queries
Build a HashMap of all BSQ transactions found, when loading the DaoState
from disc, and store it in a transient field which is always kept in
sync with the associated list of blocks. (The latter is only modified in
a couple of places in DaoStateService, making this straightforward.)

This is to speed up daoStateService.getTx(id), which is called from many
places and appears to be a significant bottleneck. In particular, the
initial load of the results in VoteResultView.doFillCycleList was very
slow (taking nearly a minute on a Core i3 machine) and likely to suffer
a quadratic slowdown (#cycles * #tx's) over time.
2019-12-11 11:26:08 +00:00
Christoph Atteneder
bb598b78f3
Add command for signing windows executables with the default code signing certificate 2019-12-10 12:27:58 +01:00
Christoph Atteneder
14bec2ff4b
Merge pull request #3757 from wiz/add-seednode-jaronly-archive-script
Add script to create seednode jar archive without jar deps
2019-12-10 10:20:42 +01:00
Christoph Atteneder
3fe84975ad
Merge pull request #3747 from julianknutsen/clean-up-pse-objs
(6/6) Clean up technical debt in P2PDataStorage and ProtectedStorageEntry objects
2019-12-09 20:34:26 +01:00
Julian Knutsen
e8c8225635
[PR COMMENTS] Fix comment typo
s/change/chance/
2019-12-09 09:12:57 -08:00
Florian Reimair
30f96643b2
Merge pull request #3771 from ripcurlx/fix-dark-mode-switch-plus-cleanup
Fixes dark mode switch after restart
2019-12-09 17:43:39 +01:00
Christoph Atteneder
b2c006d4a3
Update css theme property when read from data store 2019-12-09 15:44:52 +01:00
Christoph Atteneder
f398117147
Remove unnecessary indirection for setting custom withdrawal fees 2019-12-09 15:35:15 +01:00
Florian Reimair
a29ba3d4e5
Merge pull request #3769 from ripcurlx/mark-prs-stake-after-30-days-inactivity
Close PRs that are inactive for more than 30 days
2019-12-09 14:06:59 +01:00
Christoph Atteneder
af46a7f697
Merge pull request #3760 from wiz/ef5qnzx6znifo3df-transfer
Transfer seednode ef5qnzx6znifo3df.onion to @wiz and @emzy
2019-12-09 12:21:45 +01:00
Christoph Atteneder
2707d56ac8
Close PRs that are inactive for more than 30 days 2019-12-09 12:08:22 +01:00