Commit Graph

1266 Commits

Author SHA1 Message Date
Manfred Karrer
8ab348c495
Add check for account age to apply restrictions 2019-05-02 13:06:46 -05:00
Christoph Atteneder
1d18029b1c
Update dbs 2019-05-02 18:00:35 +02:00
Manfred Karrer
df7b81138f
Add missing import 2019-04-27 16:03:16 -05:00
Manfred Karrer
b1a8429066
Merge pull request #2752 from ManfredKarrer/add-filter-to-trade-history
Add filter to trade history
2019-04-27 15:53:33 -05:00
Christoph Atteneder
ca0387ad5b
Add prompt text for filter textfield 2019-04-25 12:23:54 +02:00
Christoph Atteneder
d2d6636544
Merge pull request #2753 from ManfredKarrer/fix-trade-peers-account-age
Fix account age display of peer
2019-04-24 11:33:27 +02:00
Christoph Atteneder
3a1f69472c
Merge pull request #2763 from sqrrm/market-view-precision
Use same precision for all x-axis labels
2019-04-24 11:20:11 +02:00
sqrrm
4ed510d372
Refactor variable names 2019-04-22 12:20:51 +02:00
Manfred Karrer
fb4b66d691
Remove check if trade is disputed
It can be that one user opened a dispute but in the meantime the other
peer sent or received the funds. Atm after a dispute has been opened the
user cannot confirm anymore. This restriction forces all cases to be
resolved in arbitration. If we relax that restriction to allow users
to still confirm after they opened a dispute we might reduce work load
for arbitrators as the payout can be done by the users if both have
confirmed. The arbitrator still need to close the case to that the
open support cases get closed, but the payout tx was already created
 by the users.
2019-04-21 18:01:35 -05:00
Manfred Karrer
9b13740feb
Dont disable the confirm buttons
Arbitrators reported that there are some cases where the confirm
payment or receipt buttons are disabled and they cannot confirm it.
Another issue is that sometimes the confirm msg does not arrive and
after button click its disabled so the message cannot be resent but
clicking the button again.
The software should handle such case and there is some automatic resend
but it seems it does not cover all cases. By keeping the button active
the user can click again and there is higher chance that such cases
get resolved by itself.
I am aware that this is not a good solution but to find out what
exactly caused the issue and to build a more resilient resend
functionality requires much more work and this seems to be a easy fix
which might avoid many disputes.
2019-04-21 17:58:42 -05:00
Manfred Karrer
dc773460a9
Merge branch 'master' into fix-trade-peers-account-age 2019-04-21 17:17:46 -05:00
Manfred Karrer
eb1c4fd25c
Merge pull request #2737 from ManfredKarrer/use-utf8-for-getBytes
Add UTF8 for getBytes calls
2019-04-21 17:16:34 -05:00
sqrrm
7f00fe227f
Use same precision for all x-axis labels 2019-04-21 23:53:17 +02:00
Manfred Karrer
145ec99725
Hide age at altcoins 2019-04-20 00:05:16 -05:00
Manfred Karrer
7af2d889ce
Add account age to dispute table 2019-04-19 23:50:29 -05:00
Manfred Karrer
3246bf4720
Add account age to contract json 2019-04-19 22:21:57 -05:00
Manfred Karrer
f23773b81c
Add account age to contract window 2019-04-19 22:14:34 -05:00
Manfred Karrer
c145cab7b8
Add account age to trade details window 2019-04-19 22:00:41 -05:00
Manfred Karrer
1f00e8c3aa
Move method 2019-04-19 21:52:28 -05:00
Manfred Karrer
f88af6b450
Fix account age display of peer
We only showed makers account age before also at trade screens.
This PR fixes that so that the trade peers account age is displayed at
the peer info icon.
2019-04-19 21:31:26 -05:00
Manfred Karrer
25e2621ce5
Fix missing arguments 2019-04-19 20:37:19 -05:00
Manfred Karrer
59f31c7c6e
Merge branch 'master' into fix-dao-full-mode-settings-issue
# Conflicts:
#	common/src/main/proto/pb.proto
#	core/src/main/java/bisq/core/user/Preferences.java
#	core/src/main/java/bisq/core/user/PreferencesPayload.java
#	desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java
2019-04-19 20:32:11 -05:00
Manfred Karrer
7adb3226a4
Merge pull request #2746 from ripcurlx/fix-styling-of-alert-message
Use existing styling for developer alert message
2019-04-19 20:25:17 -05:00
Manfred Karrer
262fa851b6
Merge pull request #2742 from ripcurlx/set-lower-security-deposit-for-altcoins
Use different security deposit for fiat-crypto and crypto-crypto trades
2019-04-19 20:24:26 -05:00
Manfred Karrer
c25c1ca82b
Add filter box to trade history
Can filter by onion address, date string, trade id and
payment details data.
2019-04-19 20:12:54 -05:00
Christoph Atteneder
dadd22cc31
Remove unnecessary static import 2019-04-19 10:53:44 +02:00
Christoph Atteneder
211f65f12b
Use existing styling for developer alert message 2019-04-18 22:19:23 +02:00
Christoph Atteneder
55d09a308b
Use different security deposit for fiat-crypto and crypto-crypto trades 2019-04-18 19:37:46 +02:00
Christoph Atteneder
8481593370
Improve handling of editing of offers with invalid security deposit 2019-04-18 14:45:23 +02:00
Manfred Karrer
1008e9bc51
Add UTF8 for getBytes calls
Fixes https://github.com/bisq-network/bisq/issues/2729
2019-04-17 19:56:21 -05:00
Manfred Karrer
6cd04a0d91
Merge pull request #2621 from ManfredKarrer/ignore-dust-utxo
Ignore dust utxo
2019-04-17 18:30:50 -05:00
Manfred Karrer
6f44dc5c1c
Fix issues with DAO full mode in preferences
There was missing the block notify port as well as the options have
not been applied correctly which led to the situation that when you
run the same application in full mode and later in lite mode that
data got persisted.

Added also to the footer a note if full mode is running.
2019-04-17 18:26:33 -05:00
Manfred Karrer
5f86da9e73
Merge pull request #2734 from ripcurlx/include-bsq-in-markets-print-tool
Remove BSQ filter for crypto currencies
2019-04-17 09:21:44 -05:00
Christoph Atteneder
e37a704016
Remove BSQ filter for crypto currencies 2019-04-17 11:16:55 +02:00
Manfred Karrer
70a950ce94
Use fullAddress for ignored peers and in peer info 2019-04-16 23:18:36 -05:00
Manfred Karrer
fcbc3b659b
Ignore utxo below a user defined threshold to avoid dust attacks
Implements https://github.com/bisq-network/bisq/issues/2604
2019-04-16 20:42:13 -05:00
Manfred Karrer
21c5eec5f6
Remove referralIdInputTextField
The referralId support did not get any interest so we removed it from
the UI. It is still supported via prog argument and can be re-enabled
again once there are use cases (API?).
I left it commented out to make re-enabling easier.
2019-04-16 20:41:59 -05:00
Christoph Atteneder
36f8b0275a
Revert to SNAPSHOT version 2019-04-16 16:26:41 +02:00
Christoph Atteneder
bdf163ca2d
Bump version number 2019-04-16 16:03:12 +02:00
Christoph Atteneder
6cceed2bc4
Merge pull request #2724 from ripcurlx/show-news-badge-for-dao-launch
Show DAO news badge to increase visibility of DAO launch
2019-04-16 15:51:49 +02:00
Manfred Karrer
536ef67be0
Merge pull request #2725 from ripcurlx/remove-rounding-popup-showing-redundancy
Only show rounding popup once during activation
2019-04-16 08:49:43 -05:00
Christoph Atteneder
c972dfe668
Only show rounding popup once during activation and not show it in edit offer screen.
Fixes #2708.
2019-04-16 15:01:14 +02:00
Christoph Atteneder
b119c71a1c
Show DAO news badge to increase visibility of DAO launch 2019-04-16 13:34:50 +02:00
Christoph Atteneder
02f6475470
Fix wrong calculation of percentage based security deposit 2019-04-16 11:27:59 +02:00
Christoph Atteneder
60826a11e1
Revert to SNAPSHOT 2019-04-15 17:42:16 +02:00
Manfred Karrer
6c98d98ce1
Merge branch 'master' into rc_v1.0.0 2019-04-15 09:00:31 -05:00
Manfred Karrer
b8b2e8b2bd
Merge pull request #6 from ripcurlx/fix-scrolling-in-trade-view
Reduce table height and update height calculation to prevent scrolling
2019-04-15 08:31:39 -05:00
Christoph Atteneder
edfe035cb9
Align Altcoin list with Altcoin selection combobox 2019-04-15 15:26:10 +02:00
Christoph Atteneder
8f7dae49c6
Reduce table height and update height calculation to prevent scrolling 2019-04-15 15:15:15 +02:00
Christoph Atteneder
1664a72788
Update Mainnet dbs and remove old test dbs 2019-04-15 14:13:53 +02:00
Manfred Karrer
1f9e2ce6a1
Fix nullpointer 2019-04-14 19:14:25 -05:00
Manfred Karrer
1f05e8ff75
Merge pull request #5 from ripcurlx/improve-sepa-form
Small improvements
2019-04-14 15:22:46 -05:00
Christoph Atteneder
ac4cd820d6
Move country into second column to save space 2019-04-14 21:50:35 +02:00
Manfred Karrer
57ae8af3d7
Add requireUpdateToNewVersion check 2019-04-14 13:52:53 -05:00
Manfred Karrer
5b8ff6ef73
Merge branch 'master' into rc_v1.0.0 2019-04-13 12:49:29 -05:00
Manfred Karrer
bb71fb122b
Use full address instead of hostname 2019-04-13 10:58:17 -05:00
Christoph Atteneder
5d70e3d755
Fix wrong padding of links in trade feedback popup 2019-04-13 17:19:25 +02:00
Christoph Atteneder
60e23f8f24
Reduce min width of close button to prevent truncations 2019-04-13 17:07:43 +02:00
Devin Bileck
69df47d876
Update links based on https://github.com/bisq-network/bisq-website/pull/164 2019-04-12 17:11:03 -07:00
Manfred Karrer
8a3f42c572
Improve filter 2019-04-12 18:52:00 -05:00
Manfred Karrer
4269607065
Merge pull request #4 from ripcurlx/bump-version-number
Bump version number
2019-04-12 17:26:40 -05:00
Manfred Karrer
cc255c2733
Merge branch 'master' into rc_v1.0.0 2019-04-12 17:24:48 -05:00
Devin Bileck
3bc76cacaf
Add specific URL validation for proposal links
Since all proposals should be created in GitHub, and we have URL
redirects in place in case we switch platforms in the future, enforce
proposal links to utilize the specific URL redirect.

Resolves #2473
2019-04-12 12:05:47 -07:00
Manfred Karrer
813365df1e
Reduce initial delay for animation 2019-04-12 11:20:19 -05:00
Christoph Atteneder
2c106c74c6
Bump version number 2019-04-12 12:09:49 +02:00
Christoph Atteneder
2691ebab3f
Add slide out animation and delay initial slide in animation to increase the chance that it is seen (dependent on available processing power on startup) 2019-04-12 11:23:20 +02:00
Manfred Karrer
b5a0cc1ce2
Remove random string for dev testing 2019-04-11 16:25:13 -05:00
Manfred Karrer
57115e4f5a
Use priority queue for handling multiple popups 2019-04-11 16:22:58 -05:00
Manfred Karrer
55b8be2cbc
Add isHiddenProperty and displayOrderPriority
Needed to support a priority queue for adding multiple popups and then
execute the display ordered by priority.
2019-04-11 16:20:53 -05:00
Manfred Karrer
475569eb47
Fix issue with animation at start 2019-04-11 16:19:35 -05:00
Manfred Karrer
b8cd1ffe70
Fix rowSpan 2019-04-11 15:11:27 -05:00
Manfred Karrer
6b009d4af0
Merge branch 'master' into rc_v1.0.0 2019-04-11 14:15:22 -05:00
Manfred Karrer
2a1f8d5dad
Merge pull request #2697 from ripcurlx/remove-non-core-languages
Remove non core languages
2019-04-11 12:22:31 -05:00
Manfred Karrer
9a1338c7fa
Merge pull request #2696 from ripcurlx/add-slide-animation
Add slide animation for DAO launch popup
2019-04-11 12:20:31 -05:00
Manfred Karrer
d7195c4671
Merge pull request #2699 from ripcurlx/improve-overlay-button-handling
Improve space management in button bar of overlays
2019-04-11 12:18:40 -05:00
Christoph Atteneder
a16428e9c1
Add missing check to prevent re-selection of selected select-proposal-window that was just closed 2019-04-11 17:37:34 +02:00
Christoph Atteneder
d8c8e48392
Add missing import 2019-04-11 17:11:40 +02:00
Christoph Atteneder
b01e1c9228
Set close button to same width as action button to not truncate translations in that case 2019-04-11 17:06:18 +02:00
Christoph Atteneder
a863bf6375
Move DontShowAgainCheckbox into same HBox as buttons to prevent overlapping. Fixes #2681. 2019-04-11 17:05:58 +02:00
Christoph Atteneder
dc239ddfe5
Save horizontal space and clean-up MainView 2019-04-11 15:47:12 +02:00
Christoph Atteneder
5bff4dc455
Add slide animation 2019-04-11 14:47:30 +02:00
Manfred Karrer
0ac2cbf499
Add TODO for fixing issue with not disabled buttons 2019-04-10 21:47:09 -05:00
Manfred Karrer
a8b3d96e26
Fix resource key 2019-04-10 21:08:05 -05:00
Manfred Karrer
f551bd9803
Merge pull request #2688 from ripcurlx/add-dao-launch-popup
Add DAO launch popup
2019-04-10 11:11:18 -05:00
Manfred Karrer
e5f4299a77
Merge pull request #2689 from ripcurlx/adapt-update-popup
Adapt update popup
2019-04-10 11:03:27 -05:00
Christoph Atteneder
bf3fe2ca83
Change dao link 2019-04-10 17:59:24 +02:00
Christoph Atteneder
ed26b4d63f
Improve cheaper fees screenshot and popup layout 2019-04-10 17:40:23 +02:00
Manfred Karrer
68436f5f85
Merge branch 'master' into rc_v1.0.0
# Conflicts:
#	common/src/main/proto/pb.proto
#	core/src/main/java/bisq/core/dao/governance/blindvote/storage/BlindVotePayload.java
2019-04-10 09:39:15 -05:00
Christoph Atteneder
bbfe663f52
Darken background less, to feel less dark. 2019-04-10 16:38:25 +02:00
Manfred Karrer
6aca2cd64c
Merge pull request #2690 from ripcurlx/align-hyperlinks
Remove unnecessary negative left padding
2019-04-10 09:22:04 -05:00
Christoph Atteneder
3a3a11ed26
Make blurred background even darker based on #2337. 2019-04-10 16:15:03 +02:00
Christoph Atteneder
33fc7daf84
Remove unnecessary negative left padding 2019-04-10 16:03:12 +02:00
Christoph Atteneder
bc3aed4aeb
Adapt update popup to general information popup and darken blurred background for regular popups 2019-04-10 15:52:45 +02:00
Christoph Atteneder
17d5f2ac4a
Add DAO launch popup 2019-04-10 12:29:51 +02:00
Christoph Atteneder
83770dbfd4
Add votes as shared translation 2019-04-10 12:29:51 +02:00
Christoph Atteneder
ce731564a3
Add proposal as shared translation 2019-04-10 12:29:51 +02:00
Manfred Karrer
a1be8a4ee7
Make base class protected and remove Inject annotation 2019-04-09 12:10:03 -05:00
Manfred Karrer
8e82fa6654
Handle dao state conflicts better
- Check if conflicting node is seed node or not. Show info in list entry
and only show resync button and red color in text if conflict is with
seed node.
- At resync move all p2p network data to a dedicated directory so they
will be reloaded from the seeds.
2019-04-08 16:39:13 -05:00
Christoph Atteneder
ee7864bc34
Revert to SNAPSHOT versions 2019-04-08 12:12:01 +02:00
Christoph Atteneder
f9a0dd1502
Bump version number 2019-04-08 12:10:59 +02:00
Manfred Karrer
38a6d58254
Add filter for min required version for DAO 2019-04-07 18:58:17 -05:00
Manfred Karrer
ed3ab79044
Cleanup TODOs 2019-04-06 21:46:11 -05:00
Manfred Karrer
a6a0c6ec70
Remove DAO testing feedback window 2019-04-06 21:39:42 -05:00
Christoph Atteneder
400fbbd080
Merge pull request #2655 from ripcurlx/improve-tx-display-for-btc-withdrawal-from-bsq-wallet
Improve tx display for BTC withdrawal from BSQ wallet
2019-04-05 17:52:34 +02:00
Christoph Atteneder
e5d28b67c1
Prevent transaction already when there is a zero BTC output 2019-04-05 17:44:00 +02:00
Christoph Atteneder
dda54f8b64
Show zero BSQ transferred for BTC withdrawal form BSQ wallet 2019-04-05 17:41:32 +02:00
Christoph Atteneder
79376f3faf
Prevent user from creating transactions that will burn money (mining fees > amount to transfer) 2019-04-05 16:28:55 +02:00
Christoph Atteneder
3275dfed10
Improve transaction display for BTC withrawals from BSQ wallet 2019-04-05 16:28:08 +02:00
Devin Bileck
71481396ae
Fix incorrect transaction size shown for bonding
When locking up or unlocking a bond, the displayed transaction size was
in bytes, but the prompt was indicating it was Kb. So adjust the value
so it is shown as Kb.
2019-04-05 00:16:54 -07:00
Manfred Karrer
32264070b7
Merge pull request #2643 from devinbileck/update-insufficient-funds-warning-for-proposal
Update insufficient BTC warning for issuance proposals
2019-04-04 18:28:37 -05:00
Manfred Karrer
7953295be6
Remove network selection in settings 2019-04-04 17:06:52 -05:00
Devin Bileck
837e79248f
Update insufficient BTC warning for issuance proposals
When attempting to submit a compensation request or reimbursement
request with insufficient BTC, the warning message only indicated that
BTC is required for mining fees. It did not indicate that BTC is also
required for the BSQ issuance.

So another display string was added and displayed when submitting an
issuance proposal with insufficient BTC funds available.
2019-04-04 12:59:30 -07:00
Manfred Karrer
4e173ac976
Merge pull request #2636 from ripcurlx/check-for-nullable-selected-proposal
Check if selected proposal is null
2019-04-04 12:54:47 -05:00
Christoph Atteneder
f2eabbc0b0
Add missing Bsq state listeners 2019-04-04 19:29:17 +02:00
Christoph Atteneder
77df0f9b53
Hide and show selected proposal window whenever new block has been parsed 2019-04-04 16:34:27 +02:00
Christoph Atteneder
b30f166e92
Add information of Satoshis needed for coloring 2019-04-04 13:19:30 +02:00
Christoph Atteneder
1782a364ca
Check if selected proposal is null and ignore vote in this case 2019-04-04 12:06:14 +02:00
Devin Bileck
fb9774c6ff
Fix max available stake for voting showing negative
When attempting to vote on proposals with insufficient BSQ,
the max available stake for voting was showing a negative value.
2019-04-03 00:26:41 -07:00
Manfred Karrer
8d22d7b926
Improve error message
See https://github.com/bisq-network/bisq/issues/2620
https://github.com/bisq-network/bisq/pull/2614#discussion_r271290565
2019-04-02 19:25:34 -05:00
Christoph Atteneder
7f2e406e8d
Revert to SNAPSHOT versions 2019-04-02 17:25:03 +02:00
Christoph Atteneder
0ffc93a091
Bump version number 2019-04-02 17:13:04 +02:00
Christoph Atteneder
21e63066af
Revert to SNAPSHOT versions 2019-04-02 11:21:11 +02:00
Christoph Atteneder
fb3c8c214e
Bump version number 2019-04-02 11:19:03 +02:00
Christoph Atteneder
38728a1132
Update DBs 2019-04-01 15:43:53 +02:00
Christoph Atteneder
2942425d4c
Make create offer label cases easier to translate 2019-04-01 11:51:47 +02:00
Manfred Karrer
e9e4b49014
Add number of irregular txs to UI 2019-03-31 17:41:59 -05:00
Manfred Karrer
fa3ec340fa
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	core/src/main/resources/i18n/displayStrings_de.properties
#	core/src/main/resources/i18n/displayStrings_el.properties
#	core/src/main/resources/i18n/displayStrings_es.properties
#	core/src/main/resources/i18n/displayStrings_fa.properties
#	core/src/main/resources/i18n/displayStrings_fr.properties
#	core/src/main/resources/i18n/displayStrings_hu.properties
#	core/src/main/resources/i18n/displayStrings_pt.properties
#	core/src/main/resources/i18n/displayStrings_ro.properties
#	core/src/main/resources/i18n/displayStrings_ru.properties
#	core/src/main/resources/i18n/displayStrings_sr.properties
#	core/src/main/resources/i18n/displayStrings_th.properties
#	core/src/main/resources/i18n/displayStrings_vi.properties
#	core/src/main/resources/i18n/displayStrings_zh.properties
2019-03-31 16:09:53 -05:00
Manfred Karrer
c7bd2ee4b8
Add BTC_DAO_TESTNET again to keep supporting current dao testnet
- It is more safe to separate the BTC_DAO_TESTNET and BTC_DAO_REGTEST
by the network ID as that prevents on the P2P network layer that the
network could interconnect. We would have risked that we receive network
data from the other network as users would use the persisted peers for
connections.
2019-03-31 15:55:55 -05:00
Manfred Karrer
e624625bbb
Fix missing close handler and avoid nullPointer exception 2019-03-31 15:46:09 -05:00
Manfred Karrer
d5fc7cb97e
Use burnedBsq field in Tx for burnedFee and invalidatedBsq
In case of an invalid tx we burn all available BSQ input. We only know
that at parsing time. We renamed the burntFee field to burntBsq to make
it more generic and use it for the burnt fee in case if a normal tx and
as invalidatedBsq in case of an invalid tx.
2019-03-30 19:35:12 -05:00
Manfred Karrer
d422a732e7
Handle merits better
We did not update the merit correctly in case there was no proposal
selected.
2019-03-30 16:58:28 -05:00
Manfred Karrer
bec73dce53
Add popup in case the utxo balance does not match the bsq balance 2019-03-29 19:42:56 -05:00
Manfred Karrer
a08b91055e
Add support for displaying burned BSQ from invalid txs 2019-03-29 19:42:32 -05:00
Manfred Karrer
995844feb3
Remove setFitToRowsForTableView, update merit at activate 2019-03-29 16:44:34 -05:00
Christoph Atteneder
3c12b91949
Show fiat rounding info popup also when switching between payment accounts 2019-03-29 11:59:09 +01:00
Manfred Karrer
acf26482dc
Use lockupTxId instead of uid 2019-03-28 20:30:38 -05:00
Manfred Karrer
18a3f1e5fe
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	core/src/main/resources/i18n/displayStrings.properties
2019-03-28 19:53:23 -05:00
Christoph Atteneder
dbc202215c
Improve bonded role display and linkage 2019-03-28 15:37:48 +01:00
Christoph Atteneder
2ee9b882c0
Add transaction id and date to proposal votes table 2019-03-28 12:17:01 +01:00
Christoph Atteneder
1ff3013a0b
Reset selected item to enable re-opening of proposal details 2019-03-28 11:40:34 +01:00
Manfred Karrer
499d91e7d5
Improve formatting 2019-03-27 21:34:49 -05:00
Manfred Karrer
c6947ba2d2
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	core/src/main/resources/i18n/displayStrings.properties
#	desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java
2019-03-27 12:27:29 -05:00
Christoph Atteneder
e7a059950e
Prevent BSQ offers below dust limit 2019-03-27 17:00:29 +01:00
Christoph Atteneder
9143616d85
Increase height of chart to fill window in default size 2019-03-27 15:21:54 +01:00
Christoph Atteneder
ff21c916fa
Improve layout 2019-03-27 15:06:39 +01:00
Christoph Atteneder
4c46b3865b
Put charts into white panes to improve layout 2019-03-27 14:33:22 +01:00
Christoph Atteneder
44764d1fb7
Add supply and transactions sections 2019-03-27 12:19:28 +01:00
Christoph Atteneder
b00f96d06e
Move BSQ economy details into separate view 2019-03-27 09:39:58 +01:00
Christoph Atteneder
1fb9a15668
Move BSQ dashboard in separate economy view 2019-03-27 09:39:58 +01:00
Manfred Karrer
793d00699a
Rename BTC_DAO_TESTNET2 to BTC_DAO_REGTEST 2019-03-26 20:13:08 -05:00
sqrrm
2758db554e
Update desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java
Co-Authored-By: ManfredKarrer <mk@nucleo.io>
2019-03-26 19:03:23 -05:00
Devin Bileck
b86da3925b
Show close button when creating offer without required account
Issue: When attempting to create an offer without a trading account for
the selected currency, a prompt is shown asking the user whether to still
create an offer or to create a new account. But this prompt is missing a
cancel/close button in case you don't want to do either action. And
pressing Esc on the keyboard proceeds to create the account.

Cause: The close button on the prompt was renamed and being used to
create a new account.

Fix: Use the close button as a close button and add a secondary action
button to create a new account. The popup width was increased to
accommodate the long button text without being truncated.
2019-03-26 14:50:03 -07:00
Manfred Karrer
ff868311bb
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java
2019-03-26 00:40:27 -05:00
Manfred Karrer
ce1da644c2
Add IRREGULAR txType for txs which are not rule conform but not burnt
We don't want to burn BSQ in cases like that the tx was published too
late, which is a valid case if the tx does not make it in the next block.
We set such txs as IRREGULAR and allow spending of the BSQ, but there
function in the governance is invalidated.

We also add a check if the sum of all UTXO is the same as the sum of the
genesis + sum of issuance txs - burned fees.
2019-03-26 00:37:55 -05:00
Manfred Karrer
2a46133292
Merge pull request #2566 from ripcurlx/ui-dao-improvements
DAO UI improvements
2019-03-25 18:34:02 -05:00
Christoph Atteneder
1324290d34
Move vote results for proposal into popup 2019-03-25 23:46:40 +01:00
Christoph Atteneder
f6f2a663e8
Improve layout and fix issue with phase breaks 2019-03-25 20:47:28 +01:00
Manfred Karrer
a9aaef7e9b
Complete pull request
We only want to show active bonds in the list for confiscation.
The Inactive bond label is not necessary in the vote result as a
confiscated bond is inactive anyway. Intention was probably to show it
as inactive in the proposal display but they will be filtered out
anyway there.
2019-03-25 10:05:19 +01:00
Ben Kaufman
f1077b82b3
Disallow proposing to confiscate inactive bonds 2019-03-25 10:05:19 +01:00
Christoph Atteneder
942d8366b2
Add informational popup when voting for the first time 2019-03-25 09:51:42 +01:00
Christoph Atteneder
4ba8342f20
Move display of selected proposal into popup instead of showing it inline 2019-03-25 09:51:42 +01:00
Christoph Atteneder
0099c9c5e3
Move my vote out of selected proposal section 2019-03-25 09:51:42 +01:00
Christoph Atteneder
8d4a3de7b7
Make create proposal view more compact 2019-03-25 09:51:41 +01:00
Christoph Atteneder
8d7a35bd5b
Not show group separator for last group 2019-03-25 09:51:41 +01:00
Manfred Karrer
7c97a90f4a
Complete pull request
Use lockup and unlock tx for miner fee and tx size display.
The getMiningFeeAndTxSize in daoFacade was used for blind vote. Got
renamed in the meantime to make it more clear.
2019-03-23 17:06:28 -05:00
Manfred Karrer
c4a3a2ba77
Merge branch 'lock-bond-fees' of https://github.com/ben-kaufman/bisq into ben-kaufman-lock-bond-fees 2019-03-23 16:37:28 -05:00
Manfred Karrer
a9a43159f9
Add warning for money order accounts.
See discussion at: https://github.com/bisq-network/proposals/issues/75
2019-03-23 16:09:11 -05:00
Manfred Karrer
47fb177c07
Merge pull request #2556 from ManfredKarrer/misc-dao-improvements
Improve data structure, validation and performance
2019-03-22 23:46:17 -05:00
Manfred Karrer
43155b8926
Fix % display 2019-03-22 20:31:16 -05:00
Devin Bileck
032892c8fd
Suppress popup at shutdown when open offers are disabled
Issue: When shutting down the application with disabled open offers, the
confirmation popup was still being shown informing the user there are
open offers.

Fix: On shutdown, check all open offers and only show the popup if any
of them are enabled.

Fixes #2115
2019-03-22 12:50:20 -07:00
Manfred Karrer
f36678e90b
Add phaseChangeListener only after batch processing 2019-03-22 12:25:28 -05:00
Manfred Karrer
a9ef339762
Merge branch 'master' into misc-dao-improvements 2019-03-22 12:00:51 -05:00
Manfred Karrer
2ad86abe9f
Apply code inspection, cleanup 2019-03-22 00:44:58 -05:00
Manfred Karrer
7e61afcb8e
Add BONDED_ROLE_FACTOR to param to react on BSQ price changes
To avoid the need to change the required bond in the BondedRoleType
if the BSQ price changes we use the BONDED_ROLE_FACTOR param where the
factor can be changed. In the BondedRoleType we use the requiredBondUnit
which will be multiplied with the BONDED_ROLE_FACTOR value to get the
required bond amount.
2019-03-21 19:46:15 -05:00
Manfred Karrer
46f5b155dd
Update json export for vote results
Try to reflect domain structure and field names.
2019-03-21 18:46:27 -05:00
Manfred Karrer
c9ff5f7eba
Misc cleanups and refactorings 2019-03-21 18:45:53 -05:00
Devin Bileck
c842575eba
Fix BTC status incorrectly hidden on splash screen
Issue: When launching a new Bisq instance (i.e. new data directory) and
remaining on the user agreement screen for >90 seconds while reading it,
once you accept the agreement the BTC status was not being shown
on the splash screen.

Cause: showTorNetworkSettingsTimer gets triggered after 90 seconds
and since Tor is not started until after accepting the user agreement,
it was incorrectly assuming that Tor is not working and as a result
hiding the BTC status.

Fix: Don't hide the BTC status in showTorNetworkSettingsTimer. If there
is an issue with Tor, splashP2PNetworkErrorMsgListener handles
hiding the BTC status.
2019-03-21 10:44:20 -07:00
Manfred Karrer
735f619fee
Stream block batch processing on render frames
To avoid that the UI gets frozen at batch processing of blocks we
delay each parsing to the next render frame. The total parsing time is
just about 5% slower that way but the UI can render updates.
We also changed the hash for the daoState as the hashing of the full
state becomes quite heavy. The size of the blocks is about 1,4 MB for
7000 blocks (dao testnet). As on a new block only the last block in the
chain got added and as we use the previous hash in the hash chain we
do not need to hash the full blocks list but only the last block.
By that we decrease batch processing time from 30 sec to 7 sec. and data
size of the daoState from 1,4 MB to 200 kb.
Also added progress display of missing blocks in the Tx UI.
2019-03-21 00:27:12 -05:00
Manfred Karrer
13ca802dd1
Add extraDataMap to BlindVote and Proposal
In case we need to add additional data in future we are can use that map
without breaking consensus or breaking the hash chain.
2019-03-19 22:20:13 -05:00
Manfred Karrer
3aa50a3be5
Store requiredBond and unlockTime in RoleProposal 2019-03-19 21:22:28 -05:00
Manfred Karrer
ac3374cc47
Remove requiredQuorum and requiredThreshold from EvaluatedProposal
We would break the hash chain if we would change the quorum or
threshold values in the param enum.
2019-03-19 20:39:47 -05:00
Manfred Karrer
ff5d18a493
Use block height of proposal tx if available
To be able to apply the validation also on past cycles we need to use
the block height if the proposal tx and not the current one. Just in
case the tx is not confirmed (when temp proposal gets published) we use
the current height, but that would anyway match the cycle.
In a past cycle params could have been different and validation need to
use the correct param value from that cycle.
2019-03-18 23:39:57 -05:00
Manfred Karrer
d02609af2a
Refactor: Rename ValidationException to ProposalValidationException 2019-03-18 21:56:25 -05:00
Manfred Karrer
3d5e109b82
Rename getMiningFeeAndTxSize to getBlindVoteMiningFeeAndTxSize 2019-03-18 18:22:19 -05:00
Manfred Karrer
01a582f26b
Add BTC_DAO_BETANET
We want to test on mainnet with a test genesis tx. We create a new
network type which is BTC mainnet but has a different data directory to
make sure to not mix up the real wallet with the betatest
2019-03-16 16:16:32 -05:00
Manfred Karrer
b7941c82c3
Merge branch 'master' into add-hash-of-dao-state 2019-03-16 13:04:06 -05:00
Manfred Karrer
b222fd28f2
Change file name for DaoStateStore db file to DaoStateStore2, Cleanup
- Change onDaoStateBlockChainChanged to onChangeAfterBatchProcessing
to make it more clear that it is only called after parsing of
blockchain is completed.
- Change file name for DaoStateStore db file to DaoStateStore2
- Remove TODOs and outdated comments
- Increase delay for broadcasting
2019-03-16 12:47:12 -05:00
Manfred Karrer
00e350e256
Small fixes 2019-03-15 22:58:34 -05:00
Manfred Karrer
933fa46780
Fix table layout issue
The setFitToRowsForTableView call at activate fixes the issue that the
views sometimes do not render when changing views.
2019-03-15 21:45:25 -05:00
Manfred Karrer
4af74950cb
Add blind vote monitoring 2019-03-15 19:38:30 -05:00
Ben Kaufman
1f34b3197e Added mining fee to un/lock bond popup. 2019-03-15 20:05:06 +02:00
Manfred Karrer
2109c66e51
Add num proposals
- Cleanups
- Improve logs
2019-03-15 10:18:31 -05:00
Manfred Karrer
59bed76c0c
Add proposal monitor view 2019-03-14 21:11:38 -05:00
Manfred Karrer
36852701cd
Move monitor view to new tab 2019-03-14 20:31:27 -05:00
Manfred Karrer
2009c30d81
Refactor dao state monitor
- Move dao state monitor classes to other package structure
- Add support for proposal payload monitor (WIP)
- Use generics and sub classes for common functionality
2019-03-14 19:03:11 -05:00
Manfred Karrer
9c0156012a
Call listeners only after batch of hashes is processed 2019-03-13 22:23:05 -05:00
Manfred Karrer
47024d18b6
Show dash instead of N/A for prev hash at genesis height 2019-03-13 11:08:23 -05:00
Manfred Karrer
c280f30fa7
Use domain data or sorting 2019-03-13 10:56:24 -05:00
Manfred Karrer
f56041383f
Update UI, remove checkArgument call 2019-03-11 20:32:39 -05:00
Manfred Karrer
bbec682d98
Add UI for Dao state monitor
Refactor dao state monitor domain.
Add support for requesting all hashed from genesis from a peer which is
in conflict (can help to find at which block the issue started).
2019-03-11 18:32:48 -05:00
Manfred Karrer
cdce61c128
Merge pull request #2521 from ben-kaufman/dao-feedback-popup
Added  feedback popup for DAO test users
2019-03-11 10:44:33 -05:00
Ben Kaufman
ea4466c479 Use services instead of wallet and fix text 2019-03-11 08:13:44 +02:00
Ben Kaufman
a5a068a246 Fix popup wording 2019-03-11 06:45:03 +02:00
Manfred Karrer
d3349864ae
Automatically restart after restore 2019-03-10 23:40:25 -05:00
Ben Kaufman
f7f91da927 Added feedback popup for DAO test users 2019-03-10 15:43:49 +02:00
Manfred Karrer
257550ac81
Merge pull request #2515 from ManfredKarrer/make-vote-result-json-determinisitic
Make vote result json deterministic
2019-03-08 13:06:23 -05:00
Manfred Karrer
ee0fef4d2f
Remove duplicate entry for number of proposals 2019-03-08 12:20:06 -05:00
Manfred Karrer
ca01376ffc
Merge pull request #2517 from ManfredKarrer/fix-missing-balance-at-restore-from-seed-words
Fix missing balance at restore from seed words
2019-03-08 12:08:49 -05:00
Christoph Atteneder
ced71361b4
Merge pull request #2519 from ben-kaufman/txid-proposal-display
Add txId to proposal display
2019-03-08 17:51:23 +01:00
Ben Kaufman
864fc55c25 Use correct method to open bisq explorer 2019-03-08 18:20:28 +02:00
Ben Kaufman
a5af75961c Add txId to proposal display 2019-03-08 12:03:00 +02:00
Manfred Karrer
9152733bb1
Set wallet date 1 day earlier to cover timezone issues
We subtract 1 day to be sure to not have any issues with timezones.
Even if we can be sure that the timezone
is handled correctly it could be that the user created the wallet in
one timezone and make a restore at
a different timezone which could lead in the worst case that he miss
the first day of the wallet transactions.
2019-03-07 21:46:25 -05:00
Manfred Karrer
01f3bdc557
Make vote result json deterministic 2019-03-07 17:53:30 -05:00
Manfred Karrer
6481a53f5c
Merge pull request #2512 from ripcurlx/fix-problem-with-display-of-zero-trading-fees
Show the correct BSQ or BTC trading fee if it is maker or taker
2019-03-07 15:53:28 -05:00
Christoph Atteneder
85274b1e52
Show the correct BSQ or BTC trading fee if it is maker or taker 2019-03-07 18:43:27 +01:00
Christoph Atteneder
0a42b15972
Improve wording for security deposit 2019-03-07 18:15:17 +01:00
Christoph Atteneder
eefa649836
Fix null pointer if security deposit percentage is changed before amount was set 2019-03-07 17:48:52 +01:00
Manfred Karrer
76e753f35a
Merge pull request #2478 from oscarguindzberg/bitcoinj-0.14.7
Use bitcoinj 0.14.7
2019-03-06 18:43:41 -05:00
Manfred Karrer
73eea7927a
Merge pull request #2469 from freimair/refactor_capabilities
Refactor capabilities and other P2P-related stuff
2019-03-06 18:38:23 -05:00
Manfred Karrer
7d59e1a67a
Adjust layout of export Json button 2019-03-06 17:27:07 -05:00
Manfred Karrer
ff023ce32f
Merge pull request #2504 from ben-kaufman/export-voting-history
Added button to export voting history into JSON
2019-03-06 16:52:59 -05:00
Ben Kaufman
2a4e004133 Fixes and improvements 2019-03-06 23:38:16 +02:00
Christoph Atteneder
d6fb97880a
Revert to SNAPSHOT 2019-03-06 15:37:23 +01:00
Ben Kaufman
873a57eea9 Added button to export voting history into json 2019-03-06 15:31:43 +02:00
Christoph Atteneder
75fd991b3b
Bump version number 2019-03-06 10:04:50 +01:00
Florian Reimair
22b4ef921b
Use Lombok Getter 2019-03-06 09:50:30 +01:00
Manfred Karrer
92b91ba391
Merge pull request #2500 from ManfredKarrer/remove-dev-logging
Remove Log.traceCall methods
2019-03-05 11:52:21 -05:00
Manfred Karrer
b711f571a4
Cleanup some log.debug calls 2019-03-05 11:24:07 -05:00
Manfred Karrer
7fd2030003
Remove Log.traceCall methods
Florian reported that they consume quite a bit of performance.As
they have not been used for development testing since long we should
better remove those.
2019-03-05 10:32:39 -05:00
Christoph Atteneder
5c69d75192
Update data stores 2019-03-05 16:24:55 +01:00
Christoph Atteneder
549348aee0
Add news badge for instant trade 2019-03-05 15:02:37 +01:00
Christoph Atteneder
95d8f514ad
Add news badge for new percentage security deposit 2019-03-05 13:08:26 +01:00
Christoph Atteneder
279b38bf2e
Add information icon to buyer security deposit showing the deposit amount in BTC 2019-03-05 13:07:24 +01:00
Manfred Karrer
b8f8fbff20
Use percentage based value for security deposits
Use percentage based value of trade amount for buyer and seller
security deposit.
To ensure that the BTC value is not getting too low, we apply a min.
value for both.
2019-03-04 23:35:35 -05:00
Manfred Karrer
c8493d127c
Add more logs 2019-03-04 20:02:02 -05:00
Manfred Karrer
64f085ce48
Merge branch 'allow-spending-unconfirmed-bsq-utxs'
# Conflicts:
#	core/src/main/java/bisq/core/trade/protocol/tasks/taker/CreateTakerFeeTx.java
2019-03-04 11:20:55 -05:00
Manfred Karrer
c91792ca06
Fix incorrect BSQ validator in send BSQ view 2019-03-04 11:17:20 -05:00
Manfred Karrer
afd9d9c03a
Fix table layout 2019-03-03 23:38:05 -05:00
Manfred Karrer
44f57984f6
Merge branch 'master' into add-live-trading 2019-03-03 19:24:10 -05:00
Manfred Karrer
67eed82a8a
Merge pull request #2492 from ben-kaufman/system-tray-dark-mode-mac
Fix system tray visibility for dark mode Mac
2019-03-03 18:56:55 -05:00
Manfred Karrer
e414e91c46
Refactor: Rename onParseTxsCompleteAfterBatchProcessing to
onParseBlockCompleteAfterBatchProcessing
2019-03-03 17:56:43 -05:00
Manfred Karrer
a0dd0101a7
Fix balance update in case at vote result. Rename methods
- To ensure the balance is updated in case we have a comp. request we
need to ensure that the vote result is completed before our balance
update is called.

- Remove updateBsqWalletTransactions call at constructor as nothing is
ready anyway here

- Refactor: Rename addBsqStateListener to addDaoStateListener
and removeBsqStateListener to removeDaoStateListener
2019-03-03 17:55:08 -05:00
Ben Kaufman
26a710d0c2 Fix system tray visibility for dark mode Mac 2019-03-03 22:37:05 +02:00
Manfred Karrer
1802508c7c
Fix BSQ balance display for unconfirmed change outputs
- Add verifiedBsqBalance and unconfirmedChangeBalance
- Remove totalBsqBalance
- Make text for different balances more explicit
2019-03-03 15:05:19 -05:00
Manfred Karrer
9475cf2897
Merge branch 'master' into allow-spending-unconfirmed-bsq-utxs 2019-03-03 12:12:22 -05:00
Manfred Karrer
992480d3a7
Refactoring: Renaming 2019-03-03 02:28:37 -05:00
Manfred Karrer
54e39c3067
Remove dev button, add "trade instant" checkbox 2019-03-03 02:09:52 -05:00
Manfred Karrer
11adc99f3c
Use super classes for cryptCurrencyAccount and payload 2019-03-03 01:31:26 -05:00
Manfred Karrer
6c11fc18c7
Add altcoin payment method for live trading
- Add LiveAsset account, payment method, AccountPayload
- Extract super classes for normal CryptoCurrenyAccount and payload and
LiveAssetAccount and payload
- Add isAsset method
- Add button for creating a live asset account

As it is a bit tricky to use the AccountForm for both methods and add a
checkbox there so defined which payment method to use I added a button
to add an AccountForm with the LiveAssets passed. This is just
temporary to be able to test a bit more and see if there are any
critical issues. We should unify that form but that might require a bit
of refactoring of the CryptoCurrencyForm.
2019-03-03 01:12:54 -05:00
Manfred Karrer
d600ff4dfb
Merge pull request #2487 from devinbileck/update-bond-lockup-prompt
Update bond lockup prompt
2019-03-02 11:55:09 -05:00